TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Frontend\Tests\Unit\Controller\TypoScriptFrontendControllerTest Class Reference
Inheritance diagram for TYPO3\CMS\Frontend\Tests\Unit\Controller\TypoScriptFrontendControllerTest:
TYPO3\CMS\Core\Tests\UnitTestCase TYPO3\CMS\Core\Tests\BaseTestCase

Public Member Functions

 setUp ()
 
 headerAndFooterMarkersAreReplacedDuringIntProcessing ()
 
 INTincScript_processCallback ()
 
 codeStringForNonEmptyStringReturns10CharacterHashAndCodedString ()
 
 decodingCodedStringReturnsOriginalString ()
 
 localizationReturnsUnchangedStringIfNotLocallangLabel ()
 
 roundTripCryptStringCreatesStringWithSameLengthAsInputString ()
 
 roundTripCryptStringCreatesResultDifferentFromInputString ()
 
 roundTripCryptStringAppliedTwoTimesReturnsOriginalString ()
 
 getSysDomainCacheDataProvider ()
 
 getSysDomainCacheReturnsCurrentDomainRecord ($currentDomain)
 
 getSysDomainCacheReturnsForcedDomainRecord ($currentDomain)
 
 domainNameMatchesCurrentRequestDataProvider ()
 
 domainNameMatchesCurrentRequest ($currentDomain, $domainRecord, $scriptName, $expectedResult)
 

Protected Attributes

 $fixture
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 $backupGlobalsBlacklist = array('TYPO3_LOADED_EXT')
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 $backupGlobals = TRUE
 
 $backupStaticAttributes = FALSE
 

Additional Inherited Members

- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 getAccessibleMock ( $originalClassName, array $methods=array(), array $arguments=array(), $mockClassName='', $callOriginalConstructor=TRUE, $callOriginalClone=TRUE, $callAutoload=TRUE)
 
 getAccessibleMockForAbstractClass ( $originalClassName, array $arguments=array(), $mockClassName='', $callOriginalConstructor=TRUE, $callOriginalClone=TRUE, $callAutoload=TRUE)
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix='')
 

Detailed Description

Member Function Documentation

◆ codeStringForNonEmptyStringReturns10CharacterHashAndCodedString()

TYPO3\CMS\Frontend\Tests\Unit\Controller\TypoScriptFrontendControllerTest::codeStringForNonEmptyStringReturns10CharacterHashAndCodedString ( )
Test:

Definition at line 89 of file TypoScriptFrontendControllerTest.php.

◆ decodingCodedStringReturnsOriginalString()

TYPO3\CMS\Frontend\Tests\Unit\Controller\TypoScriptFrontendControllerTest::decodingCodedStringReturnsOriginalString ( )
Test:

Definition at line 96 of file TypoScriptFrontendControllerTest.php.

◆ domainNameMatchesCurrentRequest()

TYPO3\CMS\Frontend\Tests\Unit\Controller\TypoScriptFrontendControllerTest::domainNameMatchesCurrentRequest (   $currentDomain,
  $domainRecord,
  $scriptName,
  $expectedResult 
)
Parameters
string$currentDomain
string$domainRecord
string$scriptName
bool$expectedResult
Test:
domainNameMatchesCurrentRequestDataProvider

Definition at line 277 of file TypoScriptFrontendControllerTest.php.

◆ domainNameMatchesCurrentRequestDataProvider()

TYPO3\CMS\Frontend\Tests\Unit\Controller\TypoScriptFrontendControllerTest::domainNameMatchesCurrentRequestDataProvider ( )

Tests concerning domainNameMatchesCurrentRequest

Returns
array

Definition at line 234 of file TypoScriptFrontendControllerTest.php.

◆ getSysDomainCacheDataProvider()

TYPO3\CMS\Frontend\Tests\Unit\Controller\TypoScriptFrontendControllerTest::getSysDomainCacheDataProvider ( )

Tests concerning getSysDomainCache

Returns
array

Definition at line 147 of file TypoScriptFrontendControllerTest.php.

◆ getSysDomainCacheReturnsCurrentDomainRecord()

TYPO3\CMS\Frontend\Tests\Unit\Controller\TypoScriptFrontendControllerTest::getSysDomainCacheReturnsCurrentDomainRecord (   $currentDomain)
Parameters
string$currentDomain
Test:
getSysDomainCacheDataProvider

Definition at line 166 of file TypoScriptFrontendControllerTest.php.

References $GLOBALS, and TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

◆ getSysDomainCacheReturnsForcedDomainRecord()

TYPO3\CMS\Frontend\Tests\Unit\Controller\TypoScriptFrontendControllerTest::getSysDomainCacheReturnsForcedDomainRecord (   $currentDomain)
Parameters
string$currentDomain
Test:
getSysDomainCacheDataProvider

Definition at line 199 of file TypoScriptFrontendControllerTest.php.

References $GLOBALS, and TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

◆ headerAndFooterMarkersAreReplacedDuringIntProcessing()

TYPO3\CMS\Frontend\Tests\Unit\Controller\TypoScriptFrontendControllerTest::headerAndFooterMarkersAreReplacedDuringIntProcessing ( )
Test:

Definition at line 45 of file TypoScriptFrontendControllerTest.php.

References $GLOBALS.

◆ INTincScript_processCallback()

TYPO3\CMS\Frontend\Tests\Unit\Controller\TypoScriptFrontendControllerTest::INTincScript_processCallback ( )

This is the callback that mimics a USER_INT extension

Definition at line 55 of file TypoScriptFrontendControllerTest.php.

References $GLOBALS.

◆ localizationReturnsUnchangedStringIfNotLocallangLabel()

TYPO3\CMS\Frontend\Tests\Unit\Controller\TypoScriptFrontendControllerTest::localizationReturnsUnchangedStringIfNotLocallangLabel ( )

◆ roundTripCryptStringAppliedTwoTimesReturnsOriginalString()

TYPO3\CMS\Frontend\Tests\Unit\Controller\TypoScriptFrontendControllerTest::roundTripCryptStringAppliedTwoTimesReturnsOriginalString ( )
Test:

Definition at line 134 of file TypoScriptFrontendControllerTest.php.

◆ roundTripCryptStringCreatesResultDifferentFromInputString()

TYPO3\CMS\Frontend\Tests\Unit\Controller\TypoScriptFrontendControllerTest::roundTripCryptStringCreatesResultDifferentFromInputString ( )
Test:

Definition at line 126 of file TypoScriptFrontendControllerTest.php.

◆ roundTripCryptStringCreatesStringWithSameLengthAsInputString()

TYPO3\CMS\Frontend\Tests\Unit\Controller\TypoScriptFrontendControllerTest::roundTripCryptStringCreatesStringWithSameLengthAsInputString ( )
Test:

Definition at line 118 of file TypoScriptFrontendControllerTest.php.

◆ setUp()

TYPO3\CMS\Frontend\Tests\Unit\Controller\TypoScriptFrontendControllerTest::setUp ( )

Member Data Documentation

◆ $fixture

TYPO3\CMS\Frontend\Tests\Unit\Controller\TypoScriptFrontendControllerTest::$fixture
protected

Definition at line 28 of file TypoScriptFrontendControllerTest.php.