TYPO3  7.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
DatabaseRecordTypeValueTest Class Reference
Inheritance diagram for DatabaseRecordTypeValueTest:

Public Member Functions

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

Protected Member Functions

 setUp ()
 

Protected Attributes

 $subject
 
 $dbProphecy
 

Detailed Description

Test case

Definition at line 25 of file DatabaseRecordTypeValueTest.php.

Member Function Documentation

addDataSetsRecordTypeValueToHistoricalOneIfTypeZeroIsNotDefined ( )
Test:

Definition at line 64 of file DatabaseRecordTypeValueTest.php.

addDataSetsRecordTypeValueToValueOfDatabaseField ( )
Test:

Definition at line 124 of file DatabaseRecordTypeValueTest.php.

addDataSetsRecordTypeValueToValueOfDefaultLanguageRecordIfConfiguredAsExclude ( )
Test:

Definition at line 223 of file DatabaseRecordTypeValueTest.php.

addDataSetsRecordTypeValueToValueOfDefaultLanguageRecordIfConfiguredAsMergeIfNotBlank ( )
Test:

Definition at line 258 of file DatabaseRecordTypeValueTest.php.

addDataSetsRecordTypeValueToValueOfLocalizedRecordIfConfiguredAsMergeIfNotBlankButNotBlank ( )
Test:

Definition at line 293 of file DatabaseRecordTypeValueTest.php.

addDataSetsRecordTypeValueToZero ( )
Test:

Definition at line 81 of file DatabaseRecordTypeValueTest.php.

addDataSetsRecordTypeValueToZeroIfValueOfDatabaseFieldIsEmptyString ( )
Test:

Definition at line 174 of file DatabaseRecordTypeValueTest.php.

addDataSetsRecordTypeValueToZeroIfValueOfDatabaseFieldIsNotDefinedInTca ( )
Test:

Definition at line 149 of file DatabaseRecordTypeValueTest.php.

addDataSetsTypeValueFromForeignTableRecord ( )
Test:

Definition at line 387 of file DatabaseRecordTypeValueTest.php.

References $GLOBALS.

addDataSetsTypeValueFromNestedTcaGroupField ( )
Test:

Definition at line 430 of file DatabaseRecordTypeValueTest.php.

References $GLOBALS.

addDataThrowsExceptionForForeignTypeConfigurationNotAsSelectOrGroup ( )
Test:

Definition at line 328 of file DatabaseRecordTypeValueTest.php.

addDataThrowsExceptionForForeignTypeIfPointerConfigurationHasNoTable ( )
Test:

Definition at line 356 of file DatabaseRecordTypeValueTest.php.

addDataThrowsExceptionIfTcaTypesAreEmpty ( )
Test:

Definition at line 48 of file DatabaseRecordTypeValueTest.php.

addDataThrowsExceptionIfTypePointsToANotExistingField ( )
Test:

Definition at line 100 of file DatabaseRecordTypeValueTest.php.

addDataThrowsExceptionIfValueTypesNotExistsAndNoFallbackExists ( )
Test:

Definition at line 199 of file DatabaseRecordTypeValueTest.php.

setUp ( )
protected

Definition at line 37 of file DatabaseRecordTypeValueTest.php.

References $GLOBALS.

Member Data Documentation

$dbProphecy
protected

Definition at line 35 of file DatabaseRecordTypeValueTest.php.

$subject
protected

Definition at line 30 of file DatabaseRecordTypeValueTest.php.