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

Public Member Functions

 prepareIconMarkupWithRelativeSourceReturnsInstanceOfIconWithCorrectMarkup ()
 
 prepareIconMarkupWithAbsoluteSourceReturnsInstanceOfIconWithCorrectMarkup ()
 
 getIconWithEXTSourceReferenceReturnsInstanceOfIconWithCorrectMarkup ()
 
 getIconWithInlineOptionReturnsCleanSvgMarkup ()
 

Protected Member Functions

 setUp ()
 
 tearDown ()
 
- 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
 
 $icon = null
 
 $testFileName
 
- 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 SvgIconProviderTest.php.

Member Function Documentation

getIconWithEXTSourceReferenceReturnsInstanceOfIconWithCorrectMarkup ( )
Test:

Definition at line 87 of file SvgIconProviderTest.php.

getIconWithInlineOptionReturnsCleanSvgMarkup ( )
prepareIconMarkupWithAbsoluteSourceReturnsInstanceOfIconWithCorrectMarkup ( )
Test:

Definition at line 78 of file SvgIconProviderTest.php.

prepareIconMarkupWithRelativeSourceReturnsInstanceOfIconWithCorrectMarkup ( )
Test:

Definition at line 69 of file SvgIconProviderTest.php.

setUp ( )
protected

Set up

Returns
void

Definition at line 46 of file SvgIconProviderTest.php.

References GeneralUtility\makeInstance(), Icon\SIZE_SMALL, and GeneralUtility\tempnam().

tearDown ( )
protected

Tear down

Definition at line 61 of file SvgIconProviderTest.php.

Member Data Documentation

$icon = null
protected

Definition at line 34 of file SvgIconProviderTest.php.

$subject = null
protected

Definition at line 29 of file SvgIconProviderTest.php.

$testFileName
protected

Definition at line 39 of file SvgIconProviderTest.php.