ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
testSetMacroThrowsExceptionOnReservedMethods () | |
Twig_Error_Syntax More... | |
testUnknownTag () | |
Twig_Error_Syntax Unknown "foo" tag. More... | |
testUnknownTagWithoutSuggestions () | |
Twig_Error_Syntax Unknown "foobar" tag at line 1. More... | |
testFilterBodyNodes ($input, $expected) | |
getFilterBodyNodesData More... | |
getFilterBodyNodesData () | |
testFilterBodyNodesThrowsException ($input) | |
getFilterBodyNodesDataThrowsException Twig_Error_Syntax More... | |
getFilterBodyNodesDataThrowsException () | |
testFilterBodyNodesWithBOM () | |
Twig_Error_Syntax A template that extends another one cannot start with a byte order mark (BOM); it must be removed at line 1 More... | |
testParseIsReentrant () | |
testGetVarName () | |
Protected Member Functions | |
getParser () | |
Definition at line 11 of file ParserTest.php.
Twig_Tests_ParserTest::getFilterBodyNodesData | ( | ) |
Definition at line 64 of file ParserTest.php.
References array.
Twig_Tests_ParserTest::getFilterBodyNodesDataThrowsException | ( | ) |
|
protected |
Definition at line 156 of file ParserTest.php.
References $parser.
Referenced by testFilterBodyNodes(), testFilterBodyNodesThrowsException(), testFilterBodyNodesWithBOM(), and testSetMacroThrowsExceptionOnReservedMethods().
Twig_Tests_ParserTest::testFilterBodyNodes | ( | $input, | |
$expected | |||
) |
getFilterBodyNodesData
Definition at line 57 of file ParserTest.php.
References $parser, and getParser().
Twig_Tests_ParserTest::testFilterBodyNodesThrowsException | ( | $input | ) |
getFilterBodyNodesDataThrowsException Twig_Error_Syntax
Definition at line 86 of file ParserTest.php.
References $parser, and getParser().
Twig_Tests_ParserTest::testFilterBodyNodesWithBOM | ( | ) |
Twig_Error_Syntax A template that extends another one cannot start with a byte order mark (BOM); it must be removed at line 1
Definition at line 105 of file ParserTest.php.
References $parser, and getParser().
Twig_Tests_ParserTest::testGetVarName | ( | ) |
Definition at line 134 of file ParserTest.php.
Twig_Tests_ParserTest::testParseIsReentrant | ( | ) |
Definition at line 111 of file ParserTest.php.
References $parser, array, Twig_Token\BLOCK_END_TYPE, Twig_Token\BLOCK_START_TYPE, Twig_Token\EOF_TYPE, Twig_Token\NAME_TYPE, Twig_Token\VAR_END_TYPE, and Twig_Token\VAR_START_TYPE.
Twig_Tests_ParserTest::testSetMacroThrowsExceptionOnReservedMethods | ( | ) |
Definition at line 16 of file ParserTest.php.
References $parser, and getParser().
Twig_Tests_ParserTest::testUnknownTag | ( | ) |
Twig_Error_Syntax Unknown "foo" tag.
Did you mean "for" at line 1?
Definition at line 26 of file ParserTest.php.
References $parser, GuzzleHttp\Psr7\$stream, array, Twig_Token\BLOCK_END_TYPE, Twig_Token\BLOCK_START_TYPE, Twig_Token\EOF_TYPE, and Twig_Token\NAME_TYPE.
Twig_Tests_ParserTest::testUnknownTagWithoutSuggestions | ( | ) |
Twig_Error_Syntax Unknown "foobar" tag at line 1.
Definition at line 42 of file ParserTest.php.
References $parser, GuzzleHttp\Psr7\$stream, array, Twig_Token\BLOCK_END_TYPE, Twig_Token\BLOCK_START_TYPE, Twig_Token\EOF_TYPE, and Twig_Token\NAME_TYPE.