You are here

abstract class AbstractNodeTest in Zircon Profile 8

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

Hierarchy

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

Expanded class hierarchy of AbstractNodeTest

File

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

Namespace

Symfony\Component\CssSelector\Tests\Node
View source
abstract class AbstractNodeTest extends \PHPUnit_Framework_TestCase {

  /** @dataProvider getToStringConversionTestData */
  public function testToStringConversion(NodeInterface $node, $representation) {
    $this
      ->assertEquals($representation, (string) $node);
  }

  /** @dataProvider getSpecificityValueTestData */
  public function testSpecificityValue(NodeInterface $node, $value) {
    $this
      ->assertEquals($value, $node
      ->getSpecificity()
      ->getValue());
  }
  public abstract function getToStringConversionTestData();
  public abstract function getSpecificityValueTestData();

}

Members

Namesort descending Modifiers Type Description Overrides
AbstractNodeTest::getSpecificityValueTestData abstract public function 9
AbstractNodeTest::getToStringConversionTestData abstract public function 9
AbstractNodeTest::testSpecificityValue public function @dataProvider getSpecificityValueTestData
AbstractNodeTest::testToStringConversion public function @dataProvider getToStringConversionTestData