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

Public Member Functions

 isButtonValidBlankCallExpectFalse ()
 
 isButtonValidOmittedIconExpectFalse ()
 
 isButtonValidOmittedTitleExpectFalse ()
 
 isButtonValidOmittedHrefExpectFalse ()
 
 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 LinkButton

Definition at line 24 of file LinkButtonTest.php.

Member Function Documentation

isButtonValidAllValuesSetExpectTrue ( )

Send a valid button

Test:
Returns
void

Definition at line 89 of file LinkButtonTest.php.

isButtonValidBlankCallExpectFalse ( )

Try validating an empty button

Test:
Returns
void

Definition at line 32 of file LinkButtonTest.php.

isButtonValidOmittedHrefExpectFalse ( )

Omit Href

Test:
Returns
void

Definition at line 74 of file LinkButtonTest.php.

isButtonValidOmittedIconExpectFalse ( )

Omit the Icon

Test:
Returns
void

Definition at line 45 of file LinkButtonTest.php.

isButtonValidOmittedTitleExpectFalse ( )

Omit the title

Test:
Returns
void

Definition at line 59 of file LinkButtonTest.php.