![]() |
TYPO3
7.6
|
Testcase for TemplateParser.
This is to at least half a system test, as it compares rendered results to expectations, and does not strictly check the parsing...
Definition at line 22 of file TemplateParserTest.php.
abortIfRequiredArgumentsAreMissingDoesNotThrowExceptionIfRequiredArgumentExists | ( | ) |
Definition at line 868 of file TemplateParserTest.php.
abortIfRequiredArgumentsAreMissingThrowsException | ( | ) |
Definition at line 853 of file TemplateParserTest.php.
abortIfUnregisteredArgumentsExistDoesNotThrowExceptionIfEverythingIsOk | ( | ) |
Definition at line 832 of file TemplateParserTest.php.
abortIfUnregisteredArgumentsExistThrowsExceptionOnUnregisteredArguments | ( | ) |
Definition at line 819 of file TemplateParserTest.php.
argumentsStrings | ( | ) |
Definition at line 981 of file TemplateParserTest.php.
arrayHandlerAddsArrayNodeWithProperContentToStack | ( | ) |
Definition at line 1055 of file TemplateParserTest.php.
arrayTexts | ( | ) |
Definition at line 1075 of file TemplateParserTest.php.
buildArgumentObjectTreeBuildsObjectTreeForComlexString | ( | ) |
Definition at line 1021 of file TemplateParserTest.php.
buildArgumentObjectTreeReturnsTextNodeForSimplyString | ( | ) |
Definition at line 1007 of file TemplateParserTest.php.
buildObjectTreeCreatesRootNodeAndSetsUpParsingState | ( | ) |
Definition at line 644 of file TemplateParserTest.php.
References TemplateParser\CONTEXT_OUTSIDE_VIEWHELPER_ARGUMENTS.
buildObjectTreeDelegatesHandlingOfTemplateElements | ( | ) |
Definition at line 685 of file TemplateParserTest.php.
References TemplateParser\CONTEXT_OUTSIDE_VIEWHELPER_ARGUMENTS.
buildObjectTreeThrowsExceptionIfOpenTagsRemain | ( | ) |
Definition at line 666 of file TemplateParserTest.php.
References TemplateParser\CONTEXT_OUTSIDE_VIEWHELPER_ARGUMENTS.
closingViewHelperTagHandlerThrowsExceptionBecauseOfClosingTagWhichWasNeverOpened | ( | ) |
Definition at line 889 of file TemplateParserTest.php.
closingViewHelperTagHandlerThrowsExceptionBecauseOfWrongTagNesting | ( | ) |
Definition at line 904 of file TemplateParserTest.php.
extractNamespaceDefinitionsCallsRemoveXmlnsViewHelperNamespaceDeclarationsWithCorrectFoundIdentifiersDataProvider | ( | ) |
Definition at line 191 of file TemplateParserTest.php.
extractNamespaceDefinitionsExtractsNamespacesCorrectly | ( | ) |
Definition at line 37 of file TemplateParserTest.php.
extractNamespaceDefinitionsExtractsXmlNamespacesCorrectly | ( | ) |
Definition at line 51 of file TemplateParserTest.php.
extractNamespaceDefinitionsResolveNamespacesWithDefaultPattern | ( | ) |
Definition at line 74 of file TemplateParserTest.php.
extractNamespaceDefinitionsSilentlySkipsXmlNamespaceDeclarationForTheDefaultFluidNamespace | ( | ) |
Definition at line 109 of file TemplateParserTest.php.
extractNamespaceDefinitionsSilentlySkipsXmlNamespaceDeclarationsThatCantBeResolved | ( | ) |
Definition at line 88 of file TemplateParserTest.php.
extractNamespaceDefinitionsThrowsExceptionIfFluidNamespaceIsRedeclaredAsXmlNamespace | ( | ) |
Definition at line 149 of file TemplateParserTest.php.
extractNamespaceDefinitionsThrowsExceptionIfNamespaceIsRedeclared | ( | ) |
Definition at line 123 of file TemplateParserTest.php.
extractNamespaceDefinitionsThrowsExceptionIfXmlNamespaceIsRedeclaredAsFluidNamespace | ( | ) |
Definition at line 133 of file TemplateParserTest.php.
initializeViewHelperAndAddItToStackChecksViewHelperArguments | ( | ) |
Definition at line 763 of file TemplateParserTest.php.
initializeViewHelperAndAddItToStackCreatesRequestedViewHelperAndViewHelperNode | ( | ) |
Definition at line 738 of file TemplateParserTest.php.
initializeViewHelperAndAddItToStackHandlesPostParseFacets | ( | ) |
Definition at line 792 of file TemplateParserTest.php.
objectAccessorHandlerCallsInitializeViewHelperAndAddItToStackIfViewHelperSyntaxIsPresent | ( | ) |
Definition at line 918 of file TemplateParserTest.php.
objectAccessorHandlerCreatesObjectAccessorNodeWithExpectedValueAndAddsItToStack | ( | ) |
Definition at line 935 of file TemplateParserTest.php.
openingViewHelperTagHandlerDelegatesViewHelperInitialization | ( | ) |
Definition at line 710 of file TemplateParserTest.php.
openingViewHelperTagHandlerPopsNodeFromStackForSelfClosingTags | ( | ) |
Definition at line 725 of file TemplateParserTest.php.
parseArgumentsWorksAsExpected | ( | $argumentsString, | |
array | $expected | ||
) |
string | $argumentsString | |
array | $expected |
Definition at line 996 of file TemplateParserTest.php.
parseThrowsExceptionWhenStringArgumentMissing | ( | ) |
Definition at line 28 of file TemplateParserTest.php.
quotedStrings | ( | ) |
Definition at line 596 of file TemplateParserTest.php.
recursiveArrayHandlerReturnsExpectedArray | ( | $arrayText, | |
$expectedArray | |||
) |
Definition at line 1093 of file TemplateParserTest.php.
removeXmlnsViewHelperNamespaceDeclarationsDataProvider | ( | ) |
DataProvider for removeXmlnsViewHelperNamespaceDeclarationsWorks test
Definition at line 311 of file TemplateParserTest.php.
References TemplateParser\$SCAN_PATTERN_REMOVE_VIEWHELPERS_XMLNSDECLARATIONS.
removeXmlnsViewHelperNamespaceDeclarationsWorks | ( | $expectedOut, | |
array | $foundIdentifiers, | ||
$templateString | |||
) |
string | $expectedOut | |
string | $templateString | |
array | $foundIdentifiers |
Definition at line 297 of file TemplateParserTest.php.
splitTemplateAtDynamicTagsReturnsCorrectlySplitTemplate | ( | $templateName | ) |
templatesToSplit | ( | ) |
Definition at line 620 of file TemplateParserTest.php.
textAndShorthandSyntaxHandlerDelegatesAppropriately | ( | ) |
Definition at line 1036 of file TemplateParserTest.php.
References TemplateParser\CONTEXT_INSIDE_VIEWHELPER_ARGUMENTS.
textNodesAreRunThroughTextInterceptors | ( | ) |
Definition at line 1108 of file TemplateParserTest.php.
unquoteStringReturnsUnquotedStrings | ( | $quoted, | |
$unquoted | |||
) |
valuesFromObjectAccessorsAreRunThroughValueInterceptorsByDefault | ( | ) |
Definition at line 956 of file TemplateParserTest.php.
viewHelperNameWithMultipleLevelsCanBeResolvedByResolveViewHelperName | ( | ) |
Definition at line 575 of file TemplateParserTest.php.
viewHelperNameWithOneLevelCanBeResolvedByResolveViewHelperName | ( | ) |
Definition at line 586 of file TemplateParserTest.php.