PHP Class Neos\Flow\Tests\Unit\Configuration\ConfigurationManagerTest

Inheritance: extends Neos\Flow\Tests\UnitTestCase
Afficher le fichier Open project: neos/flow-development-collection

Protected Properties

Свойство Type Description
$mockContext Neos\Flow\Core\ApplicationContext | PHPUnit_Framework_MockObject_MockObject

Méthodes publiques

Méthode Description
buildSubrouteConfigurationsCorrectlyMergesRoutes ( )
buildSubrouteConfigurationsMergesSubRoutesAndProcessesPlaceholders ( )
getConfigurationForCustomConfigurationUsingSettingsProcessingReturnsRespectiveConfigurationArray ( )
getConfigurationForRoutesAndCachesLoadsConfigurationIfNecessary ( )
getConfigurationForRoutesAndCachesReturnsRespectiveConfigurationArray ( )
getConfigurationForSettingsLoadsConfigurationIfNecessary ( )
getConfigurationForTypeObjectLoadsConfiguration ( )
getConfigurationForTypeSettingsLoadsConfigurationIfNecessary ( )
getConfigurationForTypeSettingsReturnsRespectiveConfigurationArray ( )
getConfigurationThrowsExceptionOnInvalidConfigurationType ( )
gettingUnregisteredConfigurationTypeFails ( )
loadConfigurationCacheLoadsConfigurationsFromCacheIfACacheFileExists ( )
loadConfigurationCorrectlyMergesSettings ( )
loadConfigurationForCachesOverridesConfigurationByContext ( )
loadConfigurationForObjectsOverridesConfigurationByContext ( )
loadConfigurationForRoutesIncludesSubRoutesFromSettings ( )
loadConfigurationForRoutesLoadsContextSpecificRoutesFirst ( ) We expect that the context specific routes are loaded *first*
loadConfigurationForRoutesLoadsSubRoutesRecursively ( )
loadConfigurationForRoutesThrowsExceptionIfSubRoutesContainCircularReferences ( )
loadConfigurationForViewsLoadsAppendsAllConfigurations ( ) We expect that the context specific Views configurations are loaded *first*
loadConfigurationOverridesGlobalSettingsByContext ( )
loadConfigurationOverridesSettingsByContext ( )
mergeRoutesWithSubRoutesRespectsSuffixSubRouteOption ( )
mergeRoutesWithSubRoutesThrowsExceptionIfRouteRefersToNonExistingOrInactivePackages ( )
packageCachesCallback ( ) Callback for the above test.
packageObjectsCallback ( ) Callback for the above test.
packageRoutesAndSettingsCallback ( string $filenameAndPath ) : array Callback for the above test.
packageRoutesCallback ( string $filenameAndPath ) : array Callback for the above test.
packageSettingsCallback ( ) Callback for the above test.
packageSubRoutesCallback ( string $filenameAndPath ) : array Callback for the above test.
packageViewConfigurationsCallback ( string $filenameAndPath ) : array Callback for the Views test above.
postProcessConfigurationMaintainsConstantTypeIfOnlyValue ( )
postProcessConfigurationReplacesClassConstantMarkersWithApproppriateConstants ( )
postProcessConfigurationReplacesConstantMarkersByRealGlobalConstants ( )
postProcessConfigurationReplacesEnvMarkersWithEnvironmentValues ( )
registerConfigurationTypeThrowsExceptionOnInvalidConfigurationProcessingType ( )
saveConfigurationCacheSavesTheCurrentConfigurationAsPhpCode ( )
setUp ( )

Méthodes protégées

Méthode Description
getConfigurationManagerWithFlowPackage ( string $configurationSourceCallbackName, string $contextName ) : ConfigurationManager
getMockPackages ( ) : array

Method Details

buildSubrouteConfigurationsCorrectlyMergesRoutes() public méthode

buildSubrouteConfigurationsMergesSubRoutesAndProcessesPlaceholders() public méthode

getConfigurationForCustomConfigurationUsingSettingsProcessingReturnsRespectiveConfigurationArray() public méthode

getConfigurationForRoutesAndCachesLoadsConfigurationIfNecessary() public méthode

getConfigurationForRoutesAndCachesReturnsRespectiveConfigurationArray() public méthode

getConfigurationForSettingsLoadsConfigurationIfNecessary() public méthode

getConfigurationForTypeObjectLoadsConfiguration() public méthode

getConfigurationForTypeSettingsLoadsConfigurationIfNecessary() public méthode

getConfigurationForTypeSettingsReturnsRespectiveConfigurationArray() public méthode

getConfigurationManagerWithFlowPackage() protected méthode

protected getConfigurationManagerWithFlowPackage ( string $configurationSourceCallbackName, string $contextName ) : ConfigurationManager
$configurationSourceCallbackName string
$contextName string
Résultat Neos\Flow\Configuration\ConfigurationManager

getConfigurationThrowsExceptionOnInvalidConfigurationType() public méthode

getMockPackages() protected méthode

protected getMockPackages ( ) : array
Résultat array

gettingUnregisteredConfigurationTypeFails() public méthode

loadConfigurationCacheLoadsConfigurationsFromCacheIfACacheFileExists() public méthode

loadConfigurationCorrectlyMergesSettings() public méthode

loadConfigurationForCachesOverridesConfigurationByContext() public méthode

loadConfigurationForObjectsOverridesConfigurationByContext() public méthode

loadConfigurationForRoutesIncludesSubRoutesFromSettings() public méthode

loadConfigurationForRoutesLoadsContextSpecificRoutesFirst() public méthode

We expect that the context specific routes are loaded *first*

loadConfigurationForRoutesLoadsSubRoutesRecursively() public méthode

loadConfigurationForRoutesThrowsExceptionIfSubRoutesContainCircularReferences() public méthode

loadConfigurationForViewsLoadsAppendsAllConfigurations() public méthode

We expect that the context specific Views configurations are loaded *first*

loadConfigurationOverridesGlobalSettingsByContext() public méthode

loadConfigurationOverridesSettingsByContext() public méthode

mergeRoutesWithSubRoutesRespectsSuffixSubRouteOption() public méthode

mergeRoutesWithSubRoutesThrowsExceptionIfRouteRefersToNonExistingOrInactivePackages() public méthode

packageCachesCallback() public méthode

Callback for the above test.

packageObjectsCallback() public méthode

Callback for the above test.

packageRoutesAndSettingsCallback() public méthode

Callback for the above test.
public packageRoutesAndSettingsCallback ( string $filenameAndPath ) : array
$filenameAndPath string
Résultat array

packageRoutesCallback() public méthode

Callback for the above test.
public packageRoutesCallback ( string $filenameAndPath ) : array
$filenameAndPath string
Résultat array

packageSettingsCallback() public méthode

Callback for the above test.

packageSubRoutesCallback() public méthode

Callback for the above test.
public packageSubRoutesCallback ( string $filenameAndPath ) : array
$filenameAndPath string
Résultat array

packageViewConfigurationsCallback() public méthode

Callback for the Views test above.
public packageViewConfigurationsCallback ( string $filenameAndPath ) : array
$filenameAndPath string
Résultat array

postProcessConfigurationMaintainsConstantTypeIfOnlyValue() public méthode

postProcessConfigurationReplacesClassConstantMarkersWithApproppriateConstants() public méthode

postProcessConfigurationReplacesConstantMarkersByRealGlobalConstants() public méthode

postProcessConfigurationReplacesEnvMarkersWithEnvironmentValues() public méthode

registerConfigurationTypeThrowsExceptionOnInvalidConfigurationProcessingType() public méthode

saveConfigurationCacheSavesTheCurrentConfigurationAsPhpCode() public méthode

setUp() public méthode

public setUp ( )

Property Details

$mockContext protected_oe property

protected ApplicationContext,Neos\Flow\Core|PHPUnit_Framework_MockObject_MockObject $mockContext
Résultat Neos\Flow\Core\ApplicationContext | PHPUnit_Framework_MockObject_MockObject