TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest:
TYPO3\CMS\Core\Tests\UnitTestCase TYPO3\CMS\Core\Tests\BaseTestCase

Public Member Functions

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

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\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)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix='')
 

Protected Attributes

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

Detailed Description

Test case

Definition at line 20 of file FrontendConfigurationManagerTest.php.

Member Function Documentation

◆ getPluginConfigurationRecursivelyMergesExtensionAndPluginConfiguration()

TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest::getPluginConfigurationRecursivelyMergesExtensionAndPluginConfiguration ( )
Test:

Definition at line 136 of file FrontendConfigurationManagerTest.php.

References $GLOBALS.

◆ getPluginConfigurationReturnsEmptyArrayIfNoPluginConfigurationWasFound()

TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest::getPluginConfigurationReturnsEmptyArrayIfNoPluginConfigurationWasFound ( )
Test:

Definition at line 63 of file FrontendConfigurationManagerTest.php.

References $GLOBALS.

◆ getPluginConfigurationReturnsExtensionConfiguration()

TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest::getPluginConfigurationReturnsExtensionConfiguration ( )
Test:

Definition at line 74 of file FrontendConfigurationManagerTest.php.

References $GLOBALS.

◆ getPluginConfigurationReturnsPluginConfiguration()

TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest::getPluginConfigurationReturnsPluginConfiguration ( )
Test:

Definition at line 105 of file FrontendConfigurationManagerTest.php.

References $GLOBALS.

◆ getSwitchableControllerActionsReturnsConfigurationStoredInExtconf()

TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest::getSwitchableControllerActionsReturnsConfigurationStoredInExtconf ( )
Test:

Definition at line 206 of file FrontendConfigurationManagerTest.php.

References $GLOBALS.

◆ getSwitchableControllerActionsReturnsEmptyArrayByDefault()

TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest::getSwitchableControllerActionsReturnsEmptyArrayByDefault ( )
Test:

Definition at line 195 of file FrontendConfigurationManagerTest.php.

References $GLOBALS.

◆ getTypoScriptSetupReturnsSetupFromTsfe()

TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest::getTypoScriptSetupReturnsSetupFromTsfe ( )
Test:

Definition at line 54 of file FrontendConfigurationManagerTest.php.

References $GLOBALS.

◆ mergeConfigurationIntoFrameworkConfigurationWorksAsExpected()

TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest::mergeConfigurationIntoFrameworkConfigurationWorksAsExpected ( )
Test:

Definition at line 423 of file FrontendConfigurationManagerTest.php.

◆ overrideStoragePidIfStartingPointIsSetOverridesCorrectly()

TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest::overrideStoragePidIfStartingPointIsSetOverridesCorrectly ( )

◆ overrideSwitchableControllerActionsFromFlexFormMergesNonCacheableActions()

TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest::overrideSwitchableControllerActionsFromFlexFormMergesNonCacheableActions ( )
Test:

Definition at line 259 of file FrontendConfigurationManagerTest.php.

◆ overrideSwitchableControllerActionsFromFlexFormReturnsUnchangedFrameworkConfigurationIfNoFlexFormConfigurationIsFound()

TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest::overrideSwitchableControllerActionsFromFlexFormReturnsUnchangedFrameworkConfigurationIfNoFlexFormConfigurationIsFound ( )
Test:

Definition at line 234 of file FrontendConfigurationManagerTest.php.

◆ overrideSwitchableControllerActionsThrowsExceptionIfFlexFormConfigurationIsInvalid()

TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest::overrideSwitchableControllerActionsThrowsExceptionIfFlexFormConfigurationIsInvalid ( )

◆ setUp()

TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest::setUp ( )
protected

Sets up this testcase

Definition at line 40 of file FrontendConfigurationManagerTest.php.

References $GLOBALS, and TYPO3\CMS\Core\Tests\BaseTestCase\getAccessibleMock().

Member Data Documentation

◆ $frontendConfigurationManager

◆ $mockContentObject

TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest::$mockContentObject
protected

Definition at line 25 of file FrontendConfigurationManagerTest.php.

◆ $mockTypoScriptService

TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest::$mockTypoScriptService
protected

Definition at line 35 of file FrontendConfigurationManagerTest.php.