‪TYPO3CMS  11.5
TYPO3\CMS\Extbase\Tests\Unit\Property\PropertyMappingConfigurationTest Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Tests\Unit\Property\PropertyMappingConfigurationTest:

Public Member Functions

 getTargetPropertyNameShouldReturnTheUnmodifiedPropertyNameWithoutConfiguration ()
 
 shouldMapReturnsFalseByDefault ()
 
 shouldMapReturnsTrueIfConfigured ()
 
 shouldMapReturnsTrueForAllowedProperties ()
 
 shouldMapReturnsFalseForBlacklistedProperties ()
 
 shouldSkipReturnsFalseByDefault ()
 
 shouldSkipReturnsTrueIfConfigured ()
 
 setTypeConverterOptionsCanBeRetrievedAgain ()
 
 nonexistentTypeConverterOptionsReturnNull ()
 
 setTypeConverterOptionsShouldOverrideAlreadySetOptions ()
 
 setTypeConverterOptionShouldOverrideAlreadySetOptions ()
 
 getTypeConverterReturnsNullIfNoTypeConverterSet ()
 
 getTypeConverterReturnsTypeConverterIfItHasBeenSet ()
 
 getTargetPropertyNameShouldRespectMapping ()
 
array fluentInterfaceMethodsDataProvider ()
 
 respectiveMethodsProvideFluentInterface ($methodToTestForFluentInterface, array $argumentsForMethod=[])
 
 forPropertyWithAsteriskAllowsArbitraryPropertyNamesWithGetConfigurationFor ()
 
 forPropertyWithAsteriskAllowsArbitraryPropertyNamesWithForProperty ()
 
 forPropertyWithAsteriskAllowsArbitraryPropertyNamesWithShouldMap ()
 

Protected Member Functions

 setUp ()
 
TYPO3 CMS Extbase Property PropertyMappingConfiguration buildChildConfigurationForSingleProperty ()
 

Protected Attributes

PropertyMappingConfiguration $propertyMappingConfiguration
 

Detailed Description

Test case

Definition at line 27 of file PropertyMappingConfigurationTest.php.

Member Function Documentation

◆ buildChildConfigurationForSingleProperty()

TYPO3 CMS Extbase Property PropertyMappingConfiguration TYPO3\CMS\Extbase\Tests\Unit\Property\PropertyMappingConfigurationTest::buildChildConfigurationForSingleProperty ( )
protected
Returns
‪\TYPO3\CMS\Extbase\Property\PropertyMappingConfiguration

Definition at line 183 of file PropertyMappingConfigurationTest.php.

◆ fluentInterfaceMethodsDataProvider()

array TYPO3\CMS\Extbase\Tests\Unit\Property\PropertyMappingConfigurationTest::fluentInterfaceMethodsDataProvider ( )
Returns
‪array Signature: $methodToTestForFluentInterface [, $argumentsForMethod = array() ]

Definition at line 204 of file PropertyMappingConfigurationTest.php.

◆ forPropertyWithAsteriskAllowsArbitraryPropertyNamesWithForProperty()

TYPO3\CMS\Extbase\Tests\Unit\Property\PropertyMappingConfigurationTest::forPropertyWithAsteriskAllowsArbitraryPropertyNamesWithForProperty ( )
Test:

Definition at line 245 of file PropertyMappingConfigurationTest.php.

◆ forPropertyWithAsteriskAllowsArbitraryPropertyNamesWithGetConfigurationFor()

TYPO3\CMS\Extbase\Tests\Unit\Property\PropertyMappingConfigurationTest::forPropertyWithAsteriskAllowsArbitraryPropertyNamesWithGetConfigurationFor ( )
Test:

Definition at line 233 of file PropertyMappingConfigurationTest.php.

◆ forPropertyWithAsteriskAllowsArbitraryPropertyNamesWithShouldMap()

TYPO3\CMS\Extbase\Tests\Unit\Property\PropertyMappingConfigurationTest::forPropertyWithAsteriskAllowsArbitraryPropertyNamesWithShouldMap ( )
Test:

Definition at line 257 of file PropertyMappingConfigurationTest.php.

◆ getTargetPropertyNameShouldRespectMapping()

TYPO3\CMS\Extbase\Tests\Unit\Property\PropertyMappingConfigurationTest::getTargetPropertyNameShouldRespectMapping ( )
Test:

Definition at line 194 of file PropertyMappingConfigurationTest.php.

◆ getTargetPropertyNameShouldReturnTheUnmodifiedPropertyNameWithoutConfiguration()

TYPO3\CMS\Extbase\Tests\Unit\Property\PropertyMappingConfigurationTest::getTargetPropertyNameShouldReturnTheUnmodifiedPropertyNameWithoutConfiguration ( )
Test:
‪@covers \TYPO3\CMS\Extbase\Property\PropertyMappingConfiguration::getTargetPropertyName

Definition at line 44 of file PropertyMappingConfigurationTest.php.

◆ getTypeConverterReturnsNullIfNoTypeConverterSet()

TYPO3\CMS\Extbase\Tests\Unit\Property\PropertyMappingConfigurationTest::getTypeConverterReturnsNullIfNoTypeConverterSet ( )
Test:

Definition at line 165 of file PropertyMappingConfigurationTest.php.

◆ getTypeConverterReturnsTypeConverterIfItHasBeenSet()

TYPO3\CMS\Extbase\Tests\Unit\Property\PropertyMappingConfigurationTest::getTypeConverterReturnsTypeConverterIfItHasBeenSet ( )
Test:

Definition at line 173 of file PropertyMappingConfigurationTest.php.

◆ nonexistentTypeConverterOptionsReturnNull()

TYPO3\CMS\Extbase\Tests\Unit\Property\PropertyMappingConfigurationTest::nonexistentTypeConverterOptionsReturnNull ( )
Test:

Definition at line 131 of file PropertyMappingConfigurationTest.php.

◆ respectiveMethodsProvideFluentInterface()

TYPO3\CMS\Extbase\Tests\Unit\Property\PropertyMappingConfigurationTest::respectiveMethodsProvideFluentInterface (   $methodToTestForFluentInterface,
array  $argumentsForMethod = [] 
)
Test:
‪@dataProvider fluentInterfaceMethodsDataProvider

Definition at line 224 of file PropertyMappingConfigurationTest.php.

◆ setTypeConverterOptionsCanBeRetrievedAgain()

TYPO3\CMS\Extbase\Tests\Unit\Property\PropertyMappingConfigurationTest::setTypeConverterOptionsCanBeRetrievedAgain ( )
Test:

Definition at line 119 of file PropertyMappingConfigurationTest.php.

◆ setTypeConverterOptionShouldOverrideAlreadySetOptions()

TYPO3\CMS\Extbase\Tests\Unit\Property\PropertyMappingConfigurationTest::setTypeConverterOptionShouldOverrideAlreadySetOptions ( )
Test:

Definition at line 152 of file PropertyMappingConfigurationTest.php.

◆ setTypeConverterOptionsShouldOverrideAlreadySetOptions()

TYPO3\CMS\Extbase\Tests\Unit\Property\PropertyMappingConfigurationTest::setTypeConverterOptionsShouldOverrideAlreadySetOptions ( )
Test:

Definition at line 139 of file PropertyMappingConfigurationTest.php.

◆ setUp()

TYPO3\CMS\Extbase\Tests\Unit\Property\PropertyMappingConfigurationTest::setUp ( )
protected

Initialization

Definition at line 34 of file PropertyMappingConfigurationTest.php.

◆ shouldMapReturnsFalseByDefault()

TYPO3\CMS\Extbase\Tests\Unit\Property\PropertyMappingConfigurationTest::shouldMapReturnsFalseByDefault ( )
Test:
‪@covers \TYPO3\CMS\Extbase\Property\PropertyMappingConfiguration::shouldMap

Definition at line 54 of file PropertyMappingConfigurationTest.php.

◆ shouldMapReturnsFalseForBlacklistedProperties()

TYPO3\CMS\Extbase\Tests\Unit\Property\PropertyMappingConfigurationTest::shouldMapReturnsFalseForBlacklistedProperties ( )
Test:
‪@covers \TYPO3\CMS\Extbase\Property\PropertyMappingConfiguration::shouldMap

Definition at line 86 of file PropertyMappingConfigurationTest.php.

◆ shouldMapReturnsTrueForAllowedProperties()

TYPO3\CMS\Extbase\Tests\Unit\Property\PropertyMappingConfigurationTest::shouldMapReturnsTrueForAllowedProperties ( )
Test:
‪@covers \TYPO3\CMS\Extbase\Property\PropertyMappingConfiguration::shouldMap

Definition at line 75 of file PropertyMappingConfigurationTest.php.

◆ shouldMapReturnsTrueIfConfigured()

TYPO3\CMS\Extbase\Tests\Unit\Property\PropertyMappingConfigurationTest::shouldMapReturnsTrueIfConfigured ( )
Test:
‪@covers \TYPO3\CMS\Extbase\Property\PropertyMappingConfiguration::shouldMap

Definition at line 64 of file PropertyMappingConfigurationTest.php.

◆ shouldSkipReturnsFalseByDefault()

TYPO3\CMS\Extbase\Tests\Unit\Property\PropertyMappingConfigurationTest::shouldSkipReturnsFalseByDefault ( )
Test:
‪@covers \TYPO3\CMS\Extbase\Property\PropertyMappingConfiguration::shouldSkip

Definition at line 99 of file PropertyMappingConfigurationTest.php.

◆ shouldSkipReturnsTrueIfConfigured()

TYPO3\CMS\Extbase\Tests\Unit\Property\PropertyMappingConfigurationTest::shouldSkipReturnsTrueIfConfigured ( )
Test:
‪@covers \TYPO3\CMS\Extbase\Property\PropertyMappingConfiguration::shouldSkip

Definition at line 109 of file PropertyMappingConfigurationTest.php.

Member Data Documentation

◆ $propertyMappingConfiguration

PropertyMappingConfiguration TYPO3\CMS\Extbase\Tests\Unit\Property\PropertyMappingConfigurationTest::$propertyMappingConfiguration
protected

Definition at line 29 of file PropertyMappingConfigurationTest.php.