public function EscaperTest::getXpathLiterals in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/behat/mink/tests/Selector/Xpath/EscaperTest.php \Behat\Mink\Tests\Selector\Xpath\EscaperTest::getXpathLiterals()
File
- vendor/
behat/ mink/ tests/ Selector/ Xpath/ EscaperTest.php, line 19
Class
Namespace
Behat\Mink\Tests\Selector\XpathCode
public function getXpathLiterals() {
return array(
array(
'some simple string',
"'some simple string'",
),
array(
'some "d-brackets" string',
"'some \"d-brackets\" string'",
),
array(
'some \'s-brackets\' string',
"\"some 's-brackets' string\"",
),
array(
'some \'s-brackets\' and "d-brackets" string',
'concat(\'some \',"\'",\'s-brackets\',"\'",\' and "d-brackets" string\')',
),
);
}