You are here

class NegationNodeTest in Zircon Profile 8

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

Hierarchy

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

Expanded class hierarchy of NegationNodeTest

File

vendor/symfony/css-selector/Tests/Node/NegationNodeTest.php, line 18

Namespace

Symfony\Component\CssSelector\Tests\Node
View source
class NegationNodeTest extends AbstractNodeTest {
  public function getToStringConversionTestData() {
    return array(
      array(
        new NegationNode(new ElementNode(), new ClassNode(new ElementNode(), 'class')),
        'Negation[Element[*]:not(Class[Element[*].class])]',
      ),
    );
  }
  public function getSpecificityValueTestData() {
    return array(
      array(
        new NegationNode(new ElementNode(), new ClassNode(new ElementNode(), 'class')),
        10,
      ),
    );
  }

}

Members