You are here

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

Hierarchy

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

Expanded class hierarchy of ElementNodeTest

File

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

Namespace

Symfony\Component\CssSelector\Tests\Node
View source
class ElementNodeTest extends AbstractNodeTest {
  public function getToStringConversionTestData() {
    return array(
      array(
        new ElementNode(),
        'Element[*]',
      ),
      array(
        new ElementNode(null, 'element'),
        'Element[element]',
      ),
      array(
        new ElementNode('namespace', 'element'),
        'Element[namespace|element]',
      ),
    );
  }
  public function getSpecificityValueTestData() {
    return array(
      array(
        new ElementNode(),
        0,
      ),
      array(
        new ElementNode(null, 'element'),
        1,
      ),
      array(
        new ElementNode('namespace', 'element'),
        1,
      ),
    );
  }

}

Members