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

Public Member Functions

 getCurrentPageIdReturnsPageIdFromGet ()
 
 getCurrentPageIdReturnsPageIdFromPost ()
 
 getCurrentPageIdReturnsPidFromFirstRootTemplateIfIdIsNotSetAndNoRootPageWasFound ()
 
 getCurrentPageIdReturnsUidFromFirstRootPageIfIdIsNotSet ()
 
 getCurrentPageIdReturnsDefaultStoragePidIfIdIsNotSetNoRootTemplateAndRootPageWasFound ()
 
 getPluginConfigurationReturnsEmptyArrayIfNoPluginConfigurationWasFound ()
 
 getPluginConfigurationReturnsExtensionConfiguration ()
 
 getPluginConfigurationReturnsPluginConfiguration ()
 
 getPluginConfigurationRecursivelyMergesExtensionAndPluginConfiguration ()
 
 getSwitchableControllerActionsReturnsEmptyArrayByDefault ()
 
 getSwitchableControllerActionsReturnsConfigurationStoredInExtconf ()
 
 getContextSpecificFrameworkConfigurationReturnsUnmodifiedFrameworkConfigurationIfRequestHandlersAreConfigured ()
 
 getContextSpecificFrameworkConfigurationSetsDefaultRequestHandlersIfRequestHandlersAreNotConfigured ()
 
 storagePidsAreNotExtendedIfRecursiveSearchIsNotConfigured ()
 
 storagePidsAreNotExtendedIfRecursiveSearchIsConfiguredForZeroLevels ()
 

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

 $backendConfigurationManager
 
 $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 21 of file BackendConfigurationManagerTest.php.

Member Function Documentation

◆ getContextSpecificFrameworkConfigurationReturnsUnmodifiedFrameworkConfigurationIfRequestHandlersAreConfigured()

TYPO3\CMS\Extbase\Tests\Unit\Configuration\BackendConfigurationManagerTest::getContextSpecificFrameworkConfigurationReturnsUnmodifiedFrameworkConfigurationIfRequestHandlersAreConfigured ( )
Test:

Definition at line 280 of file BackendConfigurationManagerTest.php.

◆ getContextSpecificFrameworkConfigurationSetsDefaultRequestHandlersIfRequestHandlersAreNotConfigured()

TYPO3\CMS\Extbase\Tests\Unit\Configuration\BackendConfigurationManagerTest::getContextSpecificFrameworkConfigurationSetsDefaultRequestHandlersIfRequestHandlersAreNotConfigured ( )

◆ getCurrentPageIdReturnsDefaultStoragePidIfIdIsNotSetNoRootTemplateAndRootPageWasFound()

TYPO3\CMS\Extbase\Tests\Unit\Configuration\BackendConfigurationManagerTest::getCurrentPageIdReturnsDefaultStoragePidIfIdIsNotSetNoRootTemplateAndRootPageWasFound ( )

◆ getCurrentPageIdReturnsPageIdFromGet()

TYPO3\CMS\Extbase\Tests\Unit\Configuration\BackendConfigurationManagerTest::getCurrentPageIdReturnsPageIdFromGet ( )

◆ getCurrentPageIdReturnsPageIdFromPost()

TYPO3\CMS\Extbase\Tests\Unit\Configuration\BackendConfigurationManagerTest::getCurrentPageIdReturnsPageIdFromPost ( )

◆ getCurrentPageIdReturnsPidFromFirstRootTemplateIfIdIsNotSetAndNoRootPageWasFound()

TYPO3\CMS\Extbase\Tests\Unit\Configuration\BackendConfigurationManagerTest::getCurrentPageIdReturnsPidFromFirstRootTemplateIfIdIsNotSetAndNoRootPageWasFound ( )
Test:

Definition at line 70 of file BackendConfigurationManagerTest.php.

References $GLOBALS.

◆ getCurrentPageIdReturnsUidFromFirstRootPageIfIdIsNotSet()

TYPO3\CMS\Extbase\Tests\Unit\Configuration\BackendConfigurationManagerTest::getCurrentPageIdReturnsUidFromFirstRootPageIfIdIsNotSet ( )
Test:

Definition at line 84 of file BackendConfigurationManagerTest.php.

References $GLOBALS.

◆ getPluginConfigurationRecursivelyMergesExtensionAndPluginConfiguration()

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

Definition at line 182 of file BackendConfigurationManagerTest.php.

◆ getPluginConfigurationReturnsEmptyArrayIfNoPluginConfigurationWasFound()

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

Definition at line 109 of file BackendConfigurationManagerTest.php.

◆ getPluginConfigurationReturnsExtensionConfiguration()

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

Definition at line 120 of file BackendConfigurationManagerTest.php.

◆ getPluginConfigurationReturnsPluginConfiguration()

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

Definition at line 151 of file BackendConfigurationManagerTest.php.

◆ getSwitchableControllerActionsReturnsConfigurationStoredInExtconf()

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

Definition at line 252 of file BackendConfigurationManagerTest.php.

References $GLOBALS.

◆ getSwitchableControllerActionsReturnsEmptyArrayByDefault()

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

Definition at line 241 of file BackendConfigurationManagerTest.php.

References $GLOBALS.

◆ setUp()

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

Sets up this testcase

Definition at line 36 of file BackendConfigurationManagerTest.php.

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

◆ storagePidsAreNotExtendedIfRecursiveSearchIsConfiguredForZeroLevels()

TYPO3\CMS\Extbase\Tests\Unit\Configuration\BackendConfigurationManagerTest::storagePidsAreNotExtendedIfRecursiveSearchIsConfiguredForZeroLevels ( )

◆ storagePidsAreNotExtendedIfRecursiveSearchIsNotConfigured()

TYPO3\CMS\Extbase\Tests\Unit\Configuration\BackendConfigurationManagerTest::storagePidsAreNotExtendedIfRecursiveSearchIsNotConfigured ( )

Member Data Documentation

◆ $backendConfigurationManager

TYPO3\CMS\Extbase\Tests\Unit\Configuration\BackendConfigurationManagerTest::$backendConfigurationManager
protected

Definition at line 26 of file BackendConfigurationManagerTest.php.

◆ $mockTypoScriptService

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

Definition at line 31 of file BackendConfigurationManagerTest.php.