TYPO3 CMS  TYPO3_6-2
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

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

Protected Member Functions

 buildChildConfigurationForSingleProperty ()
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 getAccessibleMock ( $originalClassName, array $methods=array(), array $arguments=array(), $mockClassName='', $callOriginalConstructor=TRUE, $callOriginalClone=TRUE, $callAutoload=TRUE)
 
 getAccessibleMockForAbstractClass ( $originalClassName, array $arguments=array(), $mockClassName='', $callOriginalConstructor=TRUE, $callOriginalClone=TRUE, $callAutoload=TRUE)
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix='')
 

Protected Attributes

 $propertyMappingConfiguration
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 $backupGlobalsBlacklist = array('TYPO3_LOADED_EXT')
 
- 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 171 of file PropertyMappingConfigurationTest.php.

◆ fluentInterfaceMethodsDataProvider()

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

Definition at line 190 of file PropertyMappingConfigurationTest.php.

◆ forPropertyWithAsteriskAllowsArbitraryPropertyNamesWithForProperty()

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

Definition at line 227 of file PropertyMappingConfigurationTest.php.

◆ forPropertyWithAsteriskAllowsArbitraryPropertyNamesWithGetConfigurationFor()

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

Definition at line 216 of file PropertyMappingConfigurationTest.php.

◆ forPropertyWithAsteriskAllowsArbitraryPropertyNamesWithShouldMap()

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

Definition at line 238 of file PropertyMappingConfigurationTest.php.

◆ getTargetPropertyNameShouldRespectMapping()

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

Definition at line 181 of file PropertyMappingConfigurationTest.php.

◆ getTargetPropertyNameShouldReturnTheUnmodifiedPropertyNameWithoutConfiguration()

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

Definition at line 45 of file PropertyMappingConfigurationTest.php.

◆ getTypeConverterReturnsNullIfNoTypeConverterSet()

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

Definition at line 155 of file PropertyMappingConfigurationTest.php.

◆ getTypeConverterReturnsTypeConverterIfItHasBeenSet()

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

Definition at line 162 of file PropertyMappingConfigurationTest.php.

◆ nonexistentTypeConverterOptionsReturnNull()

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

Definition at line 124 of file PropertyMappingConfigurationTest.php.

◆ respectiveMethodsProvideFluentInterface()

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

Definition at line 208 of file PropertyMappingConfigurationTest.php.

◆ setTypeConverterOptionsCanBeRetrievedAgain()

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

Definition at line 113 of file PropertyMappingConfigurationTest.php.

◆ setTypeConverterOptionShouldOverrideAlreadySetOptions()

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

Definition at line 143 of file PropertyMappingConfigurationTest.php.

◆ setTypeConverterOptionsShouldOverrideAlreadySetOptions()

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

Definition at line 131 of file PropertyMappingConfigurationTest.php.

◆ setUp()

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

Initialization

Definition at line 37 of file PropertyMappingConfigurationTest.php.

◆ shouldMapReturnsFalseByDefault()

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

Definition at line 54 of file PropertyMappingConfigurationTest.php.

◆ shouldMapReturnsFalseForBlacklistedProperties()

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

Definition at line 83 of file PropertyMappingConfigurationTest.php.

◆ shouldMapReturnsTrueForAllowedProperties()

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

Definition at line 73 of file PropertyMappingConfigurationTest.php.

◆ shouldMapReturnsTrueIfConfigured()

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

Definition at line 63 of file PropertyMappingConfigurationTest.php.

◆ shouldSkipReturnsFalseByDefault()

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

Definition at line 95 of file PropertyMappingConfigurationTest.php.

◆ shouldSkipReturnsTrueIfConfigured()

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

Definition at line 104 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.