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

Public Member Functions

 registersExpectedArgumentsInInitializeArgumentsMethod ()
 
 renderMethodThrowsExceptionOnInvalidArguments (array $arguments)
 
 getInvalidArguments ()
 
 renderMethodCreatesExpectedTag (array $arguments, array $expected)
 
 getRenderMethodTestValues ()
 

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

Definition at line 24 of file ImageViewHelperTest.php.

Member Function Documentation

getInvalidArguments ( )
Returns
array

Definition at line 74 of file ImageViewHelperTest.php.

getRenderMethodTestValues ( )
Returns
array

Definition at line 137 of file ImageViewHelperTest.php.

registersExpectedArgumentsInInitializeArgumentsMethod ( )
Test:

Definition at line 29 of file ImageViewHelperTest.php.

renderMethodCreatesExpectedTag ( array  $arguments,
array  $expected 
)
Test:
getRenderMethodTestValues
Parameters
array$arguments
array$expected

Definition at line 89 of file ImageViewHelperTest.php.

References BaseTestCase\getAccessibleMock().

renderMethodThrowsExceptionOnInvalidArguments ( array  $arguments)
Test:
getInvalidArguments
Parameters
array$arguments

Definition at line 47 of file ImageViewHelperTest.php.