class SelectorNodeTest in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/css-selector/Tests/Node/SelectorNodeTest.php \Symfony\Component\CssSelector\Tests\Node\SelectorNodeTest
Hierarchy
- class \Symfony\Component\CssSelector\Tests\Node\AbstractNodeTest extends \Symfony\Component\CssSelector\Tests\Node\PHPUnit_Framework_TestCase
- class \Symfony\Component\CssSelector\Tests\Node\SelectorNodeTest
Expanded class hierarchy of SelectorNodeTest
File
- vendor/
symfony/ css-selector/ Tests/ Node/ SelectorNodeTest.php, line 17
Namespace
Symfony\Component\CssSelector\Tests\NodeView source
class SelectorNodeTest extends AbstractNodeTest {
public function getToStringConversionTestData() {
return array(
array(
new SelectorNode(new ElementNode()),
'Selector[Element[*]]',
),
array(
new SelectorNode(new ElementNode(), 'pseudo'),
'Selector[Element[*]::pseudo]',
),
);
}
public function getSpecificityValueTestData() {
return array(
array(
new SelectorNode(new ElementNode()),
0,
),
array(
new SelectorNode(new ElementNode(), 'pseudo'),
1,
),
);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AbstractNodeTest:: |
public | function | @dataProvider getSpecificityValueTestData | |
AbstractNodeTest:: |
public | function | @dataProvider getToStringConversionTestData | |
SelectorNodeTest:: |
public | function |
Overrides AbstractNodeTest:: |
|
SelectorNodeTest:: |
public | function |
Overrides AbstractNodeTest:: |