You are here

public function SelectorNodeTest::getSpecificityValueTestData in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/css-selector/Tests/Node/SelectorNodeTest.php \Symfony\Component\CssSelector\Tests\Node\SelectorNodeTest::getSpecificityValueTestData()

Overrides AbstractNodeTest::getSpecificityValueTestData

File

vendor/symfony/css-selector/Tests/Node/SelectorNodeTest.php, line 27

Class

SelectorNodeTest

Namespace

Symfony\Component\CssSelector\Tests\Node

Code

public function getSpecificityValueTestData() {
  return array(
    array(
      new SelectorNode(new ElementNode()),
      0,
    ),
    array(
      new SelectorNode(new ElementNode(), 'pseudo'),
      1,
    ),
  );
}