TYPO3 CMS  TYPO3_6-2
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

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

Protected Attributes

 $backendConfigurationManager
 
 $mockTypoScriptService
 
- 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

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Test case

Definition at line 20 of file BackendConfigurationManagerTest.php.

Member Function Documentation

◆ getContextSpecificFrameworkConfigurationReturnsUnmodifiedFrameworkConfigurationIfRequestHandlersAreConfigured()

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

Definition at line 267 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 66 of file BackendConfigurationManagerTest.php.

References $GLOBALS.

◆ getCurrentPageIdReturnsUidFromFirstRootPageIfIdIsNotSet()

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

Definition at line 79 of file BackendConfigurationManagerTest.php.

References $GLOBALS.

◆ getPluginConfigurationRecursivelyMergesExtensionAndPluginConfiguration()

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

Definition at line 172 of file BackendConfigurationManagerTest.php.

◆ getPluginConfigurationReturnsEmptyArrayIfNoPluginConfigurationWasFound()

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

Definition at line 102 of file BackendConfigurationManagerTest.php.

◆ getPluginConfigurationReturnsExtensionConfiguration()

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

Definition at line 112 of file BackendConfigurationManagerTest.php.

◆ getPluginConfigurationReturnsPluginConfiguration()

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

Definition at line 142 of file BackendConfigurationManagerTest.php.

◆ getSwitchableControllerActionsReturnsConfigurationStoredInExtconf()

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

Definition at line 240 of file BackendConfigurationManagerTest.php.

References $GLOBALS.

◆ getSwitchableControllerActionsReturnsEmptyArrayByDefault()

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

Definition at line 230 of file BackendConfigurationManagerTest.php.

References $GLOBALS.

◆ setUp()

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

Sets up this testcase

Definition at line 35 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 25 of file BackendConfigurationManagerTest.php.

◆ $mockTypoScriptService

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

Definition at line 30 of file BackendConfigurationManagerTest.php.