You are here

public function HashParserTest::getParseTestData in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/css-selector/Tests/Parser/Shortcut/HashParserTest.php \Symfony\Component\CssSelector\Tests\Parser\Shortcut\HashParserTest::getParseTestData()

File

vendor/symfony/css-selector/Tests/Parser/Shortcut/HashParserTest.php, line 34

Class

HashParserTest
@author Jean-François Simon <jeanfrancois.simon@sensiolabs.com>

Namespace

Symfony\Component\CssSelector\Tests\Parser\Shortcut

Code

public function getParseTestData() {
  return array(
    array(
      '#testid',
      'Hash[Element[*]#testid]',
    ),
    array(
      'testel#testid',
      'Hash[Element[testel]#testid]',
    ),
    array(
      'testns|#testid',
      'Hash[Element[testns|*]#testid]',
    ),
    array(
      'testns|*#testid',
      'Hash[Element[testns|*]#testid]',
    ),
    array(
      'testns|testel#testid',
      'Hash[Element[testns|testel]#testid]',
    ),
  );
}