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

Public Member Functions

 compileThrowsExceptionIfInputContainsKeysNotValidInResult ()
 
 compileThrowsExceptionAtUnknownCommand ()
 
 compileThrowsExceptionIfNoTableNameGiven ()
 
 compileThrowsExceptionIfUidIsNotAnInteger ()
 
 compileThrowsExceptionIfCommandIsEditAndUidIsNegative ()
 
 compileReturnsResultArrayWithInputDataSet ()
 
 compileReturnsResultArrayWithAdditionalDataFormFormDataGroup ()
 
 compileThrowsExceptionIfFormDataGroupDoesNotReturnArray ()
 
 compileThrowsExceptionIfFormDataGroupRemovedKeysFromResultArray ()
 
 compileThrowsExceptionIfFormDataGroupAddedKeysToResultArray ()
 

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
 
 $formDataGroupProphecy
 
- 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 FormDataCompilerTest.php.

Member Function Documentation

compileReturnsResultArrayWithAdditionalDataFormFormDataGroup ( )
Test:

Definition at line 130 of file FormDataCompilerTest.php.

compileReturnsResultArrayWithInputDataSet ( )
Test:

Definition at line 113 of file FormDataCompilerTest.php.

compileThrowsExceptionAtUnknownCommand ( )
Test:

Definition at line 60 of file FormDataCompilerTest.php.

compileThrowsExceptionIfCommandIsEditAndUidIsNegative ( )
Test:

Definition at line 99 of file FormDataCompilerTest.php.

compileThrowsExceptionIfFormDataGroupAddedKeysToResultArray ( )
Test:

Definition at line 170 of file FormDataCompilerTest.php.

compileThrowsExceptionIfFormDataGroupDoesNotReturnArray ( )
Test:

Definition at line 144 of file FormDataCompilerTest.php.

compileThrowsExceptionIfFormDataGroupRemovedKeysFromResultArray ( )
Test:

Definition at line 155 of file FormDataCompilerTest.php.

compileThrowsExceptionIfInputContainsKeysNotValidInResult ( )
Test:

Definition at line 47 of file FormDataCompilerTest.php.

compileThrowsExceptionIfNoTableNameGiven ( )
Test:

Definition at line 73 of file FormDataCompilerTest.php.

compileThrowsExceptionIfUidIsNotAnInteger ( )
Test:

Definition at line 86 of file FormDataCompilerTest.php.

setUp ( )
protected

Definition at line 38 of file FormDataCompilerTest.php.

Member Data Documentation

$formDataGroupProphecy
protected

Definition at line 36 of file FormDataCompilerTest.php.

$subject
protected

Definition at line 31 of file FormDataCompilerTest.php.