public function CombinedSelectorNodeTest::getSpecificityValueTestData in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/css-selector/Tests/Node/CombinedSelectorNodeTest.php \Symfony\Component\CssSelector\Tests\Node\CombinedSelectorNodeTest::getSpecificityValueTestData()
Overrides AbstractNodeTest::getSpecificityValueTestData
File
- vendor/
symfony/ css-selector/ Tests/ Node/ CombinedSelectorNodeTest.php, line 27
Class
Namespace
Symfony\Component\CssSelector\Tests\NodeCode
public function getSpecificityValueTestData() {
return array(
array(
new CombinedSelectorNode(new ElementNode(), '>', new ElementNode()),
0,
),
array(
new CombinedSelectorNode(new ElementNode(null, 'element'), '>', new ElementNode()),
1,
),
array(
new CombinedSelectorNode(new ElementNode(null, 'element'), '>', new ElementNode(null, 'element')),
2,
),
);
}