TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Core\Tests\Unit\Configuration\ConfigurationManagerTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\Configuration\ConfigurationManagerTest:
TYPO3\CMS\Core\Tests\UnitTestCase TYPO3\CMS\Core\Tests\BaseTestCase

Public Member Functions

 setUp ()
 
 tearDown ()
 
 getDefaultConfigurationExecutesDefinedDefaultConfigurationFile ()
 
 getLocalConfigurationExecutesDefinedConfigurationFile ()
 
 updateLocalConfigurationWritesNewMergedLocalConfigurationArray ()
 
 getDefaultConfigurationValueByPathReturnsCorrectValue ()
 
 getLocalConfigurationValueByPathReturnsCorrectValue ()
 
 getConfigurationValueByPathReturnsCorrectValue ()
 
 setLocalConfigurationValueByPathReturnFalseIfPathIsNotValid ()
 
 setLocalConfigurationValueByPathUpdatesValueDefinedByPath ()
 
 setLocalConfigurationValuesByPathValuePairsSetsPathValuePairs ()
 
 removeLocalConfigurationKeysByPathRemovesGivenPathsFromConfigurationAndReturnsTrue ()
 
 removeLocalConfigurationKeysByPathReturnsFalseIfNothingIsRemoved ()
 
 removeLocalConfigurationKeysByPathReturnsFalseIfSomethingInexistentIsRemoved ()
 
 writeLocalConfigurationWritesSortedContentToConfigurationFile ()
 

Protected Member Functions

 createFixtureWithMockedMethods (array $methods)
 
- 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='')
 

Protected Attributes

 $testFilesToDelete = array()
 
 $fixture
 
- 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
 

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

Author
Christian Kuhn lolli.nosp@m.@sch.nosp@m.warzb.nosp@m.u.ch

Definition at line 22 of file ConfigurationManagerTest.php.

Member Function Documentation

◆ createFixtureWithMockedMethods()

TYPO3\CMS\Core\Tests\Unit\Configuration\ConfigurationManagerTest::createFixtureWithMockedMethods ( array  $methods)
protected

◆ getConfigurationValueByPathReturnsCorrectValue()

TYPO3\CMS\Core\Tests\Unit\Configuration\ConfigurationManagerTest::getConfigurationValueByPathReturnsCorrectValue ( )

◆ getDefaultConfigurationExecutesDefinedDefaultConfigurationFile()

TYPO3\CMS\Core\Tests\Unit\Configuration\ConfigurationManagerTest::getDefaultConfigurationExecutesDefinedDefaultConfigurationFile ( )

◆ getDefaultConfigurationValueByPathReturnsCorrectValue()

TYPO3\CMS\Core\Tests\Unit\Configuration\ConfigurationManagerTest::getDefaultConfigurationValueByPathReturnsCorrectValue ( )

◆ getLocalConfigurationExecutesDefinedConfigurationFile()

TYPO3\CMS\Core\Tests\Unit\Configuration\ConfigurationManagerTest::getLocalConfigurationExecutesDefinedConfigurationFile ( )

◆ getLocalConfigurationValueByPathReturnsCorrectValue()

TYPO3\CMS\Core\Tests\Unit\Configuration\ConfigurationManagerTest::getLocalConfigurationValueByPathReturnsCorrectValue ( )

◆ removeLocalConfigurationKeysByPathRemovesGivenPathsFromConfigurationAndReturnsTrue()

TYPO3\CMS\Core\Tests\Unit\Configuration\ConfigurationManagerTest::removeLocalConfigurationKeysByPathRemovesGivenPathsFromConfigurationAndReturnsTrue ( )

◆ removeLocalConfigurationKeysByPathReturnsFalseIfNothingIsRemoved()

TYPO3\CMS\Core\Tests\Unit\Configuration\ConfigurationManagerTest::removeLocalConfigurationKeysByPathReturnsFalseIfNothingIsRemoved ( )

◆ removeLocalConfigurationKeysByPathReturnsFalseIfSomethingInexistentIsRemoved()

◆ setLocalConfigurationValueByPathReturnFalseIfPathIsNotValid()

TYPO3\CMS\Core\Tests\Unit\Configuration\ConfigurationManagerTest::setLocalConfigurationValueByPathReturnFalseIfPathIsNotValid ( )

◆ setLocalConfigurationValueByPathUpdatesValueDefinedByPath()

TYPO3\CMS\Core\Tests\Unit\Configuration\ConfigurationManagerTest::setLocalConfigurationValueByPathUpdatesValueDefinedByPath ( )

◆ setLocalConfigurationValuesByPathValuePairsSetsPathValuePairs()

TYPO3\CMS\Core\Tests\Unit\Configuration\ConfigurationManagerTest::setLocalConfigurationValuesByPathValuePairsSetsPathValuePairs ( )

◆ setUp()

TYPO3\CMS\Core\Tests\Unit\Configuration\ConfigurationManagerTest::setUp ( )

◆ tearDown()

TYPO3\CMS\Core\Tests\Unit\Configuration\ConfigurationManagerTest::tearDown ( )

Tear down test case

Definition at line 47 of file ConfigurationManagerTest.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\unlink_tempfile().

◆ updateLocalConfigurationWritesNewMergedLocalConfigurationArray()

TYPO3\CMS\Core\Tests\Unit\Configuration\ConfigurationManagerTest::updateLocalConfigurationWritesNewMergedLocalConfigurationArray ( )

◆ writeLocalConfigurationWritesSortedContentToConfigurationFile()

TYPO3\CMS\Core\Tests\Unit\Configuration\ConfigurationManagerTest::writeLocalConfigurationWritesSortedContentToConfigurationFile ( )

Member Data Documentation

◆ $fixture

◆ $testFilesToDelete

TYPO3\CMS\Core\Tests\Unit\Configuration\ConfigurationManagerTest::$testFilesToDelete = array()
protected

Absolute path to files that must be removed after a test - handled in tearDown

Definition at line 28 of file ConfigurationManagerTest.php.