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

Public Member Functions

 renderAndCastToStringReturnsTheSameCode ()
 
 getIdentifierReturnsCorrectIdentifier ()
 
 getOverlayIdentifierReturnsCorrectIdentifier ()
 
 getSizedentifierReturnsCorrectIdentifier ()
 
 getStateReturnsCorrectIdentifier ()
 

Protected Member Functions

 setUp ()
 
- 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

 $subject = null
 
 $iconIdentifier = 'actions-document-close'
 
 $overlayIdentifier = 'overlay-readonly'
 
- Protected Attributes inherited from UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Testcase for

Definition at line 24 of file IconTest.php.

Member Function Documentation

getIdentifierReturnsCorrectIdentifier ( )
Test:

Definition at line 63 of file IconTest.php.

getOverlayIdentifierReturnsCorrectIdentifier ( )
Test:

Definition at line 71 of file IconTest.php.

getSizedentifierReturnsCorrectIdentifier ( )
Test:

Definition at line 79 of file IconTest.php.

References Icon\SIZE_SMALL.

getStateReturnsCorrectIdentifier ( )
Test:

Definition at line 87 of file IconTest.php.

References IconState\STATE_DISABLED.

renderAndCastToStringReturnsTheSameCode ( )
Test:

Definition at line 55 of file IconTest.php.

setUp ( )
protected

Set up

Returns
void

Definition at line 46 of file IconTest.php.

References Enumeration\cast(), Icon\SIZE_SMALL, and IconState\STATE_DISABLED.

Member Data Documentation

$iconIdentifier = 'actions-document-close'
protected

Definition at line 34 of file IconTest.php.

$overlayIdentifier = 'overlay-readonly'
protected

Definition at line 39 of file IconTest.php.

$subject = null
protected

Definition at line 29 of file IconTest.php.