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

Public Member Functions

 checkMetadata ()
 
 convertFromShouldCastTheStringToInteger ()
 
 convertFromDoesNotModifyIntegers ()
 
 convertFromReturnsNullIfEmptyStringSpecified ()
 
 convertFromReturnsAnErrorIfSpecifiedStringIsNotNumeric ()
 
 canConvertFromShouldReturnTrueForANumericStringSource ()
 
 canConvertFromShouldReturnTrueForAnIntegerSource ()
 
 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 IntegerConverterTest.php.

Member Function Documentation

canConvertFromShouldReturnTrueForAnEmptyValue ( )
Test:

Definition at line 101 of file IntegerConverterTest.php.

canConvertFromShouldReturnTrueForAnIntegerSource ( )
Test:

Definition at line 93 of file IntegerConverterTest.php.

canConvertFromShouldReturnTrueForANullValue ( )
Test:

Definition at line 109 of file IntegerConverterTest.php.

canConvertFromShouldReturnTrueForANumericStringSource ( )
Test:

Definition at line 85 of file IntegerConverterTest.php.

checkMetadata ( )
Test:

Definition at line 42 of file IntegerConverterTest.php.

convertFromDoesNotModifyIntegers ( )
Test:

Definition at line 60 of file IntegerConverterTest.php.

convertFromReturnsAnErrorIfSpecifiedStringIsNotNumeric ( )
Test:

Definition at line 77 of file IntegerConverterTest.php.

convertFromReturnsNullIfEmptyStringSpecified ( )
Test:

Definition at line 69 of file IntegerConverterTest.php.

convertFromShouldCastTheStringToInteger ( )
Test:

Definition at line 52 of file IntegerConverterTest.php.

getSourceChildPropertiesToBeConvertedShouldReturnEmptyArray ( )
Test:

Definition at line 117 of file IntegerConverterTest.php.

setUp ( )
protected

Definition at line 34 of file IntegerConverterTest.php.

Member Data Documentation

$converter
protected

Definition at line 32 of file IntegerConverterTest.php.