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

Public Member Functions

 isButtonValidBlankCallExpectFalse ()
 
 isButtonValidOmittedIconExpectFalse ()
 
 isButtonValidOmittedTitleExpectFalse ()
 
 isButtonValidOmittedNameExpectFalse ()
 
 isButtonValidOmittedValueExpectFalse ()
 
 isButtonValidAllValuesSetExpectTrue ()
 

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

Test case for InputButton

Definition at line 24 of file InputButtonTest.php.

Member Function Documentation

isButtonValidAllValuesSetExpectTrue ( )

Set a 100% valid button

Test:
Returns
void

Definition at line 104 of file InputButtonTest.php.

isButtonValidBlankCallExpectFalse ( )

Try to validate an empty button

Test:
Returns
void

Definition at line 32 of file InputButtonTest.php.

isButtonValidOmittedIconExpectFalse ( )

Omit the Icon

Test:
Returns
void

Definition at line 45 of file InputButtonTest.php.

isButtonValidOmittedNameExpectFalse ( )

Omit the name

Test:
Returns
void

Definition at line 74 of file InputButtonTest.php.

isButtonValidOmittedTitleExpectFalse ( )

Omit the title

Test:
Returns
void

Definition at line 59 of file InputButtonTest.php.

isButtonValidOmittedValueExpectFalse ( )

Omit the Value

Test:
Returns
void

Definition at line 89 of file InputButtonTest.php.