ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Definition at line 12 of file ExpressionParserTest.php.
Twig_Tests_ExpressionParserTest::getFailingTestsForArray | ( | ) |
Definition at line 68 of file ExpressionParserTest.php.
Twig_Tests_ExpressionParserTest::getFailingTestsForAssignment | ( | ) |
Definition at line 26 of file ExpressionParserTest.php.
Twig_Tests_ExpressionParserTest::getMacroDefinitionDoesNotSupportNonConstantDefaultValues | ( | ) |
Definition at line 270 of file ExpressionParserTest.php.
Twig_Tests_ExpressionParserTest::getMacroDefinitionSupportsConstantDefaultValues | ( | ) |
Definition at line 293 of file ExpressionParserTest.php.
Twig_Tests_ExpressionParserTest::getTestsForArray | ( | ) |
Definition at line 76 of file ExpressionParserTest.php.
Twig_Tests_ExpressionParserTest::getTestsForString | ( | ) |
Definition at line 176 of file ExpressionParserTest.php.
Twig_Tests_ExpressionParserTest::testArrayExpression | ( | $template, | |
$expected | |||
) |
getTestsForArray
Definition at line 47 of file ExpressionParserTest.php.
References $env, $parser, GuzzleHttp\Psr7\$stream, and $template.
Twig_Tests_ExpressionParserTest::testArraySyntaxError | ( | $template | ) |
Twig_Error_Syntax getFailingTestsForArray
Definition at line 60 of file ExpressionParserTest.php.
References $env, $parser, and $template.
Twig_Tests_ExpressionParserTest::testAttributeCallDoesNotSupportNamedArguments | ( | ) |
Definition at line 226 of file ExpressionParserTest.php.
Twig_Tests_ExpressionParserTest::testCanOnlyAssignToNames | ( | $template | ) |
Twig_Error_Syntax getFailingTestsForAssignment
Definition at line 18 of file ExpressionParserTest.php.
References $env, $parser, and $template.
Twig_Tests_ExpressionParserTest::testMacroCallDoesNotSupportNamedArguments | ( | ) |
Definition at line 237 of file ExpressionParserTest.php.
Twig_Tests_ExpressionParserTest::testMacroDefinitionDoesNotSupportNonConstantDefaultValues | ( | $template | ) |
Twig_Error_Syntax A default value for an argument must be a constant (a boolean, a string, a number, or an array) in "index" at line 1 getMacroDefinitionDoesNotSupportNonConstantDefaultValues
Definition at line 262 of file ExpressionParserTest.php.
References $env, $parser, and $template.
Twig_Tests_ExpressionParserTest::testMacroDefinitionDoesNotSupportNonNameVariableName | ( | ) |
Twig_Error_Syntax An argument must be a name.
Unexpected token "string" of value "a" ("name" expected) in "index" at line 1.
Definition at line 249 of file ExpressionParserTest.php.
Twig_Tests_ExpressionParserTest::testMacroDefinitionSupportsConstantDefaultValues | ( | $template | ) |
getMacroDefinitionSupportsConstantDefaultValues
Definition at line 281 of file ExpressionParserTest.php.
References $env, $parser, and $template.
Twig_Tests_ExpressionParserTest::testStringExpression | ( | $template, | |
$expected | |||
) |
getTestsForString
Definition at line 167 of file ExpressionParserTest.php.
References $env, $parser, GuzzleHttp\Psr7\$stream, and $template.
Twig_Tests_ExpressionParserTest::testStringExpressionDoesNotConcatenateTwoConsecutiveStrings | ( | ) |
Definition at line 155 of file ExpressionParserTest.php.
References $env, $parser, and GuzzleHttp\Psr7\$stream.
Twig_Tests_ExpressionParserTest::testUnknownFilter | ( | ) |
Twig_Error_Syntax Unknown "lowe" filter.
Did you mean "lower" in "index" at line 1?
Definition at line 334 of file ExpressionParserTest.php.
Twig_Tests_ExpressionParserTest::testUnknownFilterWithoutSuggestions | ( | ) |
Twig_Error_Syntax Unknown "foobar" filter in "index" at line 1.
Definition at line 346 of file ExpressionParserTest.php.
Twig_Tests_ExpressionParserTest::testUnknownFunction | ( | ) |
Twig_Error_Syntax Unknown "cycl" function.
Did you mean "cycle" in "index" at line 1?
Definition at line 310 of file ExpressionParserTest.php.
Twig_Tests_ExpressionParserTest::testUnknownFunctionWithoutSuggestions | ( | ) |
Twig_Error_Syntax Unknown "foobar" function in "index" at line 1.
Definition at line 322 of file ExpressionParserTest.php.
Twig_Tests_ExpressionParserTest::testUnknownTest | ( | ) |
Twig_Error_Syntax Unknown "nul" test.
Did you mean "null" in "index" at line 1
Definition at line 358 of file ExpressionParserTest.php.
References $env, $parser, and GuzzleHttp\Psr7\$stream.
Twig_Tests_ExpressionParserTest::testUnknownTestWithoutSuggestions | ( | ) |
Twig_Error_Syntax Unknown "foobar" test in "index" at line 1.
Definition at line 370 of file ExpressionParserTest.php.