public function IdentifierHandlerTest::getHandleValueTestData in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/css-selector/Tests/Parser/Handler/IdentifierHandlerTest.php \Symfony\Component\CssSelector\Tests\Parser\Handler\IdentifierHandlerTest::getHandleValueTestData()
Overrides AbstractHandlerTest::getHandleValueTestData
File
- vendor/
symfony/ css-selector/ Tests/ Parser/ Handler/ IdentifierHandlerTest.php, line 21
Class
Namespace
Symfony\Component\CssSelector\Tests\Parser\HandlerCode
public function getHandleValueTestData() {
return array(
array(
'foo',
new Token(Token::TYPE_IDENTIFIER, 'foo', 0),
'',
),
array(
'foo|bar',
new Token(Token::TYPE_IDENTIFIER, 'foo', 0),
'|bar',
),
array(
'foo.class',
new Token(Token::TYPE_IDENTIFIER, 'foo', 0),
'.class',
),
array(
'foo[attr]',
new Token(Token::TYPE_IDENTIFIER, 'foo', 0),
'[attr]',
),
array(
'foo bar',
new Token(Token::TYPE_IDENTIFIER, 'foo', 0),
' bar',
),
);
}