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

Public Member Functions

 isButtonValidBlankCallExpectFalse ()
 
 isButtonValidInvalidButtonGivenExpectFalse ()
 
 isButtonValidBrokenSetupMultiplePrimaryActionsGivenExpectFalse ()
 
 isButtonValidBrokenSetupInvalidButtonAsSecondParametersGivenExpectFalse ()
 
 isButtonValidValidSetupExpectTrue ()
 

Additional Inherited Members

- 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 inherited from UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Class BackendModuleRequestHandlerTest

Definition at line 25 of file SplitButtonTest.php.

Member Function Documentation

isButtonValidBlankCallExpectFalse ( )

Try to validate an empty button

Test:
Returns
void

Definition at line 33 of file SplitButtonTest.php.

isButtonValidBrokenSetupInvalidButtonAsSecondParametersGivenExpectFalse ( )

Try to add an invalid button as second parameter

Test:
Returns
void

Definition at line 90 of file SplitButtonTest.php.

isButtonValidBrokenSetupMultiplePrimaryActionsGivenExpectFalse ( )

Try to add multiple primary actions

Test:
Returns
void

Definition at line 65 of file SplitButtonTest.php.

isButtonValidInvalidButtonGivenExpectFalse ( )

Try adding an invalid button to a splitButton

Test:
Returns
void

Definition at line 46 of file SplitButtonTest.php.

isButtonValidValidSetupExpectTrue ( )

Send in a valid button

Test:
Returns
void

Definition at line 115 of file SplitButtonTest.php.