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

Public Member Functions

 checkMetadata ()
 
 convertFromShouldCastTheStringToFloat ()
 
 convertFromReturnsNullIfEmptyStringSpecified ()
 
 convertFromShouldAcceptIntegers ()
 
 convertFromShouldRespectConfiguration ()
 
 convertFromReturnsAnErrorIfSpecifiedStringIsNotNumeric ()
 
 canConvertFromShouldReturnTrue ()
 
 canConvertFromShouldReturnTrueForAnEmptyValue ()
 
 canConvertFromShouldReturnTrueForANullValue ()
 
 getSourceChildPropertiesToBeConvertedShouldReturnEmptyArray ()
 

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

 $converter
 
- 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 27 of file FloatConverterTest.php.

Member Function Documentation

canConvertFromShouldReturnTrue ( )
Test:

Definition at line 103 of file FloatConverterTest.php.

canConvertFromShouldReturnTrueForAnEmptyValue ( )
Test:

Definition at line 111 of file FloatConverterTest.php.

canConvertFromShouldReturnTrueForANullValue ( )
Test:

Definition at line 119 of file FloatConverterTest.php.

checkMetadata ( )
Test:

Definition at line 42 of file FloatConverterTest.php.

convertFromReturnsAnErrorIfSpecifiedStringIsNotNumeric ( )
Test:

Definition at line 95 of file FloatConverterTest.php.

convertFromReturnsNullIfEmptyStringSpecified ( )
Test:

Definition at line 60 of file FloatConverterTest.php.

convertFromShouldAcceptIntegers ( )
Test:

Definition at line 68 of file FloatConverterTest.php.

convertFromShouldCastTheStringToFloat ( )
Test:

Definition at line 52 of file FloatConverterTest.php.

convertFromShouldRespectConfiguration ( )
Test:

Definition at line 76 of file FloatConverterTest.php.

getSourceChildPropertiesToBeConvertedShouldReturnEmptyArray ( )
Test:

Definition at line 127 of file FloatConverterTest.php.

setUp ( )
protected

Definition at line 34 of file FloatConverterTest.php.

Member Data Documentation

$converter
protected

Definition at line 32 of file FloatConverterTest.php.