TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
EvaluateDisplayConditionsTest Class Reference
Inheritance diagram for EvaluateDisplayConditionsTest:
UnitTestCase BaseTestCase

Public Member Functions

 addDataRemovesTcaColumnsHiddenByDisplayCondition ()
 
 addDataRemovesFlexformSheetsHiddenByDisplayCondition ()
 
 addDataRemovesFlexformFieldsHiddenByDisplayCondition ()
 
 conditionStringDataProvider ()
 
 matchConditionStrings ($condition, array $record, $expectedResult)
 
 matchConditionStringsWithRecordTestFieldBeingArray ($condition, array $record, $expectedResult)
 
 flexformConditionStringDataProvider ()
 
 matchFlexformConditionStrings ($condition, array $record, $expectedResult)
 
 matchFlexformSheetConditionStringsForFieldsWithDotInName ()
 
 matchFlexformSheetConditionStringsWithLogicalOperatorForFieldsWithDotInName ()
 

Protected Member Functions

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

Protected Attributes

 $subject
 
- Protected Attributes inherited from UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Test case

Definition at line 25 of file EvaluateDisplayConditionsTest.php.

Member Function Documentation

addDataRemovesFlexformFieldsHiddenByDisplayCondition ( )
Test:

Definition at line 180 of file EvaluateDisplayConditionsTest.php.

addDataRemovesFlexformSheetsHiddenByDisplayCondition ( )
Test:

Definition at line 91 of file EvaluateDisplayConditionsTest.php.

addDataRemovesTcaColumnsHiddenByDisplayCondition ( )
Test:

Definition at line 40 of file EvaluateDisplayConditionsTest.php.

conditionStringDataProvider ( )

Returns data sets for the test matchConditionStrings Each data set is an array with the following elements:

  • the condition string
  • the current record
  • the expected result
Returns
array

Definition at line 335 of file EvaluateDisplayConditionsTest.php.

flexformConditionStringDataProvider ( )

Returns data sets for the test matchConditionStrings Each data set is an array with the following elements:

  • the condition string
  • the current record
  • the expected result
Returns
array

Definition at line 640 of file EvaluateDisplayConditionsTest.php.

matchConditionStrings (   $condition,
array  $record,
  $expectedResult 
)
Parameters
string$condition
array$record
string$expectedResultconditionStringDataProvider
Test:

Definition at line 577 of file EvaluateDisplayConditionsTest.php.

matchConditionStringsWithRecordTestFieldBeingArray (   $condition,
array  $record,
  $expectedResult 
)
Parameters
string$condition
array$record
string$expectedResultconditionStringDataProvider
Test:

Definition at line 608 of file EvaluateDisplayConditionsTest.php.

matchFlexformConditionStrings (   $condition,
array  $record,
  $expectedResult 
)
Parameters
string$condition
array$record
string$expectedResultflexformConditionStringDataProvider
Test:

Definition at line 681 of file EvaluateDisplayConditionsTest.php.

matchFlexformSheetConditionStringsForFieldsWithDotInName ( )
Test:

Definition at line 724 of file EvaluateDisplayConditionsTest.php.

matchFlexformSheetConditionStringsWithLogicalOperatorForFieldsWithDotInName ( )
Test:

Definition at line 787 of file EvaluateDisplayConditionsTest.php.

setUp ( )
protected

Definition at line 32 of file EvaluateDisplayConditionsTest.php.

Member Data Documentation

$subject
protected

Definition at line 30 of file EvaluateDisplayConditionsTest.php.