TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Extbase\Tests\Unit\Property\PropertyMappingConfigurationTest Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Tests\Unit\Property\PropertyMappingConfigurationTest:
TYPO3\CMS\Core\Tests\UnitTestCase TYPO3\CMS\Core\Tests\BaseTestCase

Public Member Functions

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

Protected Member Functions

 setUp ()
 
 buildChildConfigurationForSingleProperty ()
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\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)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix='')
 

Protected Attributes

 $propertyMappingConfiguration
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Test case

Definition at line 27 of file PropertyMappingConfigurationTest.php.

Member Function Documentation

◆ buildChildConfigurationForSingleProperty()

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

Definition at line 185 of file PropertyMappingConfigurationTest.php.

◆ fluentInterfaceMethodsDataProvider()

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

Definition at line 206 of file PropertyMappingConfigurationTest.php.

◆ forPropertyWithAsteriskAllowsArbitraryPropertyNamesWithForProperty()

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

Definition at line 246 of file PropertyMappingConfigurationTest.php.

◆ forPropertyWithAsteriskAllowsArbitraryPropertyNamesWithGetConfigurationFor()

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

Definition at line 234 of file PropertyMappingConfigurationTest.php.

◆ forPropertyWithAsteriskAllowsArbitraryPropertyNamesWithShouldMap()

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

Definition at line 258 of file PropertyMappingConfigurationTest.php.

◆ getTargetPropertyNameShouldRespectMapping()

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

Definition at line 196 of file PropertyMappingConfigurationTest.php.

◆ getTargetPropertyNameShouldReturnTheUnmodifiedPropertyNameWithoutConfiguration()

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

Definition at line 46 of file PropertyMappingConfigurationTest.php.

◆ getTypeConverterReturnsNullIfNoTypeConverterSet()

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

Definition at line 167 of file PropertyMappingConfigurationTest.php.

◆ getTypeConverterReturnsTypeConverterIfItHasBeenSet()

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

Definition at line 175 of file PropertyMappingConfigurationTest.php.

◆ nonexistentTypeConverterOptionsReturnNull()

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

Definition at line 133 of file PropertyMappingConfigurationTest.php.

◆ respectiveMethodsProvideFluentInterface()

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

Definition at line 225 of file PropertyMappingConfigurationTest.php.

◆ setTypeConverterOptionsCanBeRetrievedAgain()

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

Definition at line 121 of file PropertyMappingConfigurationTest.php.

◆ setTypeConverterOptionShouldOverrideAlreadySetOptions()

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

Definition at line 154 of file PropertyMappingConfigurationTest.php.

◆ setTypeConverterOptionsShouldOverrideAlreadySetOptions()

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

Definition at line 141 of file PropertyMappingConfigurationTest.php.

◆ setUp()

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

Initialization

Definition at line 37 of file PropertyMappingConfigurationTest.php.

◆ shouldMapReturnsFalseByDefault()

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

Definition at line 56 of file PropertyMappingConfigurationTest.php.

◆ shouldMapReturnsFalseForBlacklistedProperties()

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

Definition at line 88 of file PropertyMappingConfigurationTest.php.

◆ shouldMapReturnsTrueForAllowedProperties()

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

Definition at line 77 of file PropertyMappingConfigurationTest.php.

◆ shouldMapReturnsTrueIfConfigured()

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

Definition at line 66 of file PropertyMappingConfigurationTest.php.

◆ shouldSkipReturnsFalseByDefault()

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

Definition at line 101 of file PropertyMappingConfigurationTest.php.

◆ shouldSkipReturnsTrueIfConfigured()

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

Definition at line 111 of file PropertyMappingConfigurationTest.php.

Member Data Documentation

◆ $propertyMappingConfiguration

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

Definition at line 32 of file PropertyMappingConfigurationTest.php.