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

Public Member Functions

 viewHelperRoundsFloatCorrectly ()
 
 viewHelperRendersCurrencySign ()
 
 viewHelperRendersPrependedCurrencySign ()
 
 viewHelperRespectsCurrencySeparator ()
 
 viewHelperRespectsDecimalSeparator ()
 
 viewHelperRespectsThousandsSeparator ()
 
 viewHelperRendersNullValues ()
 
 viewHelperRendersEmptyString ()
 
 viewHelperRendersZeroValues ()
 
 viewHelperRendersNegativeAmounts ()
 
 viewHelperRendersStringsToZeroValueFloat ()
 
 viewHelperRendersCommaValuesToValueBeforeComma ()
 
 viewHelperRendersValuesWithoutDecimals ()
 
 viewHelperRendersThreeDecimals ()
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from ViewHelperBaseTestcase
 setUp ()
 
 injectDependenciesIntoViewHelper (ViewHelperInterface $viewHelper)
 
 setArgumentsUnderTest (ViewHelperInterface $viewHelper, array $arguments=[])
 
 stubRequestWithoutMappingErrors ()
 
 stubRequestWithMappingErrors ()
 
 stubVariableContainer ($formObject)
 
- 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

 $viewHelper
 
- Protected Attributes inherited from ViewHelperBaseTestcase
 $viewHelperVariableContainer
 
 $templateVariableContainer
 
 $uriBuilder
 
 $controllerContext
 
 $tagBuilder
 
 $arguments
 
 $request
 
 $renderingContext
 
 $mvcPropertyMapperConfigurationService
 
- 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 22 of file CurrencyViewHelperTest.php.

Member Function Documentation

setUp ( )
protected
viewHelperRendersCommaValuesToValueBeforeComma ( )
viewHelperRendersCurrencySign ( )
viewHelperRendersEmptyString ( )
viewHelperRendersNegativeAmounts ( )
viewHelperRendersNullValues ( )
viewHelperRendersPrependedCurrencySign ( )
viewHelperRendersStringsToZeroValueFloat ( )
viewHelperRendersThreeDecimals ( )
viewHelperRendersValuesWithoutDecimals ( )
viewHelperRendersZeroValues ( )
viewHelperRespectsCurrencySeparator ( )
viewHelperRespectsDecimalSeparator ( )
viewHelperRespectsThousandsSeparator ( )
viewHelperRoundsFloatCorrectly ( )

Member Data Documentation

$viewHelper
protected

Definition at line 27 of file CurrencyViewHelperTest.php.