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