TYPO3  7.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TcaSelectItemsTest Class Reference
Inheritance diagram for TcaSelectItemsTest:

Public Member Functions

 addDataKeepExistingItems ()
 
 addDataThrowsExceptionIfAnItemIsNotAnArray ()
 
 addDataThrowsExceptionWithUnknownSpecialValue ()
 
 addDataAddsExcludeFieldsWithSpecialExcludeDataProvider ()
 
 addDataReplacesMarkersInForeignTableClauseDataProvider ()
 
 addDataThrowsExceptionIfForeignTableIsNotDefinedInTca ()
 
 processSelectFieldValueKeepsValuesFromStaticItems ()
 
 processSelectFieldValueReturnsEmptyValueForSingleSelect ()
 
 processSelectFieldValueTrimsEmptyValueForMultiValueSelect ()
 
 processSelectFieldValueDoesNotCallRelationManagerForStaticOnlyItems ()
 
 processSelectFieldValueAddsInvalidValuesToItemsForSingleSelects ()
 
 processSelectFieldSetsCorrectValuesForMmRelationsDataProvider ()
 

Protected Member Functions

 setUp ()
 
 tearDown ()
 

Protected Attributes

 $subject
 
 $singletonInstances = []
 

Detailed Description

Test case

Definition at line 35 of file TcaSelectItemsTest.php.

Member Function Documentation

addDataAddsExcludeFieldsWithSpecialExcludeDataProvider ( )

Data provider

Definition at line 365 of file TcaSelectItemsTest.php.

addDataKeepExistingItems ( )
Test:

Definition at line 63 of file TcaSelectItemsTest.php.

References $GLOBALS.

addDataReplacesMarkersInForeignTableClauseDataProvider ( )

Data provider

Definition at line 1276 of file TcaSelectItemsTest.php.

addDataThrowsExceptionIfAnItemIsNotAnArray ( )
Test:

Definition at line 104 of file TcaSelectItemsTest.php.

addDataThrowsExceptionIfForeignTableIsNotDefinedInTca ( )
Test:

Definition at line 1484 of file TcaSelectItemsTest.php.

addDataThrowsExceptionWithUnknownSpecialValue ( )
Test:

Definition at line 216 of file TcaSelectItemsTest.php.

processSelectFieldSetsCorrectValuesForMmRelationsDataProvider ( )

Data Provider

Returns
array

Definition at line 2849 of file TcaSelectItemsTest.php.

processSelectFieldValueAddsInvalidValuesToItemsForSingleSelects ( )
Test:

Definition at line 2799 of file TcaSelectItemsTest.php.

References $GLOBALS, and GeneralUtility\addInstance().

processSelectFieldValueDoesNotCallRelationManagerForStaticOnlyItems ( )
Test:

Definition at line 2758 of file TcaSelectItemsTest.php.

References $GLOBALS, and GeneralUtility\addInstance().

processSelectFieldValueKeepsValuesFromStaticItems ( )
Test:

Definition at line 2643 of file TcaSelectItemsTest.php.

References $GLOBALS.

processSelectFieldValueReturnsEmptyValueForSingleSelect ( )
Test:

Definition at line 2683 of file TcaSelectItemsTest.php.

References $GLOBALS.

processSelectFieldValueTrimsEmptyValueForMultiValueSelect ( )
Test:

Definition at line 2717 of file TcaSelectItemsTest.php.

References $GLOBALS.

setUp ( )
protected

Definition at line 47 of file TcaSelectItemsTest.php.

References GeneralUtility\getSingletonInstances().

tearDown ( )
protected

Member Data Documentation

$singletonInstances = []
protected

Definition at line 45 of file TcaSelectItemsTest.php.

$subject
protected

Definition at line 40 of file TcaSelectItemsTest.php.