public function FunctionNodeTest::getSpecificityValueTestData in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/css-selector/Tests/Node/FunctionNodeTest.php \Symfony\Component\CssSelector\Tests\Node\FunctionNodeTest::getSpecificityValueTestData()
Overrides AbstractNodeTest::getSpecificityValueTestData
File
- vendor/
symfony/ css-selector/ Tests/ Node/ FunctionNodeTest.php, line 34
Class
Namespace
Symfony\Component\CssSelector\Tests\NodeCode
public function getSpecificityValueTestData() {
return array(
array(
new FunctionNode(new ElementNode(), 'function'),
10,
),
array(
new FunctionNode(new ElementNode(), 'function', array(
new Token(Token::TYPE_IDENTIFIER, 'value', 0),
)),
10,
),
array(
new FunctionNode(new ElementNode(), 'function', array(
new Token(Token::TYPE_STRING, 'value1', 0),
new Token(Token::TYPE_NUMBER, 'value2', 0),
)),
10,
),
);
}