class ElementNodeTest in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/css-selector/Tests/Node/ElementNodeTest.php \Symfony\Component\CssSelector\Tests\Node\ElementNodeTest
Hierarchy
- class \Symfony\Component\CssSelector\Tests\Node\AbstractNodeTest extends \Symfony\Component\CssSelector\Tests\Node\PHPUnit_Framework_TestCase
- class \Symfony\Component\CssSelector\Tests\Node\ElementNodeTest
Expanded class hierarchy of ElementNodeTest
File
- vendor/
symfony/ css-selector/ Tests/ Node/ ElementNodeTest.php, line 16
Namespace
Symfony\Component\CssSelector\Tests\NodeView source
class ElementNodeTest extends AbstractNodeTest {
public function getToStringConversionTestData() {
return array(
array(
new ElementNode(),
'Element[*]',
),
array(
new ElementNode(null, 'element'),
'Element[element]',
),
array(
new ElementNode('namespace', 'element'),
'Element[namespace|element]',
),
);
}
public function getSpecificityValueTestData() {
return array(
array(
new ElementNode(),
0,
),
array(
new ElementNode(null, 'element'),
1,
),
array(
new ElementNode('namespace', 'element'),
1,
),
);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AbstractNodeTest:: |
public | function | @dataProvider getSpecificityValueTestData | |
AbstractNodeTest:: |
public | function | @dataProvider getToStringConversionTestData | |
ElementNodeTest:: |
public | function |
Overrides AbstractNodeTest:: |
|
ElementNodeTest:: |
public | function |
Overrides AbstractNodeTest:: |