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

Public Member Functions

 addDataThrowsExceptionIfTcaTypesAreEmpty ()
 
 addDataKeepsExistingTcaRecordTypeValue ()
 
 addDataKeepsExistingTcaRecordTypeValueWithValueZero ()
 
 addDataSetsRecordTypeValueToHistoricalOneIfTypeZeroIsNotDefined ()
 
 addDataSetsRecordTypeValueToZero ()
 
 addDataThrowsExceptionIfTypePointsToANotExistingField ()
 
 addDataSetsRecordTypeValueToValueOfDatabaseField ()
 
 addDataSetsRecordTypeValueToZeroIfValueOfDatabaseFieldIsNotDefinedInTca ()
 
 addDataSetsRecordTypeValueToZeroIfValueOfDatabaseFieldIsEmptyString ()
 
 addDataThrowsExceptionIfValueTypesNotExistsAndNoFallbackExists ()
 
 addDataSetsRecordTypeValueToValueOfDefaultLanguageRecordIfConfiguredAsExclude ()
 
 addDataSetsRecordTypeValueToValueOfDefaultLanguageRecordIfConfiguredAsMergeIfNotBlank ()
 
 addDataSetsRecordTypeValueToValueOfLocalizedRecordIfConfiguredAsMergeIfNotBlankButNotBlank ()
 
 addDataThrowsExceptionForForeignTypeConfigurationNotAsSelectOrGroup ()
 
 addDataThrowsExceptionForForeignTypeIfPointerConfigurationHasNoTable ()
 
 addDataSetsTypeValueFromForeignTableRecord ()
 
 addDataSetsTypeValueFromNestedTcaGroupField ()
 

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

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

Detailed Description

Test case

Definition at line 25 of file DatabaseRecordTypeValueTest.php.

Member Function Documentation

addDataKeepsExistingTcaRecordTypeValue ( )
Test:

Definition at line 64 of file DatabaseRecordTypeValueTest.php.

addDataKeepsExistingTcaRecordTypeValueWithValueZero ( )
Test:

Definition at line 81 of file DatabaseRecordTypeValueTest.php.

addDataSetsRecordTypeValueToHistoricalOneIfTypeZeroIsNotDefined ( )
Test:

Definition at line 98 of file DatabaseRecordTypeValueTest.php.

addDataSetsRecordTypeValueToValueOfDatabaseField ( )
Test:

Definition at line 162 of file DatabaseRecordTypeValueTest.php.

addDataSetsRecordTypeValueToValueOfDefaultLanguageRecordIfConfiguredAsExclude ( )
Test:

Definition at line 266 of file DatabaseRecordTypeValueTest.php.

addDataSetsRecordTypeValueToValueOfDefaultLanguageRecordIfConfiguredAsMergeIfNotBlank ( )
Test:

Definition at line 302 of file DatabaseRecordTypeValueTest.php.

addDataSetsRecordTypeValueToValueOfLocalizedRecordIfConfiguredAsMergeIfNotBlankButNotBlank ( )
Test:

Definition at line 338 of file DatabaseRecordTypeValueTest.php.

addDataSetsRecordTypeValueToZero ( )
Test:

Definition at line 116 of file DatabaseRecordTypeValueTest.php.

addDataSetsRecordTypeValueToZeroIfValueOfDatabaseFieldIsEmptyString ( )
Test:

Definition at line 214 of file DatabaseRecordTypeValueTest.php.

addDataSetsRecordTypeValueToZeroIfValueOfDatabaseFieldIsNotDefinedInTca ( )
Test:

Definition at line 188 of file DatabaseRecordTypeValueTest.php.

addDataSetsTypeValueFromForeignTableRecord ( )
Test:

Definition at line 437 of file DatabaseRecordTypeValueTest.php.

addDataSetsTypeValueFromNestedTcaGroupField ( )
Test:

Definition at line 481 of file DatabaseRecordTypeValueTest.php.

addDataThrowsExceptionForForeignTypeConfigurationNotAsSelectOrGroup ( )
Test:

Definition at line 374 of file DatabaseRecordTypeValueTest.php.

addDataThrowsExceptionForForeignTypeIfPointerConfigurationHasNoTable ( )
Test:

Definition at line 404 of file DatabaseRecordTypeValueTest.php.

addDataThrowsExceptionIfTcaTypesAreEmpty ( )
Test:

Definition at line 47 of file DatabaseRecordTypeValueTest.php.

addDataThrowsExceptionIfTypePointsToANotExistingField ( )
Test:

Definition at line 136 of file DatabaseRecordTypeValueTest.php.

addDataThrowsExceptionIfValueTypesNotExistsAndNoFallbackExists ( )
Test:

Definition at line 240 of file DatabaseRecordTypeValueTest.php.

setUp ( )
protected

Definition at line 37 of file DatabaseRecordTypeValueTest.php.

Member Data Documentation

$dbProphecy
protected

Definition at line 35 of file DatabaseRecordTypeValueTest.php.

$subject
protected

Definition at line 30 of file DatabaseRecordTypeValueTest.php.