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

Public Member Functions

 checkMetadata ()
 
 convertFromDoesNotModifyTheSourceArray ()
 
 stringToArrayDataProvider ()
 
 canConvertFromEmptyString ($source, $expectedResult)
 
 canConvertFromDataProvider ()
 
 canConvertFromReturnsCorrectBooleans ($source, $expectedResult)
 

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 ArrayConverterTest.php.

Member Function Documentation

canConvertFromDataProvider ( )
Returns
array

Definition at line 83 of file ArrayConverterTest.php.

canConvertFromEmptyString (   $source,
  $expectedResult 
)
Test:
stringToArrayDataProvider
Parameters
string$source
array$expectedResult

Definition at line 75 of file ArrayConverterTest.php.

canConvertFromReturnsCorrectBooleans (   $source,
  $expectedResult 
)
Test:
canConvertFromDataProvider
Parameters
mixed$source
bool$expectedResult

Definition at line 99 of file ArrayConverterTest.php.

checkMetadata ( )
Test:

Definition at line 42 of file ArrayConverterTest.php.

convertFromDoesNotModifyTheSourceArray ( )
Test:

Definition at line 52 of file ArrayConverterTest.php.

setUp ( )
protected

Definition at line 34 of file ArrayConverterTest.php.

stringToArrayDataProvider ( )
Returns
array

Definition at line 61 of file ArrayConverterTest.php.

Member Data Documentation

$converter
protected

Definition at line 32 of file ArrayConverterTest.php.