PHP Class Contao\CoreBundle\Test\DataContainer\PaletteManipulatorTest

Inheritance: extends Contao\CoreBundle\Test\TestCase
Datei anzeigen Open project: contao/core-bundle

Public Methods

Method Description
testAddFieldToEmptyPalette ( ) Tests adding a field to an empty palette.
testAddToNamelessLegend ( ) Tests adding a field to a nameless legend.
testAfterField ( ) Tests adding a field after another field.
testAfterLegend ( ) Tests adding a legend after another legend.
testAppendFieldToPalette ( ) Tests appending a field.
testApplyToDcaPalette ( ) Tests applying the changes to a DCA palette.
testApplyToDcaSubpalette ( ) Tests applying the changes to a DCA subpalette.
testBeforeField ( ) Tests adding a field before another field.
testBeforeLegend ( ) Tests adding a legend before another legend.
testFallbackClosure ( ) Tests the fallback callback.
testFallbackCreatesPalette ( ) Tests that the fallback creates a palette.
testHideLegend ( ) Tests adding collapsed legends.
testIgnoresDuplicateLegend ( ) Tests that duplicate legends are ignored.
testIgnoresEmptyLegend ( ) Tests that empty legends are ignored.
testInstantiation ( ) Tests the object instantiation.
testInvalidFallbackPosition ( ) Tests adding a field with a fallback at an invalid position.
testInvalidPosition ( ) Tests adding a field at an invalid position.
testMissingDcaPalette ( ) Tests applying changes to a missing palette.
testMissingDcaSubpalette ( ) Tests applying changes to a missing subpalette.
testMultipleParents ( ) Tests adding a field to multiple parents.
testPrependFieldToPalette ( ) Tests prepending a field.
testSkipLegends ( ) Tests skipping legends.

Method Details

testAddFieldToEmptyPalette() public method

Tests adding a field to an empty palette.

testAddToNamelessLegend() public method

Tests adding a field to a nameless legend.

testAfterField() public method

Tests adding a field after another field.
public testAfterField ( )

testAfterLegend() public method

Tests adding a legend after another legend.
public testAfterLegend ( )

testAppendFieldToPalette() public method

Tests appending a field.

testApplyToDcaPalette() public method

Tests applying the changes to a DCA palette.

testApplyToDcaSubpalette() public method

Tests applying the changes to a DCA subpalette.

testBeforeField() public method

Tests adding a field before another field.
public testBeforeField ( )

testBeforeLegend() public method

Tests adding a legend before another legend.
public testBeforeLegend ( )

testFallbackClosure() public method

Tests the fallback callback.
public testFallbackClosure ( )

testFallbackCreatesPalette() public method

Tests that the fallback creates a palette.

testHideLegend() public method

Tests adding collapsed legends.
public testHideLegend ( )

testIgnoresDuplicateLegend() public method

Tests that duplicate legends are ignored.

testIgnoresEmptyLegend() public method

Tests that empty legends are ignored.

testInstantiation() public method

Tests the object instantiation.
public testInstantiation ( )

testInvalidFallbackPosition() public method

Tests adding a field with a fallback at an invalid position.

testInvalidPosition() public method

Tests adding a field at an invalid position.
public testInvalidPosition ( )

testMissingDcaPalette() public method

Tests applying changes to a missing palette.

testMissingDcaSubpalette() public method

Tests applying changes to a missing subpalette.

testMultipleParents() public method

Tests adding a field to multiple parents.
public testMultipleParents ( )

testPrependFieldToPalette() public method

Tests prepending a field.

testSkipLegends() public method

Tests skipping legends.
public testSkipLegends ( )