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

Public Member Functions

 addDataRetrievesRecordInformationFromDatabase ()
 
 addDataThrowsExceptionIfRetrievedRowHasNoPid ()
 
 addDataThrowsExceptionIfGivenUidIsNotPositive ()
 
 addDataThrowsExceptionIfDatabaseFetchingReturnsNoRow ()
 
 addDataThrowsExceptionDatabaseRecordExceptionWithAdditionalInformationSet ()
 

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 26 of file DatabaseEditRowTest.php.

Member Function Documentation

addDataRetrievesRecordInformationFromDatabase ( )
Test:

Definition at line 48 of file DatabaseEditRowTest.php.

addDataThrowsExceptionDatabaseRecordExceptionWithAdditionalInformationSet ( )
addDataThrowsExceptionIfDatabaseFetchingReturnsNoRow ( )
Test:

Definition at line 107 of file DatabaseEditRowTest.php.

addDataThrowsExceptionIfGivenUidIsNotPositive ( )
Test:

Definition at line 90 of file DatabaseEditRowTest.php.

addDataThrowsExceptionIfRetrievedRowHasNoPid ( )
Test:

Definition at line 69 of file DatabaseEditRowTest.php.

setUp ( )
protected

Definition at line 38 of file DatabaseEditRowTest.php.

Member Data Documentation

$dbProphecy
protected

Definition at line 36 of file DatabaseEditRowTest.php.

$subject
protected

Definition at line 31 of file DatabaseEditRowTest.php.