‪TYPO3CMS  10.4
TYPO3\CMS\Extbase\Tests\Functional\Property\PropertyMapperTest Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Tests\Functional\Property\PropertyMapperTest:

Public Member Functions

 initializeObjectThrowsDuplicateTypeConverterException ()
 
 convertCreatesAPropertyMappingConfigurationIfNotGiven ()
 
 convertReturnsNullIfDoMappingReturnsAnError ()
 
 convertThrowsATargetNotFoundException ()
 
 convertThrowsAnExceptionIfNoTypeConverterCanBeFoundForTheConversionOfSimpleTypes ()
 
 convertThrowsAnExceptionIfTargetTypeIsNotAString ()
 
 convertInternallyConvertsANullSourceToAnEmptyString ()
 
 convertThrowsAnExceptionIfTargetTypeIsANonExistingClass ()
 
 convertThrowsAnExceptionIfAtLeastTwoConvertersAreRegisteredThatHandleTheConversionToTheSameInterface ()
 
 doMappingReturnsTheSourceIfItIsAlreadyTheDesiredTypeWithoutCallingAConverter ()
 
 findTypeConverterReturnsTheConverterFromThePropertyMappingConfiguration ()
 
 determineSourceTypeThrowsInvalidSourceExceptionForNonSupportedTypes ()
 
 findFirstEligibleTypeConverterInObjectHierarchyReturnsNullIfNoTypeConvertersExistForTheSourceType ()
 
 findFirstEligibleTypeConverterInObjectHierarchyFindsConverterFromStringToObject ()
 
 findFirstEligibleTypeConverterInObjectHierarchyReturnsConverterForParentClass ()
 
 findFirstEligibleTypeConverterInObjectHierarchyReturnsConverterForInterfaces ()
 
 defaultPropertyMappingConfiguration ()
 
 skipPropertiesConfiguration ()
 
 allowAllPropertiesExceptConfiguration ()
 
 allowAllPropertiesExceptWithSkipUnknownPropertiesConfiguration ()
 

Detailed Description

Definition at line 35 of file PropertyMapperTest.php.

Member Function Documentation

◆ allowAllPropertiesExceptConfiguration()

TYPO3\CMS\Extbase\Tests\Functional\Property\PropertyMapperTest::allowAllPropertiesExceptConfiguration ( )
Test:

Definition at line 373 of file PropertyMapperTest.php.

◆ allowAllPropertiesExceptWithSkipUnknownPropertiesConfiguration()

TYPO3\CMS\Extbase\Tests\Functional\Property\PropertyMapperTest::allowAllPropertiesExceptWithSkipUnknownPropertiesConfiguration ( )
Test:

Definition at line 397 of file PropertyMapperTest.php.

◆ convertCreatesAPropertyMappingConfigurationIfNotGiven()

TYPO3\CMS\Extbase\Tests\Functional\Property\PropertyMapperTest::convertCreatesAPropertyMappingConfigurationIfNotGiven ( )
Test:

Definition at line 53 of file PropertyMapperTest.php.

◆ convertInternallyConvertsANullSourceToAnEmptyString()

TYPO3\CMS\Extbase\Tests\Functional\Property\PropertyMapperTest::convertInternallyConvertsANullSourceToAnEmptyString ( )
Test:

Definition at line 112 of file PropertyMapperTest.php.

◆ convertReturnsNullIfDoMappingReturnsAnError()

TYPO3\CMS\Extbase\Tests\Functional\Property\PropertyMapperTest::convertReturnsNullIfDoMappingReturnsAnError ( )
Test:

Definition at line 63 of file PropertyMapperTest.php.

◆ convertThrowsAnExceptionIfAtLeastTwoConvertersAreRegisteredThatHandleTheConversionToTheSameInterface()

TYPO3\CMS\Extbase\Tests\Functional\Property\PropertyMapperTest::convertThrowsAnExceptionIfAtLeastTwoConvertersAreRegisteredThatHandleTheConversionToTheSameInterface ( )

◆ convertThrowsAnExceptionIfNoTypeConverterCanBeFoundForTheConversionOfSimpleTypes()

TYPO3\CMS\Extbase\Tests\Functional\Property\PropertyMapperTest::convertThrowsAnExceptionIfNoTypeConverterCanBeFoundForTheConversionOfSimpleTypes ( )
Test:

Definition at line 86 of file PropertyMapperTest.php.

◆ convertThrowsAnExceptionIfTargetTypeIsANonExistingClass()

TYPO3\CMS\Extbase\Tests\Functional\Property\PropertyMapperTest::convertThrowsAnExceptionIfTargetTypeIsANonExistingClass ( )
Test:

Definition at line 121 of file PropertyMapperTest.php.

◆ convertThrowsAnExceptionIfTargetTypeIsNotAString()

TYPO3\CMS\Extbase\Tests\Functional\Property\PropertyMapperTest::convertThrowsAnExceptionIfTargetTypeIsNotAString ( )
Test:

Definition at line 99 of file PropertyMapperTest.php.

◆ convertThrowsATargetNotFoundException()

TYPO3\CMS\Extbase\Tests\Functional\Property\PropertyMapperTest::convertThrowsATargetNotFoundException ( )
Test:

Definition at line 74 of file PropertyMapperTest.php.

◆ defaultPropertyMappingConfiguration()

TYPO3\CMS\Extbase\Tests\Functional\Property\PropertyMapperTest::defaultPropertyMappingConfiguration ( )
Test:

Definition at line 325 of file PropertyMapperTest.php.

◆ determineSourceTypeThrowsInvalidSourceExceptionForNonSupportedTypes()

TYPO3\CMS\Extbase\Tests\Functional\Property\PropertyMapperTest::determineSourceTypeThrowsInvalidSourceExceptionForNonSupportedTypes ( )
Test:

Definition at line 218 of file PropertyMapperTest.php.

◆ doMappingReturnsTheSourceIfItIsAlreadyTheDesiredTypeWithoutCallingAConverter()

TYPO3\CMS\Extbase\Tests\Functional\Property\PropertyMapperTest::doMappingReturnsTheSourceIfItIsAlreadyTheDesiredTypeWithoutCallingAConverter ( )
Test:

Definition at line 179 of file PropertyMapperTest.php.

◆ findFirstEligibleTypeConverterInObjectHierarchyFindsConverterFromStringToObject()

TYPO3\CMS\Extbase\Tests\Functional\Property\PropertyMapperTest::findFirstEligibleTypeConverterInObjectHierarchyFindsConverterFromStringToObject ( )

◆ findFirstEligibleTypeConverterInObjectHierarchyReturnsConverterForInterfaces()

TYPO3\CMS\Extbase\Tests\Functional\Property\PropertyMapperTest::findFirstEligibleTypeConverterInObjectHierarchyReturnsConverterForInterfaces ( )

◆ findFirstEligibleTypeConverterInObjectHierarchyReturnsConverterForParentClass()

TYPO3\CMS\Extbase\Tests\Functional\Property\PropertyMapperTest::findFirstEligibleTypeConverterInObjectHierarchyReturnsConverterForParentClass ( )

◆ findFirstEligibleTypeConverterInObjectHierarchyReturnsNullIfNoTypeConvertersExistForTheSourceType()

TYPO3\CMS\Extbase\Tests\Functional\Property\PropertyMapperTest::findFirstEligibleTypeConverterInObjectHierarchyReturnsNullIfNoTypeConvertersExistForTheSourceType ( )
Test:

Definition at line 235 of file PropertyMapperTest.php.

References $GLOBALS.

◆ findTypeConverterReturnsTheConverterFromThePropertyMappingConfiguration()

TYPO3\CMS\Extbase\Tests\Functional\Property\PropertyMapperTest::findTypeConverterReturnsTheConverterFromThePropertyMappingConfiguration ( )
Test:

Definition at line 194 of file PropertyMapperTest.php.

◆ initializeObjectThrowsDuplicateTypeConverterException()

TYPO3\CMS\Extbase\Tests\Functional\Property\PropertyMapperTest::initializeObjectThrowsDuplicateTypeConverterException ( )

◆ skipPropertiesConfiguration()

TYPO3\CMS\Extbase\Tests\Functional\Property\PropertyMapperTest::skipPropertiesConfiguration ( )
Test:

Definition at line 349 of file PropertyMapperTest.php.