TYPO3
7.6
|
Protected Member Functions | |
setUp () | |
tearDown () | |
createMockedLoggerAndLogManager () | |
handleCharset ($charset, &$subject, &$expected) | |
createContentObjectThrowingExceptionFixture () | |
getLibParseTarget () | |
getLibParseFunc () | |
getLibParseFunc_RTE () | |
Protected Attributes | |
$singletonInstances = array() | |
$subject = null | |
$typoScriptFrontendControllerMock = null | |
$templateServiceMock = null | |
$contentObjectMap | |
Private Member Functions | |
rawUrlEncodeSquareBracketsInUrl ($string) | |
Testcase for TYPO3
Definition at line 28 of file ContentObjectRendererTest.php.
_parseFuncReturnsCorrectHtmlDataProvider | ( | ) |
Definition at line 3912 of file ContentObjectRendererTest.php.
References ContentObjectRendererTest\getLibParseFunc_RTE().
aTagParamsHasLeadingSpaceIfNotEmpty | ( | ) |
Definition at line 2954 of file ContentObjectRendererTest.php.
aTagParamsHasNoLeadingSpaceIfEmpty | ( | ) |
aTagParamsHaveSpaceBetweenLocalAndGlobalParams | ( | ) |
calcAgeCalculatesAgeOfTimestamp | ( | $timestamp, | |
$labels, | |||
$expectation | |||
) |
int | $timestamp | |
string | $labels | |
int | $expectation | calcAgeCalculatesAgeOfTimestampDataProvider |
Definition at line 1984 of file ContentObjectRendererTest.php.
calcAgeCalculatesAgeOfTimestampDataProvider | ( | ) |
Data provider for calcAgeCalculatesAgeOfTimestamp
Definition at line 1926 of file ContentObjectRendererTest.php.
|
protected |
Definition at line 3633 of file ContentObjectRendererTest.php.
Referenced by ContentObjectRendererTest\exceptionHandlerIsEnabledByDefaultInProductionContext(), ContentObjectRendererTest\globalExceptionHandlerConfigurationCanBeOverriddenByLocalConfiguration(), ContentObjectRendererTest\localConfigurationOverridesGlobalConfiguration(), ContentObjectRendererTest\renderedErrorMessageCanBeCustomized(), ContentObjectRendererTest\renderingContentObjectDoesNotThrowExceptionIfExceptionHandlerIsConfiguredGlobally(), ContentObjectRendererTest\renderingContentObjectDoesNotThrowExceptionIfExceptionHandlerIsConfiguredLocally(), ContentObjectRendererTest\renderingContentObjectThrowsException(), and ContentObjectRendererTest\specificExceptionsCanBeIgnoredByExceptionHandler().
|
protected |
Avoid logging to the file system (file writer is currently the only configured writer)
Definition at line 124 of file ContentObjectRendererTest.php.
References GeneralUtility\setSingletonInstance().
Referenced by ContentObjectRendererTest\setUp().
cropHtmlDataProvider | ( | ) |
This is the data provider for the tests of crop and cropHTML below. It provides all combinations of charset, text type, and configuration options to be tested.
Definition at line 475 of file ContentObjectRendererTest.php.
cropHtmlWithDataProvider | ( | $settings, | |
$subject, | |||
$expected, | |||
$charset | |||
) |
Checks if stdWrap.cropHTML works with plain text cropping from left
string | $settings | |
string | $subject | the string to crop |
string | $expected | the expected cropped result |
string | $charset | the charset that will be set as renderCharset |
Definition at line 763 of file ContentObjectRendererTest.php.
References ContentObjectRendererTest\$subject, and ContentObjectRendererTest\handleCharset().
cropHtmlWorksWithComplexContent | ( | ) |
Checks if stdWrap.cropHTML works with a complex content with many tags. Currently cropHTML counts multiple invisible characters not as one (as the browser will output the content).
Definition at line 775 of file ContentObjectRendererTest.php.
References $GLOBALS.
cropHtmlWorksWithLinebreaks | ( | ) |
Checks if stdWrap.cropHTML handles linebreaks correctly (by ignoring them)
Definition at line 866 of file ContentObjectRendererTest.php.
References ContentObjectRendererTest\$subject.
cropIsMultibyteSafe | ( | ) |
Definition at line 460 of file ContentObjectRendererTest.php.
exceptionHandlerIsEnabledByDefaultInProductionContext | ( | ) |
Definition at line 3522 of file ContentObjectRendererTest.php.
References ContentObjectRendererTest\createContentObjectThrowingExceptionFixture(), and GeneralUtility\getApplicationContext().
filelinkCreatesCorrectUrlForFileWithUrlEncodedSpecialChars | ( | ) |
Definition at line 4352 of file ContentObjectRendererTest.php.
forceAbsoluteUrlReturnsCorrectAbsoluteUrl | ( | $expected, | |
$url, | |||
array | $configuration | ||
) |
string | $expected | The expected URL |
string | $url | The URL to parse and manipulate |
array | $configuration | The configuration array |
Definition at line 3408 of file ContentObjectRendererTest.php.
forceAbsoluteUrlReturnsCorrectAbsoluteUrlDataProvider | ( | ) |
Definition at line 3425 of file ContentObjectRendererTest.php.
forceAbsoluteUrlReturnsCorrectAbsoluteUrlWithSubfolder | ( | ) |
getContentObjectCallsMakeInstanceForNewContentObjectInstance | ( | $name, | |
$fullClassName | |||
) |
string | $name | TypoScript name of content object |
string | $fullClassName | Expected class name |
Definition at line 212 of file ContentObjectRendererTest.php.
getContentObjectValidContentObjectsDataProvider | ( | ) |
Definition at line 197 of file ContentObjectRendererTest.php.
getDataWithTypeCurrent | ( | ) |
Checks if getData() works with type "current"
Definition at line 2686 of file ContentObjectRendererTest.php.
getDataWithTypeDate | ( | ) |
Checks if getData() works with type "date"
Definition at line 2660 of file ContentObjectRendererTest.php.
References $GLOBALS.
getDataWithTypeDb | ( | ) |
Checks if getData() works with type "db"
Definition at line 2700 of file ContentObjectRendererTest.php.
References $GLOBALS.
getDataWithTypeDebugData | ( | ) |
Checks if getData() works with type "debug:data"
Definition at line 2804 of file ContentObjectRendererTest.php.
getDataWithTypeDebugFullRootline | ( | ) |
Checks if getData() works with type "debug:fullRootLine"
Definition at line 2779 of file ContentObjectRendererTest.php.
References $GLOBALS.
getDataWithTypeDebugPage | ( | ) |
Checks if getData() works with type "data:page"
Definition at line 2850 of file ContentObjectRendererTest.php.
References $GLOBALS.
getDataWithTypeDebugRegister | ( | ) |
Checks if getData() works with type "debug:register"
Definition at line 2827 of file ContentObjectRendererTest.php.
References $GLOBALS.
getDataWithTypeDebugRootline | ( | ) |
Checks if getData() works with type "debug:rootLine"
Definition at line 2754 of file ContentObjectRendererTest.php.
References $GLOBALS.
getDataWithTypeField | ( | ) |
Checks if getData() works with type "field"
Definition at line 2466 of file ContentObjectRendererTest.php.
getDataWithTypeFieldAndFieldIsMultiDimensional | ( | ) |
Checks if getData() works with type "field" of the field content is multi-dimensional (e.g. an array)
Definition at line 2481 of file ContentObjectRendererTest.php.
getDataWithTypeFileReturnsUidOfFileObject | ( | ) |
Basic check if getData gets the uid of a file object
Definition at line 2495 of file ContentObjectRendererTest.php.
getDataWithTypeFullrootline | ( | ) |
Checks if getData() works with type "fullrootline"
Definition at line 2639 of file ContentObjectRendererTest.php.
References $GLOBALS.
getDataWithTypeGetenv | ( | ) |
Checks if getData() works with type "getenv"
Definition at line 2441 of file ContentObjectRendererTest.php.
getDataWithTypeGetindpenv | ( | ) |
Checks if getData() works with type "getindpenv"
Definition at line 2454 of file ContentObjectRendererTest.php.
getDataWithTypeGlobal | ( | ) |
Checks if getData() works with type "global"
Definition at line 2554 of file ContentObjectRendererTest.php.
References $GLOBALS.
getDataWithTypeGp | ( | $key, | |
$expectedValue | |||
) |
Checks if getData() works with type "gp"
Definition at line 2413 of file ContentObjectRendererTest.php.
getDataWithTypeGpDataProvider | ( | ) |
Definition at line 2398 of file ContentObjectRendererTest.php.
getDataWithTypeLevel | ( | ) |
Checks if getData() works with type "level"
Definition at line 2537 of file ContentObjectRendererTest.php.
References $GLOBALS.
getDataWithTypeLevelfield | ( | ) |
Checks if getData() works with type "levelfield"
Definition at line 2621 of file ContentObjectRendererTest.php.
References $GLOBALS.
getDataWithTypeLevelmedia | ( | ) |
Checks if getData() works with type "levelmedia"
Definition at line 2583 of file ContentObjectRendererTest.php.
References $GLOBALS.
getDataWithTypeLeveltitle | ( | ) |
Checks if getData() works with type "leveltitle"
Definition at line 2564 of file ContentObjectRendererTest.php.
References $GLOBALS.
getDataWithTypeLeveluid | ( | ) |
Checks if getData() works with type "leveluid"
Definition at line 2602 of file ContentObjectRendererTest.php.
References $GLOBALS.
getDataWithTypeLll | ( | ) |
Checks if getData() works with type "lll"
Definition at line 2713 of file ContentObjectRendererTest.php.
References $GLOBALS.
getDataWithTypePage | ( | ) |
Checks if getData() works with type "page"
Definition at line 2674 of file ContentObjectRendererTest.php.
References $GLOBALS.
getDataWithTypeParameters | ( | ) |
Checks if getData() works with type "parameters"
Definition at line 2509 of file ContentObjectRendererTest.php.
getDataWithTypeParentRecordNumber | ( | ) |
Checks if getData() works with type "parentRecordNumber"
Definition at line 2742 of file ContentObjectRendererTest.php.
getDataWithTypePath | ( | ) |
Checks if getData() works with type "path"
Definition at line 2729 of file ContentObjectRendererTest.php.
getDataWithTypeRegister | ( | ) |
Checks if getData() works with type "register"
Definition at line 2523 of file ContentObjectRendererTest.php.
References $GLOBALS.
getDataWithTypeTsfe | ( | ) |
Checks if getData() works with type "tsfe"
Definition at line 2431 of file ContentObjectRendererTest.php.
References $GLOBALS.
getImageSourceCollectionHookCalled | ( | ) |
Make sure the hook in get sourceCollection is called
Definition at line 3334 of file ContentObjectRendererTest.php.
References $GLOBALS.
getImageSourceCollectionRendersDefinedLayoutKeyDataDataProvider | ( | ) |
Data provider for the getImageSourceCollectionRendersDefinedLayoutKeyData test
Definition at line 3203 of file ContentObjectRendererTest.php.
getImageSourceCollectionRendersDefinedLayoutKeyDataDefaultProvider | ( | ) |
Data provider for the getImageSourceCollectionRendersDefinedLayoutKeyDefault test
Definition at line 3129 of file ContentObjectRendererTest.php.
getImageSourceCollectionReturnsEmptyStringIfNoSourcesAreDefined | ( | $layoutKey, | |
$configuration, | |||
$file | |||
) |
Make sure the source collection is empty if no valid configuration or source collection is defined
string | $layoutKey | |
array | $configuration | |
string | $file |
Definition at line 3066 of file ContentObjectRendererTest.php.
getImageSourceCollectionReturnsEmptyStringIfNoSourcesAreDefinedDataProvider | ( | ) |
Definition at line 3048 of file ContentObjectRendererTest.php.
getImageTagTemplateFallsBackToDefaultTemplateIfNoTemplateIsFound | ( | $key, | |
$configuration | |||
) |
Make sure that the rendering falls back to the classic <img style if nothing else is found
string | $key | |
array | $configuration |
Definition at line 3002 of file ContentObjectRendererTest.php.
getImageTagTemplateFallsBackToDefaultTemplateIfNoTemplateIsFoundDataProvider | ( | ) |
Definition at line 2984 of file ContentObjectRendererTest.php.
getImageTagTemplateReturnTemplateElementIdentifiedByKey | ( | $key, | |
$configuration, | |||
$expectation | |||
) |
Assure if a layoutKey and layout is given the selected layout is returned
string | $key | |
array | $configuration | |
string | $expectation |
Definition at line 3039 of file ContentObjectRendererTest.php.
getImageTagTemplateReturnTemplateElementIdentifiedByKeyDataProvider | ( | ) |
Definition at line 3012 of file ContentObjectRendererTest.php.
getImgResourceCallsGetImgResourcePostProcessHook | ( | ) |
Definition at line 154 of file ContentObjectRendererTest.php.
|
protected |
Definition at line 3686 of file ContentObjectRendererTest.php.
References ContentObjectRendererTest\getLibParseTarget().
Referenced by ContentObjectRendererTest\typolinkReturnsCorrectLinksFiles(), ContentObjectRendererTest\typolinkReturnsCorrectLinksForEmailsAndUrls(), and ContentObjectRendererTest\typolinkReturnsCorrectLinksForPages().
|
protected |
Definition at line 3734 of file ContentObjectRendererTest.php.
Referenced by ContentObjectRendererTest\_parseFuncReturnsCorrectHtmlDataProvider().
|
protected |
Definition at line 3669 of file ContentObjectRendererTest.php.
Referenced by ContentObjectRendererTest\getLibParseFunc().
getQuery | ( | $table, | |
$conf, | |||
$expected | |||
) |
Check if sanitizeSelectPart works as expected
getQueryDataProvider
Definition at line 1617 of file ContentObjectRendererTest.php.
References $GLOBALS.
getQueryArgumentsExcludesGetParameters | ( | ) |
Definition at line 244 of file ContentObjectRendererTest.php.
References ContentObjectRendererTest\rawUrlEncodeSquareBracketsInUrl().
getQueryArgumentsExcludesParameters | ( | ) |
Definition at line 225 of file ContentObjectRendererTest.php.
References ContentObjectRendererTest\rawUrlEncodeSquareBracketsInUrl().
getQueryArgumentsOverrulesMultiDimensionalForcedParameters | ( | ) |
Definition at line 334 of file ContentObjectRendererTest.php.
References ContentObjectRendererTest\rawUrlEncodeSquareBracketsInUrl().
getQueryArgumentsOverrulesMultiDimensionalParameters | ( | ) |
Definition at line 292 of file ContentObjectRendererTest.php.
References ContentObjectRendererTest\rawUrlEncodeSquareBracketsInUrl().
getQueryArgumentsOverrulesSingleParameter | ( | ) |
Definition at line 272 of file ContentObjectRendererTest.php.
getQueryArgumentsWithMethodGetPostMergesParameters | ( | ) |
Definition at line 413 of file ContentObjectRendererTest.php.
References ContentObjectRendererTest\rawUrlEncodeSquareBracketsInUrl().
getQueryArgumentsWithMethodPostGetMergesParameters | ( | ) |
Definition at line 380 of file ContentObjectRendererTest.php.
References ContentObjectRendererTest\rawUrlEncodeSquareBracketsInUrl().
getQueryCallsGetTreeListWithCurrentPageIfThisIsSet | ( | ) |
getQueryCallsGetTreeListWithNegativeValuesIfRecursiveIsSet | ( | ) |
getQueryDataProvider | ( | ) |
Data provider for the getQuery test
Definition at line 1515 of file ContentObjectRendererTest.php.
getTreeListReturnsChildPageUids | ( | ) |
getTreeListReturnsChildPageUidsAndOriginalPidForNegativeValue | ( | ) |
getWhereReturnCorrectQueryDataProvider | ( | ) |
Definition at line 4252 of file ContentObjectRendererTest.php.
globalExceptionHandlerConfigurationCanBeOverriddenByLocalConfiguration | ( | ) |
Definition at line 3562 of file ContentObjectRendererTest.php.
References ContentObjectRendererTest\createContentObjectThrowingExceptionFixture().
|
protected |
Converts the subject and the expected result into the target charset.
string | $charset | the target charset |
string | $subject | the subject, will be modified |
string | $expected | the expected result, will be modified |
Definition at line 141 of file ContentObjectRendererTest.php.
References $GLOBALS, and ContentObjectRendererTest\$subject.
Referenced by ContentObjectRendererTest\cropHtmlWithDataProvider().
hashDataProvider | ( | ) |
Data provider for the hash test
Definition at line 1263 of file ContentObjectRendererTest.php.
isGetImgResourceHookCalledCallback | ( | ) |
Handles the arguments that have been sent to the getImgResource hook.
Definition at line 182 of file ContentObjectRendererTest.php.
isGetOneSourceCollectionCalledCallback | ( | ) |
Handles the arguments that have been sent to the getImgResource hook.
Definition at line 3393 of file ContentObjectRendererTest.php.
localConfigurationOverridesGlobalConfiguration | ( | ) |
Definition at line 3593 of file ContentObjectRendererTest.php.
References ContentObjectRendererTest\createContentObjectThrowingExceptionFixture().
numberFormat | ( | $float, | |
$formatConf, | |||
$expected | |||
) |
Check if stdWrap.numberFormat and all of its properties work properly
numberFormatDataProvider
Definition at line 1430 of file ContentObjectRendererTest.php.
numberFormatDataProvider | ( | ) |
Data provider for the numberFormat test
Definition at line 1372 of file ContentObjectRendererTest.php.
|
private |
Encodes square brackets in URL.
string | $string |
Definition at line 449 of file ContentObjectRendererTest.php.
Referenced by ContentObjectRendererTest\getQueryArgumentsExcludesGetParameters(), ContentObjectRendererTest\getQueryArgumentsExcludesParameters(), ContentObjectRendererTest\getQueryArgumentsOverrulesMultiDimensionalForcedParameters(), ContentObjectRendererTest\getQueryArgumentsOverrulesMultiDimensionalParameters(), ContentObjectRendererTest\getQueryArgumentsWithMethodGetPostMergesParameters(), and ContentObjectRendererTest\getQueryArgumentsWithMethodPostGetMergesParameters().
recursiveStdWrapIsOnlyCalledOnce | ( | ) |
Definition at line 1339 of file ContentObjectRendererTest.php.
recursiveStdWrapProperlyRendersBasicString | ( | ) |
Definition at line 1322 of file ContentObjectRendererTest.php.
renderedErrorMessageCanBeCustomized | ( | ) |
Definition at line 3576 of file ContentObjectRendererTest.php.
References ContentObjectRendererTest\createContentObjectThrowingExceptionFixture().
renderingContentObjectDoesNotThrowExceptionIfExceptionHandlerIsConfiguredGlobally | ( | ) |
Definition at line 3549 of file ContentObjectRendererTest.php.
References ContentObjectRendererTest\createContentObjectThrowingExceptionFixture().
renderingContentObjectDoesNotThrowExceptionIfExceptionHandlerIsConfiguredLocally | ( | ) |
Definition at line 3536 of file ContentObjectRendererTest.php.
References ContentObjectRendererTest\createContentObjectThrowingExceptionFixture().
renderingContentObjectThrowsException | ( | ) |
Definition at line 3513 of file ContentObjectRendererTest.php.
References ContentObjectRendererTest\createContentObjectThrowingExceptionFixture().
replacement | ( | $input, | |
$conf, | |||
$expected | |||
) |
Check if stdWrap.replacement and all of its properties work properly
replacementDataProvider
Definition at line 1503 of file ContentObjectRendererTest.php.
replacementDataProvider | ( | ) |
Data provider for the replacement test
Definition at line 1442 of file ContentObjectRendererTest.php.
|
protected |
Set up
Definition at line 82 of file ContentObjectRendererTest.php.
References $GLOBALS, ContentObjectRendererTest\$templateServiceMock, ContentObjectRendererTest\$typoScriptFrontendControllerMock, and ContentObjectRendererTest\createMockedLoggerAndLogManager().
specificExceptionsCanBeIgnoredByExceptionHandler | ( | ) |
Definition at line 3616 of file ContentObjectRendererTest.php.
References ContentObjectRendererTest\createContentObjectThrowingExceptionFixture().
stdWrap_addPageCacheTagsAddsPageTags | ( | array | $expectedTags, |
array | $configuration | ||
) |
array | $expectedTags | |
array | $configuration |
Definition at line 2301 of file ContentObjectRendererTest.php.
stdWrap_addPageCacheTagsAddsPageTagsDataProvider | ( | ) |
Definition at line 2310 of file ContentObjectRendererTest.php.
stdWrap_ageCallsCalcAgeWithSubtractedTimestampAndSubPartOfArray | ( | ) |
Definition at line 1908 of file ContentObjectRendererTest.php.
References $GLOBALS, and ContentObjectRendererTest\$subject.
stdWrap_case | ( | $content, | |
array | $configuration, | ||
$expected | |||
) |
string | NULL | $content | |
array | $configuration | |
string | $expected | stdWrap_caseDataProvider |
Definition at line 2057 of file ContentObjectRendererTest.php.
stdWrap_caseDataProvider | ( | ) |
Data provider for stdWrap_case test
Definition at line 1995 of file ContentObjectRendererTest.php.
stdWrap_date | ( | $content, | |
$conf, | |||
$expected | |||
) |
string | int | NULL | $content | |
array | $conf | |
string | $expected |
Definition at line 1765 of file ContentObjectRendererTest.php.
References $GLOBALS.
stdWrap_dateDataProvider | ( | ) |
Data provider for the stdWrap_date test
Definition at line 1721 of file ContentObjectRendererTest.php.
stdWrap_encodeForJavaScriptValue | ( | $input, | |
$conf, | |||
$expected | |||
) |
Check if encodeForJavaScriptValue works properly
stdWrap_encodeForJavaScriptValueDataProvider
Definition at line 2384 of file ContentObjectRendererTest.php.
stdWrap_encodeForJavaScriptValueDataProvider | ( | ) |
Data provider for stdWrap_encodeForJavaScriptValue test
Definition at line 2337 of file ContentObjectRendererTest.php.
stdWrap_expandList | ( | $content, | |
$expected | |||
) |
Test for the stdWrap function "expandList"
string | $content | |
string | $expected | stdWrap_expandListDataProvider |
Definition at line 1050 of file ContentObjectRendererTest.php.
stdWrap_expandListDataProvider | ( | ) |
Definition at line 1023 of file ContentObjectRendererTest.php.
stdWrap_hash | ( | $text, | |
array | $conf, | ||
$expected | |||
) |
Test for the stdWrap function "hash"
string | $text | |
array | $conf | |
string | $expected |
Definition at line 1313 of file ContentObjectRendererTest.php.
stdWrap_ifEmptyDeterminesEmptyValues | ( | $content, | |
array | $configuration, | ||
$expected | |||
) |
string | NULL | $content | |
array | $configuration | |
string | $expected | stdWrap_ifEmptyDeterminesEmptyValuesDataProvider |
Definition at line 2214 of file ContentObjectRendererTest.php.
stdWrap_ifEmptyDeterminesEmptyValuesDataProvider | ( | ) |
Data provider for stdWrap_ifEmptyDeterminesEmptyValues test
Definition at line 2173 of file ContentObjectRendererTest.php.
stdWrap_ifNullDeterminesNullValues | ( | $content, | |
array | $configuration, | ||
$expected | |||
) |
string | NULL | $content | |
array | $configuration | |
string | $expected | stdWrap_ifNullDeterminesNullValuesDataProvider |
Definition at line 2137 of file ContentObjectRendererTest.php.
stdWrap_ifNullDeterminesNullValuesDataProvider | ( | ) |
Data provider for stdWrap_ifNullDeterminesNullValues test
Definition at line 2148 of file ContentObjectRendererTest.php.
stdWrap_intval | ( | $content, | |
$expected | |||
) |
Test for the stdWrap function "intval"
string | $content | |
int | $expected | stdWrap_intvalDataProvider |
Definition at line 1142 of file ContentObjectRendererTest.php.
stdWrap_intvalDataProvider | ( | ) |
Definition at line 1095 of file ContentObjectRendererTest.php.
stdWrap_noTrimWrapAcceptsSplitChar | ( | $content, | |
array | $configuration, | ||
$expected | |||
) |
$content | ||
array | $configuration | |
$expected | stdWrap_noTrimWrapAcceptsSplitCharDataProvider |
Definition at line 2227 of file ContentObjectRendererTest.php.
stdWrap_noTrimWrapAcceptsSplitCharDataProvider | ( | ) |
Data provider for stdWrap_noTrimWrapAcceptsSplitChar test
Definition at line 2238 of file ContentObjectRendererTest.php.
stdWrap_numberFormat | ( | $float, | |
$conf, | |||
$expected | |||
) |
Test for the stdWrap function "round"
float | $float | |
array | $conf | |
string | $expected |
Definition at line 1014 of file ContentObjectRendererTest.php.
stdWrap_numberFormatDataProvider | ( | ) |
Definition at line 943 of file ContentObjectRendererTest.php.
stdWrap_parseFuncReturnsParsedHtml | ( | $value, | |
$configuration, | |||
$expectedResult | |||
) |
string | $value | |
array | $configuration | |
string | $expectedResult |
Definition at line 3940 of file ContentObjectRendererTest.php.
stdWrap_round | ( | $float, | |
$conf, | |||
$expected | |||
) |
Test for the stdWrap function "round"
float | $float | |
array | $conf | |
float | $expected |
Definition at line 931 of file ContentObjectRendererTest.php.
stdWrap_roundDataProvider | ( | ) |
Definition at line 877 of file ContentObjectRendererTest.php.
stdWrap_splitObjReturnsCount | ( | ) |
Definition at line 4235 of file ContentObjectRendererTest.php.
stdWrap_stdWrapValue | ( | $key, | |
array | $configuration, | ||
$defaultValue, | |||
$expected | |||
) |
string | $key | |
array | $configuration | |
string | $defaultValue | |
string | $expected | stdWrap_stdWrapValueDataProvider |
Definition at line 2124 of file ContentObjectRendererTest.php.
stdWrap_stdWrapValueDataProvider | ( | ) |
Data provider for stdWrap_stdWrapValue test
Definition at line 2068 of file ContentObjectRendererTest.php.
stdWrap_strftimeReturnsFormattedString | ( | $content, | |
$conf | |||
) |
Definition at line 1810 of file ContentObjectRendererTest.php.
References $GLOBALS.
stdWrap_strftimeReturnsFormattedStringDataProvider | ( | ) |
Data provider for the stdWrap_strftime test
Definition at line 1781 of file ContentObjectRendererTest.php.
stdWrap_strPad | ( | $content, | |
$conf, | |||
$expected | |||
) |
Test for the stdWrap function "strPad"
string | $content | |
array | $conf | |
string | $expected | stdWrap_strPadDataProvider |
Definition at line 1248 of file ContentObjectRendererTest.php.
stdWrap_strPadDataProvider | ( | ) |
Definition at line 1151 of file ContentObjectRendererTest.php.
stdWrap_strtotimeReturnsTimestamp | ( | $content, | |
$configuration, | |||
$expected | |||
) |
string | NULL | $content | |
array | $configuration | |
int | $expected | stdWrap_strtotimeReturnsTimestampDataProvider |
Definition at line 1888 of file ContentObjectRendererTest.php.
References $GLOBALS.
stdWrap_strtotimeReturnsTimestampDataProvider | ( | ) |
Data provider for the stdWrap_strtotime test
Definition at line 1833 of file ContentObjectRendererTest.php.
stdWrap_trim | ( | $content, | |
$expected | |||
) |
Test for the stdWrap function "trim"
string | $content | |
string | $expected | stdWrap_trimDataProvider |
Definition at line 1086 of file ContentObjectRendererTest.php.
stdWrap_trimDataProvider | ( | ) |
Definition at line 1059 of file ContentObjectRendererTest.php.
|
protected |
Definition at line 111 of file ContentObjectRendererTest.php.
References GeneralUtility\resetSingletonInstances().
typolinkReturnsCorrectLinksFiles | ( | $linkText, | |
$configuration, | |||
$expectedResult | |||
) |
string | $linkText | |
array | $configuration | |
string | $expectedResult | typolinkReturnsCorrectLinksFilesDataProvider |
Definition at line 4212 of file ContentObjectRendererTest.php.
References $GLOBALS, and ContentObjectRendererTest\getLibParseFunc().
typolinkReturnsCorrectLinksFilesDataProvider | ( | ) |
Definition at line 4161 of file ContentObjectRendererTest.php.
typolinkReturnsCorrectLinksForEmailsAndUrls | ( | $linkText, | |
$configuration, | |||
$expectedResult | |||
) |
string | $linkText | |
array | $configuration | |
string | $expectedResult | typolinkReturnsCorrectLinksForEmailsAndUrlsDataProvider |
Definition at line 4029 of file ContentObjectRendererTest.php.
References $GLOBALS, and ContentObjectRendererTest\getLibParseFunc().
typolinkReturnsCorrectLinksForEmailsAndUrlsDataProvider | ( | ) |
Definition at line 3948 of file ContentObjectRendererTest.php.
typolinkReturnsCorrectLinksForPages | ( | $linkText, | |
$configuration, | |||
$pageArray, | |||
$expectedResult | |||
) |
string | $linkText | |
array | $configuration | |
array | $pageArray | |
string | $expectedResult | typolinkReturnsCorrectLinksForPagesDataProvider |
Definition at line 4135 of file ContentObjectRendererTest.php.
References $GLOBALS, and ContentObjectRendererTest\getLibParseFunc().
typolinkReturnsCorrectLinksForPagesDataProvider | ( | ) |
Definition at line 4052 of file ContentObjectRendererTest.php.
|
protected |
Definition at line 55 of file ContentObjectRendererTest.php.
|
protected |
Definition at line 33 of file ContentObjectRendererTest.php.
|
protected |
Definition at line 38 of file ContentObjectRendererTest.php.
Referenced by ContentObjectRendererTest\cropHtmlWithDataProvider(), ContentObjectRendererTest\cropHtmlWorksWithLinebreaks(), ContentObjectRendererTest\handleCharset(), and ContentObjectRendererTest\stdWrap_ageCallsCalcAgeWithSubtractedTimestampAndSubPartOfArray().
|
protected |
Definition at line 48 of file ContentObjectRendererTest.php.
Referenced by ContentObjectRendererTest\setUp().
|
protected |
Definition at line 43 of file ContentObjectRendererTest.php.
Referenced by ContentObjectRendererTest\setUp().