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

Public Member Functions

 valueDataProvider ()
 
 renderConvertsAValue ($value, $decimals, $decimalSeparator, $thousandsSeparator, $expected)
 
 renderUsesChildNodesIfValueArgumentIsOmitted ()
 

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 23 of file BytesViewHelperTest.php.

Member Function Documentation

renderConvertsAValue (   $value,
  $decimals,
  $decimalSeparator,
  $thousandsSeparator,
  $expected 
)
Parameters
mixed$value
int$decimals
string$decimalSeparator
string$thousandsSeparator
string$expected
Test:
valueDataProvider

Definition at line 128 of file BytesViewHelperTest.php.

References ViewHelperBaseTestcase\setArgumentsUnderTest().

renderUsesChildNodesIfValueArgumentIsOmitted ( )
setUp ( )
protected
valueDataProvider ( )
Returns
array

Definition at line 40 of file BytesViewHelperTest.php.

Member Data Documentation

$viewHelper
protected

Definition at line 28 of file BytesViewHelperTest.php.