TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
TypoScriptFrontendControllerTest Class Reference
Inheritance diagram for TypoScriptFrontendControllerTest:
UnitTestCase BaseTestCase

Public Member Functions

 headerAndFooterMarkersAreReplacedDuringIntProcessing ()
 
 INTincScript_processCallback ()
 
 localizationReturnsUnchangedStringIfNotLocallangLabel ()
 
 getSysDomainCacheDataProvider ()
 
 domainNameMatchesCurrentRequestDataProvider ()
 
 domainNameMatchesCurrentRequest ($currentDomain, $domainRecord, $scriptName, $expectedResult)
 
 baseUrlWrapHandlesDifferentUrlsDataProvider ()
 
 baseUrlWrapHandlesDifferentUrls ($baseUrl, $url, $expected)
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from BaseTestCase
 getAccessibleMock ($originalClassName, $methods=[], array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true)
 
 getAccessibleMockForAbstractClass ($originalClassName, array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true, $mockedMethods=[])
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name,...$arguments)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix= '')
 

Protected Attributes

 $subject
 
- Protected Attributes inherited from UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Testcase for TYPO3

Definition at line 24 of file Unit/Controller/TypoScriptFrontendControllerTest.php.

Member Function Documentation

baseUrlWrapHandlesDifferentUrls (   $baseUrl,
  $url,
  $expected 
)

baseUrlWrapHandlesDifferentUrlsDataProvider

Test:
Parameters
string$baseUrl
string$url
string$expected

Definition at line 226 of file Unit/Controller/TypoScriptFrontendControllerTest.php.

baseUrlWrapHandlesDifferentUrlsDataProvider ( )
Returns
array

Definition at line 193 of file Unit/Controller/TypoScriptFrontendControllerTest.php.

domainNameMatchesCurrentRequest (   $currentDomain,
  $domainRecord,
  $scriptName,
  $expectedResult 
)
Parameters
string$currentDomain
string$domainRecord
string$scriptName
bool$expectedResult
Test:
domainNameMatchesCurrentRequestDataProvider

Definition at line 183 of file Unit/Controller/TypoScriptFrontendControllerTest.php.

domainNameMatchesCurrentRequestDataProvider ( )

Tests concerning domainNameMatchesCurrentRequest

Returns
array

Definition at line 139 of file Unit/Controller/TypoScriptFrontendControllerTest.php.

getSysDomainCacheDataProvider ( )

Tests concerning getSysDomainCache

Returns
array

Definition at line 117 of file Unit/Controller/TypoScriptFrontendControllerTest.php.

headerAndFooterMarkersAreReplacedDuringIntProcessing ( )

Tests concerning rendering content

Test:

Definition at line 48 of file Unit/Controller/TypoScriptFrontendControllerTest.php.

References $GLOBALS.

INTincScript_processCallback ( )

This is the callback that mimics a USER_INT extension

Definition at line 59 of file Unit/Controller/TypoScriptFrontendControllerTest.php.

References $GLOBALS.

localizationReturnsUnchangedStringIfNotLocallangLabel ( )

Member Data Documentation

$subject
protected