‪TYPO3CMS  ‪main
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 ()
 
 compileThrowsExceptionIfRequestIsNotProvidedInInitialDataArray ()
 
 compileReturnsResultArrayWithInputDataSet ()
 
 compileReturnsResultArrayWithAdditionalDataFormFormDataGroup ()
 
 compileThrowsExceptionIfFormDataGroupDoesNotReturnArray ()
 
 compileThrowsExceptionIfRenderDataIsNotEmpty ()
 
 compileThrowsExceptionIfFormDataGroupRemovedKeysFromResultArray ()
 
 compileThrowsExceptionIfFormDataGroupAddedKeysToResultArray ()
 

Protected Member Functions

 setUp ()
 

Protected Attributes

FormDataCompiler $subject
 
FormDataGroupInterface &MockObject $formDataGroupMock
 

Detailed Description

Definition at line 27 of file FormDataCompilerTest.php.

Member Function Documentation

◆ compileReturnsResultArrayWithAdditionalDataFormFormDataGroup()

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

Definition at line 125 of file FormDataCompilerTest.php.

◆ compileReturnsResultArrayWithInputDataSet()

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

Definition at line 109 of file FormDataCompilerTest.php.

◆ compileThrowsExceptionAtUnknownCommand()

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

Definition at line 51 of file FormDataCompilerTest.php.

◆ compileThrowsExceptionIfCommandIsEditAndUidIsNegative()

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

Definition at line 84 of file FormDataCompilerTest.php.

◆ compileThrowsExceptionIfFormDataGroupAddedKeysToResultArray()

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

Definition at line 190 of file FormDataCompilerTest.php.

◆ compileThrowsExceptionIfFormDataGroupDoesNotReturnArray()

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

Definition at line 142 of file FormDataCompilerTest.php.

◆ compileThrowsExceptionIfFormDataGroupRemovedKeysFromResultArray()

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

Definition at line 172 of file FormDataCompilerTest.php.

◆ compileThrowsExceptionIfInputContainsKeysNotValidInResult()

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

Definition at line 40 of file FormDataCompilerTest.php.

◆ compileThrowsExceptionIfNoTableNameGiven()

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

Definition at line 62 of file FormDataCompilerTest.php.

◆ compileThrowsExceptionIfRenderDataIsNotEmpty()

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

Definition at line 156 of file FormDataCompilerTest.php.

◆ compileThrowsExceptionIfRequestIsNotProvidedInInitialDataArray()

TYPO3\CMS\Backend\Tests\Unit\Form\FormDataCompilerTest::compileThrowsExceptionIfRequestIsNotProvidedInInitialDataArray ( )

Definition at line 96 of file FormDataCompilerTest.php.

◆ compileThrowsExceptionIfUidIsNotAnInteger()

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

Definition at line 73 of file FormDataCompilerTest.php.

◆ setUp()

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

Definition at line 32 of file FormDataCompilerTest.php.

Member Data Documentation

◆ $formDataGroupMock

FormDataGroupInterface& MockObject TYPO3\CMS\Backend\Tests\Unit\Form\FormDataCompilerTest::$formDataGroupMock
protected

Definition at line 30 of file FormDataCompilerTest.php.

◆ $subject

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

Definition at line 29 of file FormDataCompilerTest.php.