abstract class AbstractNodeTest in Zircon Profile 8
Same name and namespace in other branches
- 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\NodeView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AbstractNodeTest:: |
abstract public | function | 9 | |
AbstractNodeTest:: |
abstract public | function | 9 | |
AbstractNodeTest:: |
public | function | @dataProvider getSpecificityValueTestData | |
AbstractNodeTest:: |
public | function | @dataProvider getToStringConversionTestData |