TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Backend\Tests\Unit\Form\FormDataCompilerTest Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Tests\Unit\Form\FormDataCompilerTest:
TYPO3\CMS\Core\Tests\UnitTestCase TYPO3\CMS\Core\Tests\BaseTestCase

Public Member Functions

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

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\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)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix='')
 

Protected Attributes

 $subject
 
 $formDataGroupProphecy
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Test case

Definition at line 26 of file FormDataCompilerTest.php.

Member Function Documentation

◆ compileReturnsResultArrayWithAdditionalDataFormFormDataGroup()

TYPO3\CMS\Backend\Tests\Unit\Form\FormDataCompilerTest::compileReturnsResultArrayWithAdditionalDataFormFormDataGroup ( )
Test:

Definition at line 125 of file FormDataCompilerTest.php.

◆ compileReturnsResultArrayWithInputDataSet()

TYPO3\CMS\Backend\Tests\Unit\Form\FormDataCompilerTest::compileReturnsResultArrayWithInputDataSet ( )
Test:

Definition at line 108 of file FormDataCompilerTest.php.

◆ compileThrowsExceptionAtUnknownCommand()

TYPO3\CMS\Backend\Tests\Unit\Form\FormDataCompilerTest::compileThrowsExceptionAtUnknownCommand ( )
Test:

Definition at line 59 of file FormDataCompilerTest.php.

◆ compileThrowsExceptionIfCommandIsEditAndUidIsNegative()

TYPO3\CMS\Backend\Tests\Unit\Form\FormDataCompilerTest::compileThrowsExceptionIfCommandIsEditAndUidIsNegative ( )
Test:

Definition at line 95 of file FormDataCompilerTest.php.

◆ compileThrowsExceptionIfFormDataGroupAddedKeysToResultArray()

TYPO3\CMS\Backend\Tests\Unit\Form\FormDataCompilerTest::compileThrowsExceptionIfFormDataGroupAddedKeysToResultArray ( )
Test:

Definition at line 163 of file FormDataCompilerTest.php.

◆ compileThrowsExceptionIfFormDataGroupDoesNotReturnArray()

TYPO3\CMS\Backend\Tests\Unit\Form\FormDataCompilerTest::compileThrowsExceptionIfFormDataGroupDoesNotReturnArray ( )
Test:

Definition at line 139 of file FormDataCompilerTest.php.

◆ compileThrowsExceptionIfFormDataGroupRemovedKeysFromResultArray()

TYPO3\CMS\Backend\Tests\Unit\Form\FormDataCompilerTest::compileThrowsExceptionIfFormDataGroupRemovedKeysFromResultArray ( )
Test:

Definition at line 149 of file FormDataCompilerTest.php.

◆ compileThrowsExceptionIfInputContainsKeysNotValidInResult()

TYPO3\CMS\Backend\Tests\Unit\Form\FormDataCompilerTest::compileThrowsExceptionIfInputContainsKeysNotValidInResult ( )
Test:

Definition at line 47 of file FormDataCompilerTest.php.

◆ compileThrowsExceptionIfNoTableNameGiven()

TYPO3\CMS\Backend\Tests\Unit\Form\FormDataCompilerTest::compileThrowsExceptionIfNoTableNameGiven ( )
Test:

Definition at line 71 of file FormDataCompilerTest.php.

◆ compileThrowsExceptionIfUidIsNotAnInteger()

TYPO3\CMS\Backend\Tests\Unit\Form\FormDataCompilerTest::compileThrowsExceptionIfUidIsNotAnInteger ( )
Test:

Definition at line 83 of file FormDataCompilerTest.php.

◆ setUp()

TYPO3\CMS\Backend\Tests\Unit\Form\FormDataCompilerTest::setUp ( )
protected

Definition at line 38 of file FormDataCompilerTest.php.

Member Data Documentation

◆ $formDataGroupProphecy

TYPO3\CMS\Backend\Tests\Unit\Form\FormDataCompilerTest::$formDataGroupProphecy
protected

Definition at line 36 of file FormDataCompilerTest.php.

◆ $subject

TYPO3\CMS\Backend\Tests\Unit\Form\FormDataCompilerTest::$subject
protected

Definition at line 31 of file FormDataCompilerTest.php.