‪TYPO3CMS  11.5
TYPO3\CMS\Backend\Tests\Unit\Form\FormDataCompilerTest Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Tests\Unit\Form\FormDataCompilerTest:

Public Member Functions

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

Protected Member Functions

 setUp ()
 

Protected Attributes

FormDataCompiler $subject
 
ObjectProphecy $formDataGroupProphecy
 

Detailed Description

Test case

Definition at line 30 of file FormDataCompilerTest.php.

Member Function Documentation

◆ compileReturnsResultArrayWithAdditionalDataFormFormDataGroup()

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

Definition at line 131 of file FormDataCompilerTest.php.

◆ compileReturnsResultArrayWithInputDataSet()

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

Definition at line 114 of file FormDataCompilerTest.php.

◆ compileThrowsExceptionAtUnknownCommand()

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

Definition at line 61 of file FormDataCompilerTest.php.

◆ compileThrowsExceptionIfCommandIsEditAndUidIsNegative()

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

Definition at line 100 of file FormDataCompilerTest.php.

◆ compileThrowsExceptionIfFormDataGroupAddedKeysToResultArray()

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

Definition at line 184 of file FormDataCompilerTest.php.

◆ compileThrowsExceptionIfFormDataGroupDoesNotReturnArray()

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

Definition at line 145 of file FormDataCompilerTest.php.

◆ compileThrowsExceptionIfFormDataGroupRemovedKeysFromResultArray()

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

Definition at line 169 of file FormDataCompilerTest.php.

◆ compileThrowsExceptionIfInputContainsKeysNotValidInResult()

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

Definition at line 48 of file FormDataCompilerTest.php.

◆ compileThrowsExceptionIfNoTableNameGiven()

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

Definition at line 74 of file FormDataCompilerTest.php.

◆ compileThrowsExceptionIfRenderDataIsNotEmpty()

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

Definition at line 156 of file FormDataCompilerTest.php.

◆ compileThrowsExceptionIfUidIsNotAnInteger()

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

Definition at line 87 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

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

Definition at line 36 of file FormDataCompilerTest.php.

◆ $subject

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

Definition at line 33 of file FormDataCompilerTest.php.