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

Public Member Functions

 addDataReturnSameDataIfCommandIsEdit ()
 
 addDataThrowsExceptionIfDatabaseRowIsNotArray ()
 
 addDataKeepsGivenDefaultsIfCommandIsNew ()
 
 addDataSetsDefaultDataFromUserTsIfColumnIsDefinedInTca ()
 
 addDataDoesNotSetDefaultDataFromUserTsIfColumnIsMissingInTca ()
 
 addDataSetsDefaultDataFromPageTsIfColumnIsDefinedInTca ()
 
 addDataDoesNotSetDefaultDataFromPageTsIfColumnIsMissingInTca ()
 
 addDataSetsDefaultDataOverrulingFromPageTs ()
 
 addDataSetsDefaultFromNeighborRow ()
 
 addDataSetsDefaultDataOverrulingFromNeighborRow ()
 
 addDataSetsDefaultDataFromGetIfColumnIsDefinedInTca ()
 
 addDataSetsDefaultDataFromPostIfColumnIsDefinedInTca ()
 
 addDataSetsPrioritizesDefaultPostOverDefaultGet ()
 
 addDataDoesNotSetDefaultDataFromGetPostIfColumnIsMissingInTca ()
 
 addDataSetsDefaultDataOverrulingGetPost ()
 
 addDataThrowsExceptionWithGivenChildChildUidButMissingInlineConfig ()
 
 addDataThrowsExceptionWithGivenChildChildUidButIsNotInteger ()
 
 addDataSetsForeignSelectorFieldToValueOfChildChildUid ()
 
 addDataThrowsExceptionIfForeignSelectorDoesNotPointToGroupOrSelectField ()
 
 addDataSetsPidToVanillaUid ()
 
 addDataDoesNotUsePageTsValueForPidIfRecordIsNotInlineChild ()
 
 addDataThrowsExceptionIfPageTsConfigPidValueCanNotBeInterpretedAsInteger ()
 
 addDataDoesUsePageTsValueForPidIfRecordIsInlineChild ()
 

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
 
- 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 23 of file DatabaseRowInitializeNewTest.php.

Member Function Documentation

addDataDoesNotSetDefaultDataFromGetPostIfColumnIsMissingInTca ( )
Test:

Definition at line 423 of file DatabaseRowInitializeNewTest.php.

References $GLOBALS.

addDataDoesNotSetDefaultDataFromPageTsIfColumnIsMissingInTca ( )
Test:

Definition at line 183 of file DatabaseRowInitializeNewTest.php.

addDataDoesNotSetDefaultDataFromUserTsIfColumnIsMissingInTca ( )
Test:

Definition at line 124 of file DatabaseRowInitializeNewTest.php.

addDataDoesNotUsePageTsValueForPidIfRecordIsNotInlineChild ( )
Test:

Definition at line 619 of file DatabaseRowInitializeNewTest.php.

addDataDoesUsePageTsValueForPidIfRecordIsInlineChild ( )
Test:

Definition at line 667 of file DatabaseRowInitializeNewTest.php.

addDataKeepsGivenDefaultsIfCommandIsNew ( )
Test:

Definition at line 75 of file DatabaseRowInitializeNewTest.php.

addDataReturnSameDataIfCommandIsEdit ( )
Test:

Definition at line 38 of file DatabaseRowInitializeNewTest.php.

addDataSetsDefaultDataFromGetIfColumnIsDefinedInTca ( )
Test:

Definition at line 323 of file DatabaseRowInitializeNewTest.php.

References $GLOBALS.

addDataSetsDefaultDataFromPageTsIfColumnIsDefinedInTca ( )
Test:

Definition at line 152 of file DatabaseRowInitializeNewTest.php.

addDataSetsDefaultDataFromPostIfColumnIsDefinedInTca ( )
Test:

Definition at line 354 of file DatabaseRowInitializeNewTest.php.

References $GLOBALS.

addDataSetsDefaultDataFromUserTsIfColumnIsDefinedInTca ( )
Test:

Definition at line 93 of file DatabaseRowInitializeNewTest.php.

addDataSetsDefaultDataOverrulingFromNeighborRow ( )
Test:

Definition at line 279 of file DatabaseRowInitializeNewTest.php.

addDataSetsDefaultDataOverrulingFromPageTs ( )
Test:

Definition at line 211 of file DatabaseRowInitializeNewTest.php.

addDataSetsDefaultDataOverrulingGetPost ( )
Test:

Definition at line 465 of file DatabaseRowInitializeNewTest.php.

References $GLOBALS.

addDataSetsDefaultFromNeighborRow ( )
Test:

Definition at line 249 of file DatabaseRowInitializeNewTest.php.

addDataSetsForeignSelectorFieldToValueOfChildChildUid ( )
Test:

Definition at line 546 of file DatabaseRowInitializeNewTest.php.

addDataSetsPidToVanillaUid ( )
Test:

Definition at line 603 of file DatabaseRowInitializeNewTest.php.

addDataSetsPrioritizesDefaultPostOverDefaultGet ( )
Test:

Definition at line 385 of file DatabaseRowInitializeNewTest.php.

References $GLOBALS.

addDataThrowsExceptionIfDatabaseRowIsNotArray ( )
Test:

Definition at line 61 of file DatabaseRowInitializeNewTest.php.

addDataThrowsExceptionIfForeignSelectorDoesNotPointToGroupOrSelectField ( )
Test:

Definition at line 575 of file DatabaseRowInitializeNewTest.php.

addDataThrowsExceptionIfPageTsConfigPidValueCanNotBeInterpretedAsInteger ( )
Test:

Definition at line 643 of file DatabaseRowInitializeNewTest.php.

addDataThrowsExceptionWithGivenChildChildUidButIsNotInteger ( )
Test:

Definition at line 531 of file DatabaseRowInitializeNewTest.php.

addDataThrowsExceptionWithGivenChildChildUidButMissingInlineConfig ( )
Test:

Definition at line 516 of file DatabaseRowInitializeNewTest.php.

setUp ( )
protected

Definition at line 30 of file DatabaseRowInitializeNewTest.php.

Member Data Documentation

$subject
protected

Definition at line 28 of file DatabaseRowInitializeNewTest.php.