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

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

Protected Attributes

 $mockContentObject
 
 $frontendConfigurationManager
 
 $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 FrontendConfigurationManagerTest.php.

Member Function Documentation

◆ getPluginConfigurationRecursivelyMergesExtensionAndPluginConfiguration()

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

Definition at line 131 of file FrontendConfigurationManagerTest.php.

References $GLOBALS.

◆ getPluginConfigurationReturnsEmptyArrayIfNoPluginConfigurationWasFound()

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

Definition at line 61 of file FrontendConfigurationManagerTest.php.

References $GLOBALS.

◆ getPluginConfigurationReturnsExtensionConfiguration()

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

Definition at line 71 of file FrontendConfigurationManagerTest.php.

References $GLOBALS.

◆ getPluginConfigurationReturnsPluginConfiguration()

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

Definition at line 101 of file FrontendConfigurationManagerTest.php.

References $GLOBALS.

◆ getSwitchableControllerActionsReturnsConfigurationStoredInExtconf()

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

Definition at line 199 of file FrontendConfigurationManagerTest.php.

References $GLOBALS.

◆ getSwitchableControllerActionsReturnsEmptyArrayByDefault()

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

Definition at line 189 of file FrontendConfigurationManagerTest.php.

References $GLOBALS.

◆ getTypoScriptSetupReturnsSetupFromTsfe()

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

Definition at line 53 of file FrontendConfigurationManagerTest.php.

References $GLOBALS.

◆ mergeConfigurationIntoFrameworkConfigurationWorksAsExpected()

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

◆ overrideStoragePidIfStartingPointIsSetOverridesCorrectly()

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

◆ overrideSwitchableControllerActionsFromFlexFormMergesNonCacheableActions()

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

Definition at line 250 of file FrontendConfigurationManagerTest.php.

◆ overrideSwitchableControllerActionsFromFlexFormReturnsUnchangedFrameworkConfigurationIfNoFlexFormConfigurationIsFound()

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

Definition at line 226 of file FrontendConfigurationManagerTest.php.

◆ overrideSwitchableControllerActionsThrowsExceptionIfFlexFormConfigurationIsInvalid()

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

◆ setUp()

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

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.