PHP Class FluidTYPO3\Fluidpages\Tests\Unit\Provider\PageProviderTest

Inheritance: extends FluidTYPO3\Flux\Tests\Unit\AbstractTestCase
Datei anzeigen Open project: fluidtypo3/fluidpages

Public Methods

Method Description
canGetFlexformValuesUnderInheritanceConditions ( )
canLoadRecordTreeFromDatabase ( )
canPostProcessRecord ( )
getControllerActionFromRecordTestValues ( ) : array
getInheritanceTreeTestValues ( ) : array
getInheritedPropertyValueByDottedPathTestValues ( ) : array
getParentFieldValueLoadsRecordFromDatabaseIfRecordLacksParentFieldValue ( )
getRemoveInheritedTestValues ( ) : array
removesInheritedValuesFromFields ( mixed $testValue, boolean $inherit, boolean $inheritEmpty, boolean $expectsOverride )
setsDefaultValueInFieldsBasedOnInheritedValue ( )
testGetControllerActionFromRecord ( array $record, string $fieldName, boolean $expectsMessage, string $expected )
testGetControllerExtensionKeyFromRecordReturnsPresetKeyOnUnrecognisedAction ( )
testGetExtensionKey ( )
testGetExtensionKeyWithoutSelection ( )
testGetFlexFormValuesReturnsCollectedDataWhenEncounteringNullForm ( )
testGetFormCallsSetDefaultValuesInFieldsWithInheritedValues ( )
testGetInheritanceTree ( array $input, array $expected )
testGetInheritedPropertyValueByDottedPath ( array $input, string $path, mixed $expected )
testGetTemplatePathAndFilename ( )
testPerformsInjections ( ) : void

Protected Methods

Method Description
getBasicRecord ( ) : array

Method Details

canGetFlexformValuesUnderInheritanceConditions() public method

canLoadRecordTreeFromDatabase() public method

canPostProcessRecord() public method

getBasicRecord() protected method

protected getBasicRecord ( ) : array
return array

getControllerActionFromRecordTestValues() public method

getInheritanceTreeTestValues() public method

getInheritedPropertyValueByDottedPathTestValues() public method

getParentFieldValueLoadsRecordFromDatabaseIfRecordLacksParentFieldValue() public method

getRemoveInheritedTestValues() public method

removesInheritedValuesFromFields() public method

public removesInheritedValuesFromFields ( mixed $testValue, boolean $inherit, boolean $inheritEmpty, boolean $expectsOverride )
$testValue mixed
$inherit boolean
$inheritEmpty boolean
$expectsOverride boolean

setsDefaultValueInFieldsBasedOnInheritedValue() public method

testGetControllerActionFromRecord() public method

public testGetControllerActionFromRecord ( array $record, string $fieldName, boolean $expectsMessage, string $expected )
$record array
$fieldName string
$expectsMessage boolean
$expected string

testGetControllerExtensionKeyFromRecordReturnsPresetKeyOnUnrecognisedAction() public method

testGetExtensionKey() public method

public testGetExtensionKey ( )

testGetExtensionKeyWithoutSelection() public method

testGetFlexFormValuesReturnsCollectedDataWhenEncounteringNullForm() public method

testGetFormCallsSetDefaultValuesInFieldsWithInheritedValues() public method

testGetInheritanceTree() public method

public testGetInheritanceTree ( array $input, array $expected )
$input array
$expected array

testGetInheritedPropertyValueByDottedPath() public method

public testGetInheritedPropertyValueByDottedPath ( array $input, string $path, mixed $expected )
$input array
$path string
$expected mixed

testGetTemplatePathAndFilename() public method

testPerformsInjections() public method

public testPerformsInjections ( ) : void
return void