‪TYPO3CMS  9.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
 
FormDataGroupInterface $formDataGroupProphecy
 

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 128 of file FormDataCompilerTest.php.

◆ compileReturnsResultArrayWithInputDataSet()

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

Definition at line 111 of file FormDataCompilerTest.php.

◆ compileThrowsExceptionAtUnknownCommand()

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

Definition at line 58 of file FormDataCompilerTest.php.

◆ compileThrowsExceptionIfCommandIsEditAndUidIsNegative()

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

Definition at line 97 of file FormDataCompilerTest.php.

◆ compileThrowsExceptionIfFormDataGroupAddedKeysToResultArray()

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

Definition at line 181 of file FormDataCompilerTest.php.

◆ compileThrowsExceptionIfFormDataGroupDoesNotReturnArray()

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

Definition at line 142 of file FormDataCompilerTest.php.

◆ compileThrowsExceptionIfFormDataGroupRemovedKeysFromResultArray()

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

Definition at line 166 of file FormDataCompilerTest.php.

◆ compileThrowsExceptionIfInputContainsKeysNotValidInResult()

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

Definition at line 45 of file FormDataCompilerTest.php.

◆ compileThrowsExceptionIfNoTableNameGiven()

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

Definition at line 71 of file FormDataCompilerTest.php.

◆ compileThrowsExceptionIfRenderDataIsNotEmpty()

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

Definition at line 153 of file FormDataCompilerTest.php.

◆ compileThrowsExceptionIfUidIsNotAnInteger()

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

Definition at line 84 of file FormDataCompilerTest.php.

◆ setUp()

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

Definition at line 36 of file FormDataCompilerTest.php.

Member Data Documentation

◆ $formDataGroupProphecy

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

| ObjectProphecy

Definition at line 34 of file FormDataCompilerTest.php.

◆ $subject

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

Definition at line 30 of file FormDataCompilerTest.php.