‪TYPO3CMS  ‪main
TYPO3\CMS\Extbase\Tests\Unit\Property\TypeConverter\ArrayConverterTest Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Tests\Unit\Property\TypeConverter\ArrayConverterTest:

Public Member Functions

 convertFromDoesNotModifyTheSourceArray ()
 
 canConvertFromEmptyStringToArray ()
 
 canConvertWithConfigurationFromString (string $source, PropertyMappingConfigurationInterface $configuration, array $expectedResult)
 
 throwsTypeConverterExceptionIfDelimiterIsNotGiven ()
 
 returnsSourceUnchangedIfNonEmptyValueWithNoConfigurationIsGiven ()
 

Static Public Member Functions

static stringToArrayWithConfigurationDataProvider ()
 

Static Private Member Functions

static getStringConf (string $delimiter, ?bool $removeEmptyValues=null, ?int $limit=null)
 

Detailed Description

Definition at line 28 of file ArrayConverterTest.php.

Member Function Documentation

◆ canConvertFromEmptyStringToArray()

TYPO3\CMS\Extbase\Tests\Unit\Property\TypeConverter\ArrayConverterTest::canConvertFromEmptyStringToArray ( )

Definition at line 38 of file ArrayConverterTest.php.

◆ canConvertWithConfigurationFromString()

TYPO3\CMS\Extbase\Tests\Unit\Property\TypeConverter\ArrayConverterTest::canConvertWithConfigurationFromString ( string  $source,
PropertyMappingConfigurationInterface  $configuration,
array  $expectedResult 
)

Definition at line 96 of file ArrayConverterTest.php.

◆ convertFromDoesNotModifyTheSourceArray()

TYPO3\CMS\Extbase\Tests\Unit\Property\TypeConverter\ArrayConverterTest::convertFromDoesNotModifyTheSourceArray ( )

Definition at line 31 of file ArrayConverterTest.php.

◆ getStringConf()

static TYPO3\CMS\Extbase\Tests\Unit\Property\TypeConverter\ArrayConverterTest::getStringConf ( string  $delimiter,
?bool  $removeEmptyValues = null,
?int  $limit = null 
)
staticprivate

◆ returnsSourceUnchangedIfNonEmptyValueWithNoConfigurationIsGiven()

TYPO3\CMS\Extbase\Tests\Unit\Property\TypeConverter\ArrayConverterTest::returnsSourceUnchangedIfNonEmptyValueWithNoConfigurationIsGiven ( )

Definition at line 110 of file ArrayConverterTest.php.

◆ stringToArrayWithConfigurationDataProvider()

static TYPO3\CMS\Extbase\Tests\Unit\Property\TypeConverter\ArrayConverterTest::stringToArrayWithConfigurationDataProvider ( )
static

◆ throwsTypeConverterExceptionIfDelimiterIsNotGiven()

TYPO3\CMS\Extbase\Tests\Unit\Property\TypeConverter\ArrayConverterTest::throwsTypeConverterExceptionIfDelimiterIsNotGiven ( )

Definition at line 102 of file ArrayConverterTest.php.