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

Inheritance: extends FluidTYPO3\Flux\Tests\Unit\AbstractTestCase
Afficher le fichier Open project: fluidtypo3/fluidpages

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
getBasicRecord ( ) : array

Method Details

canGetFlexformValuesUnderInheritanceConditions() public méthode

canLoadRecordTreeFromDatabase() public méthode

canPostProcessRecord() public méthode

getBasicRecord() protected méthode

protected getBasicRecord ( ) : array
Résultat array

getControllerActionFromRecordTestValues() public méthode

getInheritanceTreeTestValues() public méthode

public getInheritanceTreeTestValues ( ) : array
Résultat array

getInheritedPropertyValueByDottedPathTestValues() public méthode

getParentFieldValueLoadsRecordFromDatabaseIfRecordLacksParentFieldValue() public méthode

getRemoveInheritedTestValues() public méthode

public getRemoveInheritedTestValues ( ) : array
Résultat array

removesInheritedValuesFromFields() public méthode

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

setsDefaultValueInFieldsBasedOnInheritedValue() public méthode

testGetControllerActionFromRecord() public méthode

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

testGetControllerExtensionKeyFromRecordReturnsPresetKeyOnUnrecognisedAction() public méthode

testGetExtensionKey() public méthode

public testGetExtensionKey ( )

testGetExtensionKeyWithoutSelection() public méthode

testGetFlexFormValuesReturnsCollectedDataWhenEncounteringNullForm() public méthode

testGetFormCallsSetDefaultValuesInFieldsWithInheritedValues() public méthode

testGetInheritanceTree() public méthode

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

testGetInheritedPropertyValueByDottedPath() public méthode

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

testGetTemplatePathAndFilename() public méthode

testPerformsInjections() public méthode

public testPerformsInjections ( ) : void
Résultat void