You are here

class SelectorNodeTest 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

Hierarchy

  • class \Symfony\Component\CssSelector\Tests\Node\AbstractNodeTest extends \Symfony\Component\CssSelector\Tests\Node\PHPUnit_Framework_TestCase

Expanded class hierarchy of SelectorNodeTest

File

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

Namespace

Symfony\Component\CssSelector\Tests\Node
View 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