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

Public Member Functions

 getTypoScriptSetupReturnsSetupFromTsfe ()
 
 getPluginConfigurationReturnsEmptyArrayIfNoPluginConfigurationWasFound ()
 
 getPluginConfigurationReturnsExtensionConfiguration ()
 
 getPluginConfigurationReturnsPluginConfiguration ()
 
 getPluginConfigurationRecursivelyMergesExtensionAndPluginConfiguration ()
 
 getSwitchableControllerActionsReturnsEmptyArrayByDefault ()
 
 getSwitchableControllerActionsReturnsConfigurationStoredInExtconf ()
 
 overrideSwitchableControllerActionsFromFlexFormReturnsUnchangedFrameworkConfigurationIfNoFlexFormConfigurationIsFound ()
 
 overrideSwitchableControllerActionsFromFlexFormMergesNonCacheableActions ()
 
 overrideSwitchableControllerActionsThrowsExceptionIfFlexFormConfigurationIsInvalid ()
 
 mergeConfigurationIntoFrameworkConfigurationWorksAsExpected ()
 
 overrideStoragePidIfStartingPointIsSetOverridesCorrectly ()
 
 overrideStoragePidIfStartingPointIsSetCorrectlyHandlesEmptyValuesFromGetTreeList ()
 

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

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

Detailed Description

Test case

Definition at line 21 of file FrontendConfigurationManagerTest.php.

Member Function Documentation

getPluginConfigurationRecursivelyMergesExtensionAndPluginConfiguration ( )
Test:

Definition at line 139 of file FrontendConfigurationManagerTest.php.

References $GLOBALS.

getPluginConfigurationReturnsEmptyArrayIfNoPluginConfigurationWasFound ( )
Test:

Definition at line 66 of file FrontendConfigurationManagerTest.php.

References $GLOBALS.

getPluginConfigurationReturnsExtensionConfiguration ( )
Test:

Definition at line 77 of file FrontendConfigurationManagerTest.php.

References $GLOBALS.

getPluginConfigurationReturnsPluginConfiguration ( )
Test:

Definition at line 108 of file FrontendConfigurationManagerTest.php.

References $GLOBALS.

getSwitchableControllerActionsReturnsConfigurationStoredInExtconf ( )
Test:

Definition at line 209 of file FrontendConfigurationManagerTest.php.

References $GLOBALS.

getSwitchableControllerActionsReturnsEmptyArrayByDefault ( )
Test:

Definition at line 198 of file FrontendConfigurationManagerTest.php.

References $GLOBALS.

getTypoScriptSetupReturnsSetupFromTsfe ( )
Test:

Definition at line 57 of file FrontendConfigurationManagerTest.php.

References $GLOBALS.

mergeConfigurationIntoFrameworkConfigurationWorksAsExpected ( )
Test:

Definition at line 427 of file FrontendConfigurationManagerTest.php.

overrideStoragePidIfStartingPointIsSetCorrectlyHandlesEmptyValuesFromGetTreeList ( )
Test:

Definition at line 460 of file FrontendConfigurationManagerTest.php.

overrideStoragePidIfStartingPointIsSetOverridesCorrectly ( )
Test:

Definition at line 445 of file FrontendConfigurationManagerTest.php.

overrideSwitchableControllerActionsFromFlexFormMergesNonCacheableActions ( )
Test:

Definition at line 262 of file FrontendConfigurationManagerTest.php.

overrideSwitchableControllerActionsFromFlexFormReturnsUnchangedFrameworkConfigurationIfNoFlexFormConfigurationIsFound ( )
Test:

Definition at line 237 of file FrontendConfigurationManagerTest.php.

overrideSwitchableControllerActionsThrowsExceptionIfFlexFormConfigurationIsInvalid ( )
Test:

Definition at line 300 of file FrontendConfigurationManagerTest.php.

setUp ( )
protected

Sets up this testcase

Definition at line 41 of file FrontendConfigurationManagerTest.php.

References $GLOBALS, and BaseTestCase\getAccessibleMock().

Member Data Documentation

$frontendConfigurationManager
protected

Definition at line 31 of file FrontendConfigurationManagerTest.php.

$mockContentObject
protected

Definition at line 26 of file FrontendConfigurationManagerTest.php.

$mockTypoScriptService
protected

Definition at line 36 of file FrontendConfigurationManagerTest.php.