You are here

class HashNodeTest in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/css-selector/Tests/Node/HashNodeTest.php \Symfony\Component\CssSelector\Tests\Node\HashNodeTest

Hierarchy

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

Expanded class hierarchy of HashNodeTest

File

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

Namespace

Symfony\Component\CssSelector\Tests\Node
View source
class HashNodeTest extends AbstractNodeTest {
  public function getToStringConversionTestData() {
    return array(
      array(
        new HashNode(new ElementNode(), 'id'),
        'Hash[Element[*]#id]',
      ),
    );
  }
  public function getSpecificityValueTestData() {
    return array(
      array(
        new HashNode(new ElementNode(), 'id'),
        100,
      ),
      array(
        new HashNode(new ElementNode(null, 'id'), 'class'),
        101,
      ),
    );
  }

}

Members