TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
ConfigurationItemRepositoryTest Class Reference
Inheritance diagram for ConfigurationItemRepositoryTest:
UnitTestCase BaseTestCase

Public Member Functions

 getConfigurationArrayFromExtensionKeyReturnsSortedHierarchicArray ()
 
 addMetaInformationUnsetsOriginalConfigurationMetaKey ()
 
 addMetaInformationReturnsMetaInformation ()
 
 extractInformationForConfigFieldsOfTypeUserAddsGenericAndTypeInformationDataProvider ()
 
 extractInformationForConfigFieldsOfTypeUserAddsGenericAndTypeInformation ($configurationOption)
 
 extractInformationForConfigFieldsOfTypeOptionsAddsGenericTypeAndLabelInformation ()
 
 extractInformationForConfigFieldsOfTypeOptionsWithLabelsAndValuesAddsGenericTypeAndLabelInformation ()
 
 mergeDefaultConfigurationCatchesExceptionOfConfigurationManagerIfNoLocalConfigurationExists ()
 
 mergeDefaultConfigurationWithNoCurrentValuesReturnsTheDefaultConfiguration ()
 
 mergeWithExistingConfigurationOverwritesDefaultKeysWithCurrent ()
 

Protected Member Functions

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

Protected Attributes

 $configurationItemRepository
 
 $injectedObjectManagerMock
 
- Protected Attributes inherited from UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Tests for ConfigurationItemRepository

Definition at line 21 of file ConfigurationItemRepositoryTest.php.

Member Function Documentation

addMetaInformationReturnsMetaInformation ( )
Test:
Returns
void

Definition at line 196 of file ConfigurationItemRepositoryTest.php.

addMetaInformationUnsetsOriginalConfigurationMetaKey ( )
Test:
Returns
void

Definition at line 182 of file ConfigurationItemRepositoryTest.php.

extractInformationForConfigFieldsOfTypeOptionsAddsGenericTypeAndLabelInformation ( )
Test:
Returns
void

Definition at line 271 of file ConfigurationItemRepositoryTest.php.

extractInformationForConfigFieldsOfTypeOptionsWithLabelsAndValuesAddsGenericTypeAndLabelInformation ( )
Test:
Returns
void

Definition at line 301 of file ConfigurationItemRepositoryTest.php.

extractInformationForConfigFieldsOfTypeUserAddsGenericAndTypeInformation (   $configurationOption)
Test:
extractInformationForConfigFieldsOfTypeUserAddsGenericAndTypeInformationDataProvider
Parameters
$configurationOption
Returns
void

Definition at line 260 of file ConfigurationItemRepositoryTest.php.

extractInformationForConfigFieldsOfTypeUserAddsGenericAndTypeInformationDataProvider ( )
Returns
array

Definition at line 209 of file ConfigurationItemRepositoryTest.php.

getConfigurationArrayFromExtensionKeyReturnsSortedHierarchicArray ( )
mergeDefaultConfigurationCatchesExceptionOfConfigurationManagerIfNoLocalConfigurationExists ( )
Test:
Returns
void

Definition at line 331 of file ConfigurationItemRepositoryTest.php.

References BaseTestCase\getUniqueId().

mergeDefaultConfigurationWithNoCurrentValuesReturnsTheDefaultConfiguration ( )
Test:
Returns
void

Definition at line 355 of file ConfigurationItemRepositoryTest.php.

References BaseTestCase\getUniqueId().

mergeWithExistingConfigurationOverwritesDefaultKeysWithCurrent ( )
Test:
Returns
void

Definition at line 382 of file ConfigurationItemRepositoryTest.php.

setUp ( )
protected

Set up

Returns
void

Definition at line 38 of file ConfigurationItemRepositoryTest.php.

References BaseTestCase\getAccessibleMock().

Member Data Documentation

$injectedObjectManagerMock
protected

Definition at line 31 of file ConfigurationItemRepositoryTest.php.