Twig_Tests_ExpressionParserTest
extends TestCase
in package
Table of Contents
- getFailingTestsForArray() : mixed
- getFailingTestsForAssignment() : mixed
- getMacroDefinitionDoesNotSupportNonConstantDefaultValues() : mixed
- getMacroDefinitionSupportsConstantDefaultValues() : mixed
- getTestsForArray() : mixed
- getTestsForString() : mixed
- testArrayExpression() : mixed
- testArraySyntaxError() : mixed
- testAttributeCallDoesNotSupportNamedArguments() : mixed
- testCanOnlyAssignToNames() : mixed
- testMacroCallDoesNotSupportNamedArguments() : mixed
- testMacroDefinitionDoesNotSupportNonConstantDefaultValues() : mixed
- testMacroDefinitionDoesNotSupportNonNameVariableName() : mixed
- testMacroDefinitionSupportsConstantDefaultValues() : mixed
- testStringExpression() : mixed
- testStringExpressionDoesNotConcatenateTwoConsecutiveStrings() : mixed
- testUnknownFilter() : mixed
- testUnknownFilterWithoutSuggestions() : mixed
- testUnknownFunction() : mixed
- testUnknownFunctionWithoutSuggestions() : mixed
- testUnknownTest() : mixed
- testUnknownTestWithoutSuggestions() : mixed
Methods
getFailingTestsForArray()
public
getFailingTestsForArray() : mixed
Return values
mixed —getFailingTestsForAssignment()
public
getFailingTestsForAssignment() : mixed
Return values
mixed —getMacroDefinitionDoesNotSupportNonConstantDefaultValues()
public
getMacroDefinitionDoesNotSupportNonConstantDefaultValues() : mixed
Return values
mixed —getMacroDefinitionSupportsConstantDefaultValues()
public
getMacroDefinitionSupportsConstantDefaultValues() : mixed
Return values
mixed —getTestsForArray()
public
getTestsForArray() : mixed
Return values
mixed —getTestsForString()
public
getTestsForString() : mixed
Return values
mixed —testArrayExpression()
public
testArrayExpression(mixed $template, mixed $expected) : mixed
Parameters
- $template : mixed
- $expected : mixed
Tags
Return values
mixed —testArraySyntaxError()
public
testArraySyntaxError(mixed $template) : mixed
Parameters
- $template : mixed
Tags
Return values
mixed —testAttributeCallDoesNotSupportNamedArguments()
public
testAttributeCallDoesNotSupportNamedArguments() : mixed
Tags
Return values
mixed —testCanOnlyAssignToNames()
public
testCanOnlyAssignToNames(mixed $template) : mixed
Parameters
- $template : mixed
Tags
Return values
mixed —testMacroCallDoesNotSupportNamedArguments()
public
testMacroCallDoesNotSupportNamedArguments() : mixed
Tags
Return values
mixed —testMacroDefinitionDoesNotSupportNonConstantDefaultValues()
public
testMacroDefinitionDoesNotSupportNonConstantDefaultValues(mixed $template) : mixed
Parameters
- $template : mixed
Tags
Return values
mixed —testMacroDefinitionDoesNotSupportNonNameVariableName()
public
testMacroDefinitionDoesNotSupportNonNameVariableName() : mixed
Tags
Return values
mixed —testMacroDefinitionSupportsConstantDefaultValues()
public
testMacroDefinitionSupportsConstantDefaultValues(mixed $template) : mixed
Parameters
- $template : mixed
Tags
Return values
mixed —testStringExpression()
public
testStringExpression(mixed $template, mixed $expected) : mixed
Parameters
- $template : mixed
- $expected : mixed
Tags
Return values
mixed —testStringExpressionDoesNotConcatenateTwoConsecutiveStrings()
public
testStringExpressionDoesNotConcatenateTwoConsecutiveStrings() : mixed
Tags
Return values
mixed —testUnknownFilter()
public
testUnknownFilter() : mixed
Tags
Return values
mixed —testUnknownFilterWithoutSuggestions()
public
testUnknownFilterWithoutSuggestions() : mixed
Tags
Return values
mixed —testUnknownFunction()
public
testUnknownFunction() : mixed
Tags
Return values
mixed —testUnknownFunctionWithoutSuggestions()
public
testUnknownFunctionWithoutSuggestions() : mixed
Tags
Return values
mixed —testUnknownTest()
public
testUnknownTest() : mixed
Tags
Return values
mixed —testUnknownTestWithoutSuggestions()
public
testUnknownTestWithoutSuggestions() : mixed