‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest:

Public Member Functions

 missingTypeThrowsException ()
 
 migrateReturnsGivenArrayUnchangedIfNoMigrationNeeded ()
 
 migrateAddsMissingColumnsConfig ()
 
 ctrlSelIconFieldPathIsRemoved ()
 
 ctrlSetToDefaultOnCopyIsRemoved ()
 
 ctrlIntegrityColumnsAreAvailable (array $tca, array $expectation)
 
 removeEnableMultiSelectFilterTextfieldConfigurationIsRemoved ()
 
 removeExcludeFieldForTransOrigPointerFieldIsRemoved ()
 
 removeShowRecordFieldListFieldIsRemoved ()
 
 ctrlShadowColumnsForMovePlaceholdersIsRemoved ()
 
 ctrlShadowColumnsForMoveAndPlaceholdersIsRemoved ()
 
 languageFieldsAreMigratedToTcaTypeLanguage ()
 
 showRemovedLocalizationRecordsRemoved ()
 
 fileFolderConfigurationIsMigrated ()
 
 levelLinksPositionIsMigrated ()
 
 rootUidIsMigratedToStartingPositions ()
 
 internalTypeFolderMigratedToType (array $input, array $expected)
 
 requiredFlagIsMigrated (array $input, array $expected)
 
 evalNullMigratedToNullableOption (array $input, array $expected)
 
 evalEmailMigratedToType (array $input, array $expected)
 
 typeNoneColsMigratedToSize (array $tca, array $expected)
 
 renderTypeInputLinkMigratedToTypeLink (array $input, array $expected)
 
 evalPasswordSaltedPasswordMigratedToTypePassword (array $input, array $expected)
 
 renderTypeInputDateTimeMigratedToTypeDatetime (array $input, array $expected)
 
 authModeEnforceIsRemoved ()
 
 authModeValuesAreEnforced ()
 
 selectIndividualAllowDenyMigratedToNewPosition (array $input, array $expected)
 
 renderTypeColorpickerToTypeColor (array $input, array $expected)
 
 typeTextWithEvalIntOrDouble2MigratedToTypeNumber (array $input, array $expected)
 
 propertyAlwaysDescriptionIsRemoved (array $input, array $expected)
 
 ctrlCruserIdIsRemoved ()
 
 falHandlingInTypeInlineIsMigratedToTypeFile (array $input, array $expected, $expectedMessagePart='')
 
 falRelatedElementBrowserOptionsAreRemovedFromTypeGroup ()
 
 falRelatedOptionsAreRemovedFromTypeInline ()
 
 passContentIsRemovedFromTypeNone ()
 
 itemsAreMigratedToAssociatedArray ()
 
 migrationRemovesMmInsertFields ()
 
 migrationRemovesMmHasUidFieldIfFalse ()
 
 migrationRemovesMmHasUidFieldIfTrue ()
 

Static Public Member Functions

static ctrlIntegrityColumnsAreAvailableDataProvider ()
 
static internalTypeFolderMigratedToTypeDataProvider ()
 
static requiredFlagIsMigratedDataProvider ()
 
static evalNullMigratedToNullableOptionDataProvider ()
 
static evalEmailMigratedToTypeDataProvider ()
 
static typeNoneColsMigratedToSizeDataProvider ()
 
static renderTypeInputLinkMigratedToTypeLinkDataProvider ()
 
static evalPasswordSaltedPasswordMigratedToTypePasswordDataProvider ()
 
static renderTypeInputDateTimeMigratedToTypeDatetimeDataProvider ()
 
static selectIndividualAllowDenyMigratedToNewPositionDataProvider ()
 
static renderTypeColorpickerToTypeColorDataProvider ()
 
static typeTextWithEvalIntOrDouble2MigratedToTypeNumberDataProvider ()
 
static propertyAlwaysDescriptionIsRemovedDataProvider ()
 
static falHandlingInTypeInlineIsMigratedToTypeFileDataProvider ()
 

Detailed Description

Definition at line 24 of file TcaMigrationTest.php.

Member Function Documentation

◆ authModeEnforceIsRemoved()

TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::authModeEnforceIsRemoved ( )
Test:

Definition at line 2387 of file TcaMigrationTest.php.

◆ authModeValuesAreEnforced()

TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::authModeValuesAreEnforced ( )
Test:

Definition at line 2438 of file TcaMigrationTest.php.

◆ ctrlCruserIdIsRemoved()

TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::ctrlCruserIdIsRemoved ( )
Test:

Definition at line 3103 of file TcaMigrationTest.php.

◆ ctrlIntegrityColumnsAreAvailable()

TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::ctrlIntegrityColumnsAreAvailable ( array  $tca,
array  $expectation 
)
Test:
‪@dataProvider ctrlIntegrityColumnsAreAvailableDataProvider

Definition at line 417 of file TcaMigrationTest.php.

References $tca.

◆ ctrlIntegrityColumnsAreAvailableDataProvider()

static TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::ctrlIntegrityColumnsAreAvailableDataProvider ( )
static

Definition at line 217 of file TcaMigrationTest.php.

◆ ctrlSelIconFieldPathIsRemoved()

TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::ctrlSelIconFieldPathIsRemoved ( )
Test:

Definition at line 144 of file TcaMigrationTest.php.

◆ ctrlSetToDefaultOnCopyIsRemoved()

TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::ctrlSetToDefaultOnCopyIsRemoved ( )
Test:

Definition at line 182 of file TcaMigrationTest.php.

◆ ctrlShadowColumnsForMoveAndPlaceholdersIsRemoved()

TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::ctrlShadowColumnsForMoveAndPlaceholdersIsRemoved ( )
Test:

Definition at line 629 of file TcaMigrationTest.php.

◆ ctrlShadowColumnsForMovePlaceholdersIsRemoved()

TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::ctrlShadowColumnsForMovePlaceholdersIsRemoved ( )
Test:

Definition at line 594 of file TcaMigrationTest.php.

◆ evalEmailMigratedToType()

TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::evalEmailMigratedToType ( array  $input,
array  $expected 
)

@dataProvider evalEmailMigratedToTypeDataProvider

Test:

Definition at line 1661 of file TcaMigrationTest.php.

◆ evalEmailMigratedToTypeDataProvider()

static TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::evalEmailMigratedToTypeDataProvider ( )
static

Definition at line 1576 of file TcaMigrationTest.php.

◆ evalNullMigratedToNullableOption()

TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::evalNullMigratedToNullableOption ( array  $input,
array  $expected 
)

@dataProvider evalNullMigratedToNullableOptionDataProvider

Test:
Parameters
array<string,mixed>‪$input
array<string,mixed>‪$expected

Definition at line 1570 of file TcaMigrationTest.php.

◆ evalNullMigratedToNullableOptionDataProvider()

static TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::evalNullMigratedToNullableOptionDataProvider ( )
static

Definition at line 1454 of file TcaMigrationTest.php.

◆ evalPasswordSaltedPasswordMigratedToTypePassword()

TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::evalPasswordSaltedPasswordMigratedToTypePassword ( array  $input,
array  $expected 
)

@dataProvider evalPasswordSaltedPasswordMigratedToTypePasswordDataProvider

Test:

Definition at line 2092 of file TcaMigrationTest.php.

◆ evalPasswordSaltedPasswordMigratedToTypePasswordDataProvider()

static TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::evalPasswordSaltedPasswordMigratedToTypePasswordDataProvider ( )
static

Definition at line 1977 of file TcaMigrationTest.php.

◆ falHandlingInTypeInlineIsMigratedToTypeFile()

TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::falHandlingInTypeInlineIsMigratedToTypeFile ( array  $input,
array  $expected,
  $expectedMessagePart = '' 
)

@dataProvider falHandlingInTypeInlineIsMigratedToTypeFileDataProvider

Test:
Parameters
array<string,mixed>‪$input
array<string,mixed>‪$expected
string$expectedMessagePart

Definition at line 3381 of file TcaMigrationTest.php.

◆ falHandlingInTypeInlineIsMigratedToTypeFileDataProvider()

static TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::falHandlingInTypeInlineIsMigratedToTypeFileDataProvider ( )
static

Definition at line 3122 of file TcaMigrationTest.php.

◆ falRelatedElementBrowserOptionsAreRemovedFromTypeGroup()

TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::falRelatedElementBrowserOptionsAreRemovedFromTypeGroup ( )
Test:

Definition at line 3400 of file TcaMigrationTest.php.

◆ falRelatedOptionsAreRemovedFromTypeInline()

TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::falRelatedOptionsAreRemovedFromTypeInline ( )
Test:

Definition at line 3435 of file TcaMigrationTest.php.

◆ fileFolderConfigurationIsMigrated()

TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::fileFolderConfigurationIsMigrated ( )
Test:

Definition at line 909 of file TcaMigrationTest.php.

◆ internalTypeFolderMigratedToType()

TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::internalTypeFolderMigratedToType ( array  $input,
array  $expected 
)

@dataProvider internalTypeFolderMigratedToTypeDataProvider

Test:

Definition at line 1328 of file TcaMigrationTest.php.

◆ internalTypeFolderMigratedToTypeDataProvider()

static TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::internalTypeFolderMigratedToTypeDataProvider ( )
static

Definition at line 1280 of file TcaMigrationTest.php.

◆ itemsAreMigratedToAssociatedArray()

TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::itemsAreMigratedToAssociatedArray ( )
Test:

Definition at line 3516 of file TcaMigrationTest.php.

◆ languageFieldsAreMigratedToTcaTypeLanguage()

TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::languageFieldsAreMigratedToTcaTypeLanguage ( )
Test:

Definition at line 665 of file TcaMigrationTest.php.

◆ levelLinksPositionIsMigrated()

TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::levelLinksPositionIsMigrated ( )
Test:

Definition at line 1060 of file TcaMigrationTest.php.

◆ migrateAddsMissingColumnsConfig()

TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::migrateAddsMissingColumnsConfig ( )
Test:

Definition at line 89 of file TcaMigrationTest.php.

◆ migrateReturnsGivenArrayUnchangedIfNoMigrationNeeded()

TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::migrateReturnsGivenArrayUnchangedIfNoMigrationNeeded ( )
Test:

Definition at line 59 of file TcaMigrationTest.php.

◆ migrationRemovesMmHasUidFieldIfFalse()

TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::migrationRemovesMmHasUidFieldIfFalse ( )
Test:

Definition at line 3666 of file TcaMigrationTest.php.

◆ migrationRemovesMmHasUidFieldIfTrue()

TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::migrationRemovesMmHasUidFieldIfTrue ( )
Test:

Definition at line 3697 of file TcaMigrationTest.php.

◆ migrationRemovesMmInsertFields()

TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::migrationRemovesMmInsertFields ( )
Test:

Definition at line 3633 of file TcaMigrationTest.php.

◆ missingTypeThrowsException()

TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::missingTypeThrowsException ( )
Test:

Definition at line 29 of file TcaMigrationTest.php.

◆ passContentIsRemovedFromTypeNone()

TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::passContentIsRemovedFromTypeNone ( )
Test:

Definition at line 3473 of file TcaMigrationTest.php.

◆ propertyAlwaysDescriptionIsRemoved()

TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::propertyAlwaysDescriptionIsRemoved ( array  $input,
array  $expected 
)

@dataProvider propertyAlwaysDescriptionIsRemovedDataProvider

Test:
Parameters
array<string,mixed>‪$input
array<string,mixed>‪$expected

Definition at line 3094 of file TcaMigrationTest.php.

◆ propertyAlwaysDescriptionIsRemovedDataProvider()

static TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::propertyAlwaysDescriptionIsRemovedDataProvider ( )
static

Definition at line 3049 of file TcaMigrationTest.php.

◆ removeEnableMultiSelectFilterTextfieldConfigurationIsRemoved()

TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::removeEnableMultiSelectFilterTextfieldConfigurationIsRemoved ( )
Test:

Definition at line 426 of file TcaMigrationTest.php.

◆ removeExcludeFieldForTransOrigPointerFieldIsRemoved()

TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::removeExcludeFieldForTransOrigPointerFieldIsRemoved ( )
Test:

Definition at line 479 of file TcaMigrationTest.php.

◆ removeShowRecordFieldListFieldIsRemoved()

TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::removeShowRecordFieldListFieldIsRemoved ( )
Test:

Definition at line 561 of file TcaMigrationTest.php.

◆ renderTypeColorpickerToTypeColor()

TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::renderTypeColorpickerToTypeColor ( array  $input,
array  $expected 
)

@dataProvider renderTypeColorpickerToTypeColorDataProvider

Test:

Definition at line 2871 of file TcaMigrationTest.php.

◆ renderTypeColorpickerToTypeColorDataProvider()

static TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::renderTypeColorpickerToTypeColorDataProvider ( )
static

Definition at line 2794 of file TcaMigrationTest.php.

◆ renderTypeInputDateTimeMigratedToTypeDatetime()

TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::renderTypeInputDateTimeMigratedToTypeDatetime ( array  $input,
array  $expected 
)

@dataProvider renderTypeInputDateTimeMigratedToTypeDatetimeDataProvider

Test:

Definition at line 2378 of file TcaMigrationTest.php.

◆ renderTypeInputDateTimeMigratedToTypeDatetimeDataProvider()

static TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::renderTypeInputDateTimeMigratedToTypeDatetimeDataProvider ( )
static

Definition at line 2098 of file TcaMigrationTest.php.

◆ renderTypeInputLinkMigratedToTypeLink()

TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::renderTypeInputLinkMigratedToTypeLink ( array  $input,
array  $expected 
)

@dataProvider renderTypeInputLinkMigratedToTypeLinkDataProvider

Test:

Definition at line 1971 of file TcaMigrationTest.php.

◆ renderTypeInputLinkMigratedToTypeLinkDataProvider()

static TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::renderTypeInputLinkMigratedToTypeLinkDataProvider ( )
static

Definition at line 1737 of file TcaMigrationTest.php.

◆ requiredFlagIsMigrated()

TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::requiredFlagIsMigrated ( array  $input,
array  $expected 
)

@dataProvider requiredFlagIsMigratedDataProvider

Test:

Definition at line 1448 of file TcaMigrationTest.php.

◆ requiredFlagIsMigratedDataProvider()

static TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::requiredFlagIsMigratedDataProvider ( )
static

Definition at line 1334 of file TcaMigrationTest.php.

◆ rootUidIsMigratedToStartingPositions()

TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::rootUidIsMigratedToStartingPositions ( )
Test:

Definition at line 1173 of file TcaMigrationTest.php.

◆ selectIndividualAllowDenyMigratedToNewPosition()

TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::selectIndividualAllowDenyMigratedToNewPosition ( array  $input,
array  $expected 
)

@dataProvider selectIndividualAllowDenyMigratedToNewPositionDataProvider

Test:

Definition at line 2788 of file TcaMigrationTest.php.

◆ selectIndividualAllowDenyMigratedToNewPositionDataProvider()

static TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::selectIndividualAllowDenyMigratedToNewPositionDataProvider ( )
static

Definition at line 2515 of file TcaMigrationTest.php.

◆ showRemovedLocalizationRecordsRemoved()

TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::showRemovedLocalizationRecordsRemoved ( )
Test:

Definition at line 826 of file TcaMigrationTest.php.

◆ typeNoneColsMigratedToSize()

TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::typeNoneColsMigratedToSize ( array  $tca,
array  $expected 
)

@dataProvider typeNoneColsMigratedToSizeDataProvider

Test:

Definition at line 1731 of file TcaMigrationTest.php.

References $tca.

◆ typeNoneColsMigratedToSizeDataProvider()

static TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::typeNoneColsMigratedToSizeDataProvider ( )
static

Definition at line 1667 of file TcaMigrationTest.php.

◆ typeTextWithEvalIntOrDouble2MigratedToTypeNumber()

TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::typeTextWithEvalIntOrDouble2MigratedToTypeNumber ( array  $input,
array  $expected 
)

@dataProvider typeTextWithEvalIntOrDouble2MigratedToTypeNumberDataProvider

Test:
Parameters
array<string,mixed>‪$input
array<string,mixed>‪$expected

Definition at line 3043 of file TcaMigrationTest.php.

◆ typeTextWithEvalIntOrDouble2MigratedToTypeNumberDataProvider()

static TYPO3\CMS\Core\Tests\Unit\Migrations\TcaMigrationTest::typeTextWithEvalIntOrDouble2MigratedToTypeNumberDataProvider ( )
static

Definition at line 2877 of file TcaMigrationTest.php.