You are here

public function ElementNodeTest::getSpecificityValueTestData in Zircon Profile 8

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

Overrides AbstractNodeTest::getSpecificityValueTestData

File

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

Class

ElementNodeTest

Namespace

Symfony\Component\CssSelector\Tests\Node

Code

public function getSpecificityValueTestData() {
  return array(
    array(
      new ElementNode(),
      0,
    ),
    array(
      new ElementNode(null, 'element'),
      1,
    ),
    array(
      new ElementNode('namespace', 'element'),
      1,
    ),
  );
}