Method |
Description |
|
setUp ( ) |
setUp |
|
tearDown ( ) |
tearDown method |
|
testAddListenerByNameAndClassName ( ) : void |
Test adding a listener by name and class name |
|
testAddListenerOnlyClassName ( ) : void |
Test adding a listener only by class name |
|
testAddListenerWithDefaults ( ) : void |
Test that addListener works - with listener
default config |
|
testAddListenerWithoutDefaults ( ) : void |
Test that addListener works - without listener
default config |
|
testConfigMergeWorks ( ) : void |
Test that it's possible to change just one sub key
by providing all the parents, without loosing any
default settings |
|
testConfigNormalization ( ) : void |
Test config normalization |
|
testConfigOverwrite ( ) : void |
Using $key and value, and specifying no merge should overwrite the value keys |
|
testConstructMerging ( ) : void |
Test that providing configuration for a new
listener in the Crud setting should preserve
the defaults and add the new listener to the array |
|
testConstructMerging2 ( ) : void |
Test that providing configuration for a new
listener in the Crud setting should preserve
the defaults and add the new listener to the array |
|
testControllerWithEmptyUses ( ) : void |
Test the Crud sets model and modelClass to NULL
if there is no model defined in the controller |
|
testCrudWillComplainAboutUnmappedAction ( ) : void |
Test if crud complains about unmapped actions |
|
testDefaultConfig ( ) : void |
Test the default configuration for CrudComponent |
|
testDefaultsListenerNotAlreadyLoaded ( ) : void |
Test setting defaults for one listener works |
|
testDefaultsMultipleActions ( ) : void |
Test setting defaults for multiple actions work |
|
testDefaultsMultipleListeners ( ) : void |
Test setting defaults for multiple actions work |
|
testDefaultsOnAction ( ) : void |
Test setting defaults for one action works |
|
testDefaultsOneListener ( ) : void |
Test setting defaults for one listener works |
|
testDisableAction ( ) |
testDisableAction |
|
testEnable ( ) |
testEnable |
|
testExecuteActionToExecute ( ) |
Test deprecated executeAction calls execute correctly |
|
testFindMethodMultipleActions ( ) : void |
Test changing view var for multiple actions works |
|
testIsActionMappedNo ( ) |
testIsActionMappedNo |
|
testIsActionMappedYes ( ) |
testIsActionMappedYes |
|
testLoadListener ( ) : void |
testLoadListener |
|
testMapAction ( ) |
testMapAction |
|
testMappingNonExistentAction ( ) : void |
testMappingNonExistentAction |
|
testOn ( ) |
Tests on method registers an event |
|
testOnWithPriPriority ( ) |
tests on method registers an event with extra params |
|
testRemoveListener ( ) : void |
Test that removeListener works |
|
testRemoveListenerNoExist ( ) : void |
Test removing a listener that doesn't exist
should return false |
|
testSetModelPropertiesDefault ( ) : void |
Test that having no mapped model for an action,
just use the modelClass from the controller |
|
testUseModel ( ) : void |
Tests that is possible to set the model class to use for the action |
|
testView ( ) |
testView |
|
testViewCanBeChangedInControllerAction ( ) : void |
Test that having a 'search' action in the controller
and calling ->execute('index') will still
render the 'search' view |
|
testViewVarMultipleActions ( ) : void |
Test changing view var for multiple actions works |
|
testViewVarSingleAction ( ) : void |
Test changing view var for one action works |
|
testViewWithArrayIndexAction ( ) : void |
Test if view with array yields the expected result |
|
testViewWithArrayNewAction ( ) : void |
Test if view with array yields the expected result |
|