‪TYPO3CMS  11.5
TYPO3\CMS\Install\Tests\Unit\Service\SilentConfigurationUpgradeServiceTest Class Reference
Inheritance diagram for TYPO3\CMS\Install\Tests\Unit\Service\SilentConfigurationUpgradeServiceTest:

Public Member Functions

 removeObsoleteLocalConfigurationSettingsIfThereAreOldSettings ()
 
 doNotRemoveObsoleteLocalConfigurationSettingsIfThereAreNoOldSettings ()
 
 doNotGenerateEncryptionKeyIfExists ()
 
 generateEncryptionKeyIfNotExists ()
 
array httpSettingsMappingDataProvider ()
 
 transferHttpSettingsIfSet (array $currentLocalConfiguration, array $newSettings, bool $localConfigurationNeedsUpdate)
 
 disableImageMagickDetailSettingsIfImageMagickIsDisabled ()
 
 doNotDisableImageMagickDetailSettingsIfImageMagickIsEnabled ()
 
 setImageMagickDetailSettings ()
 
 doNotSetImageMagickDetailSettings ()
 
 migratesGraphicsProcessorEffects ($currentValue, bool $expectedMigratedValue)
 
array graphicsProcessorEffects ()
 
 migrateNonExistingLangDebug ()
 
 migrateExistingLangDebug ()
 
 migrateCacheHashOptions ()
 
 migrateSaltedPasswordsSettingsDoesNothingIfExtensionConfigsAreNotSet ()
 
 migrateSaltedPasswordsSettingsDoesNothingIfExtensionConfigsAreEmpty ()
 
 migrateSaltedPasswordsSettingsRemovesExtensionsConfigAndSetsNothingElseIfArgon2iIsAvailable ()
 
 migrateSaltedPasswordsSetsSpecificHashMethodIfArgon2idAndArgon2iIsNotAvailable ()
 
 migrateCachingFrameworkCachesMigratesData ()
 
 migrateCachingFrameworkCachesDoesNotMigrateWithoutPrefix ()
 
 migrateExplicitADmodeKeepsCurrentValueDataProvider ()
 
 migrateExplicitADmodeKeepsCurrentValue (string $value)
 
 migrateExplicitADmodeMigratesIfNeeded ()
 

Protected Member Functions

 setUp ()
 
 tearDown ()
 
 createConfigurationManagerWithMockedMethods (array $methods)
 

Protected Attributes

ConfigurationManager MockObject $configurationManager
 
UnitTestPackageManager $backupPackageManager
 

Detailed Description

Test case

Definition at line 42 of file SilentConfigurationUpgradeServiceTest.php.

Member Function Documentation

◆ createConfigurationManagerWithMockedMethods()

TYPO3\CMS\Install\Tests\Unit\Service\SilentConfigurationUpgradeServiceTest::createConfigurationManagerWithMockedMethods ( array  $methods)
protected

◆ disableImageMagickDetailSettingsIfImageMagickIsDisabled()

TYPO3\CMS\Install\Tests\Unit\Service\SilentConfigurationUpgradeServiceTest::disableImageMagickDetailSettingsIfImageMagickIsDisabled ( )

◆ doNotDisableImageMagickDetailSettingsIfImageMagickIsEnabled()

TYPO3\CMS\Install\Tests\Unit\Service\SilentConfigurationUpgradeServiceTest::doNotDisableImageMagickDetailSettingsIfImageMagickIsEnabled ( )

◆ doNotGenerateEncryptionKeyIfExists()

TYPO3\CMS\Install\Tests\Unit\Service\SilentConfigurationUpgradeServiceTest::doNotGenerateEncryptionKeyIfExists ( )

◆ doNotRemoveObsoleteLocalConfigurationSettingsIfThereAreNoOldSettings()

TYPO3\CMS\Install\Tests\Unit\Service\SilentConfigurationUpgradeServiceTest::doNotRemoveObsoleteLocalConfigurationSettingsIfThereAreNoOldSettings ( )

◆ doNotSetImageMagickDetailSettings()

TYPO3\CMS\Install\Tests\Unit\Service\SilentConfigurationUpgradeServiceTest::doNotSetImageMagickDetailSettings ( )

◆ generateEncryptionKeyIfNotExists()

TYPO3\CMS\Install\Tests\Unit\Service\SilentConfigurationUpgradeServiceTest::generateEncryptionKeyIfNotExists ( )

◆ graphicsProcessorEffects()

array TYPO3\CMS\Install\Tests\Unit\Service\SilentConfigurationUpgradeServiceTest::graphicsProcessorEffects ( )
Returns
‪array

Definition at line 566 of file SilentConfigurationUpgradeServiceTest.php.

◆ httpSettingsMappingDataProvider()

array TYPO3\CMS\Install\Tests\Unit\Service\SilentConfigurationUpgradeServiceTest::httpSettingsMappingDataProvider ( )

Data provider for transferHttpSettings

Returns
‪array

Definition at line 229 of file SilentConfigurationUpgradeServiceTest.php.

◆ migrateCacheHashOptions()

TYPO3\CMS\Install\Tests\Unit\Service\SilentConfigurationUpgradeServiceTest::migrateCacheHashOptions ( )

◆ migrateCachingFrameworkCachesDoesNotMigrateWithoutPrefix()

TYPO3\CMS\Install\Tests\Unit\Service\SilentConfigurationUpgradeServiceTest::migrateCachingFrameworkCachesDoesNotMigrateWithoutPrefix ( )

◆ migrateCachingFrameworkCachesMigratesData()

TYPO3\CMS\Install\Tests\Unit\Service\SilentConfigurationUpgradeServiceTest::migrateCachingFrameworkCachesMigratesData ( )

◆ migrateExistingLangDebug()

TYPO3\CMS\Install\Tests\Unit\Service\SilentConfigurationUpgradeServiceTest::migrateExistingLangDebug ( )

◆ migrateExplicitADmodeKeepsCurrentValue()

TYPO3\CMS\Install\Tests\Unit\Service\SilentConfigurationUpgradeServiceTest::migrateExplicitADmodeKeepsCurrentValue ( string  $value)
Test:
‪@dataProvider migrateExplicitADmodeKeepsCurrentValueDataProvider

Definition at line 927 of file SilentConfigurationUpgradeServiceTest.php.

References TYPO3\CMS\Install\Tests\Unit\Service\SilentConfigurationUpgradeServiceTest\$configurationManager.

◆ migrateExplicitADmodeKeepsCurrentValueDataProvider()

TYPO3\CMS\Install\Tests\Unit\Service\SilentConfigurationUpgradeServiceTest::migrateExplicitADmodeKeepsCurrentValueDataProvider ( )

Definition at line 905 of file SilentConfigurationUpgradeServiceTest.php.

◆ migrateExplicitADmodeMigratesIfNeeded()

TYPO3\CMS\Install\Tests\Unit\Service\SilentConfigurationUpgradeServiceTest::migrateExplicitADmodeMigratesIfNeeded ( )

◆ migrateNonExistingLangDebug()

TYPO3\CMS\Install\Tests\Unit\Service\SilentConfigurationUpgradeServiceTest::migrateNonExistingLangDebug ( )

◆ migrateSaltedPasswordsSetsSpecificHashMethodIfArgon2idAndArgon2iIsNotAvailable()

TYPO3\CMS\Install\Tests\Unit\Service\SilentConfigurationUpgradeServiceTest::migrateSaltedPasswordsSetsSpecificHashMethodIfArgon2idAndArgon2iIsNotAvailable ( )

◆ migrateSaltedPasswordsSettingsDoesNothingIfExtensionConfigsAreEmpty()

TYPO3\CMS\Install\Tests\Unit\Service\SilentConfigurationUpgradeServiceTest::migrateSaltedPasswordsSettingsDoesNothingIfExtensionConfigsAreEmpty ( )

◆ migrateSaltedPasswordsSettingsDoesNothingIfExtensionConfigsAreNotSet()

TYPO3\CMS\Install\Tests\Unit\Service\SilentConfigurationUpgradeServiceTest::migrateSaltedPasswordsSettingsDoesNothingIfExtensionConfigsAreNotSet ( )

◆ migrateSaltedPasswordsSettingsRemovesExtensionsConfigAndSetsNothingElseIfArgon2iIsAvailable()

TYPO3\CMS\Install\Tests\Unit\Service\SilentConfigurationUpgradeServiceTest::migrateSaltedPasswordsSettingsRemovesExtensionsConfigAndSetsNothingElseIfArgon2iIsAvailable ( )

◆ migratesGraphicsProcessorEffects()

TYPO3\CMS\Install\Tests\Unit\Service\SilentConfigurationUpgradeServiceTest::migratesGraphicsProcessorEffects (   $currentValue,
bool  $expectedMigratedValue 
)

◆ removeObsoleteLocalConfigurationSettingsIfThereAreOldSettings()

TYPO3\CMS\Install\Tests\Unit\Service\SilentConfigurationUpgradeServiceTest::removeObsoleteLocalConfigurationSettingsIfThereAreOldSettings ( )

◆ setImageMagickDetailSettings()

◆ setUp()

TYPO3\CMS\Install\Tests\Unit\Service\SilentConfigurationUpgradeServiceTest::setUp ( )
protected

◆ tearDown()

TYPO3\CMS\Install\Tests\Unit\Service\SilentConfigurationUpgradeServiceTest::tearDown ( )
protected

◆ transferHttpSettingsIfSet()

TYPO3\CMS\Install\Tests\Unit\Service\SilentConfigurationUpgradeServiceTest::transferHttpSettingsIfSet ( array  $currentLocalConfiguration,
array  $newSettings,
bool  $localConfigurationNeedsUpdate 
)
Test:
‪@dataProvider httpSettingsMappingDataProvider
Parameters
array$currentLocalConfiguration
array$newSettings
bool$localConfigurationNeedsUpdate

Definition at line 330 of file SilentConfigurationUpgradeServiceTest.php.

References TYPO3\CMS\Install\Tests\Unit\Service\SilentConfigurationUpgradeServiceTest\createConfigurationManagerWithMockedMethods().

Member Data Documentation

◆ $backupPackageManager

UnitTestPackageManager TYPO3\CMS\Install\Tests\Unit\Service\SilentConfigurationUpgradeServiceTest::$backupPackageManager
protected

A backup of unit test package manager

Definition at line 51 of file SilentConfigurationUpgradeServiceTest.php.

◆ $configurationManager