You are here

class ClassNodeTest in Zircon Profile 8

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

Hierarchy

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

Expanded class hierarchy of ClassNodeTest

File

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

Namespace

Symfony\Component\CssSelector\Tests\Node
View source
class ClassNodeTest extends AbstractNodeTest {
  public function getToStringConversionTestData() {
    return array(
      array(
        new ClassNode(new ElementNode(), 'class'),
        'Class[Element[*].class]',
      ),
    );
  }
  public function getSpecificityValueTestData() {
    return array(
      array(
        new ClassNode(new ElementNode(), 'class'),
        10,
      ),
      array(
        new ClassNode(new ElementNode(null, 'element'), 'class'),
        11,
      ),
    );
  }

}

Members