PHP Class Neos\Flow\Tests\Functional\Property\PropertyMapperTest

Inheritance: extends Neos\Flow\Tests\FunctionalTestCase
Afficher le fichier Open project: neos/flow-development-collection

Protected Properties

Свойство Type Description
$propertyMapper Neos\Flow\Property\PropertyMapper
$testablePersistenceEnabled

Méthodes publiques

Méthode Description
convertFromShouldThrowExceptionIfGivenSourceTypeIsNotATargetType ( )
convertedAccountRolesCanBeSet ( ) Test case for #47232
domainObjectWithSimplePropertiesCanBeCreated ( )
domainObjectWithVirtualPropertiesCanBeCreated ( )
embeddedValueobjectCanBeMapped ( )
getTargetPropertyNameShouldReturnTheUnmodifiedPropertyNameWithoutConfiguration ( )
ifTargetObjectTypeIsPassedAsArgumentDoNotConvertIt ( ) Testcase for http://forge.typo3.org/issues/36988 - needed for Neos editing
ifTargetObjectTypeIsPassedRecursivelyDoNotConvertIt ( ) Testcase for http://forge.typo3.org/issues/39445
integerCanBeMappedToString ( )
invalidTypeConverterConfigurationsForOverridingTargetTypes ( ) : array Data provider with invalid configuration for target type overrides
mappingOfPropertiesWithUnqualifiedInterfaceName ( )
mappingPersistentEntityAllowsToSetValueToNull ( )
mappingPersistentEntityOnlyChangesModifiedProperties ( )
mappingToFieldsFromSubclassThrowsExceptionIfTypeConverterOptionIsInvalidOrNotSet ( Neos\Flow\Property\PropertyMappingConfigurationInterface $configuration = null )
mappingToFieldsFromSubclassWorksIfTargetTypeIsOverridden ( ) Testcase for #32829
overridenTargetTypeForEntityMustBeASubclass ( )
overridenTargetTypeForSimpleObjectMustBeASubclass ( )
persistentEntityCanBeSerializedToIdentifierUsingObjectSource ( )
setUp ( ) : void
simpleObjectWithSimplePropertiesCanBeCreated ( )
targetTypeForEntityCanBeOverridenIfConfigured ( )
targetTypeForSimpleObjectCanBeOverridenIfConfigured ( )
valueobjectCanBeMapped ( )

Méthodes protégées

Méthode Description
createTestEntity ( ) : string Add and persist a test entity, and return the identifier of the newly created entity.

Method Details

convertFromShouldThrowExceptionIfGivenSourceTypeIsNotATargetType() public méthode

convertedAccountRolesCanBeSet() public méthode

Test case for #47232

createTestEntity() protected méthode

Add and persist a test entity, and return the identifier of the newly created entity.
protected createTestEntity ( ) : string
Résultat string identifier of newly created entity

domainObjectWithSimplePropertiesCanBeCreated() public méthode

domainObjectWithVirtualPropertiesCanBeCreated() public méthode

embeddedValueobjectCanBeMapped() public méthode

getTargetPropertyNameShouldReturnTheUnmodifiedPropertyNameWithoutConfiguration() public méthode

ifTargetObjectTypeIsPassedAsArgumentDoNotConvertIt() public méthode

Testcase for http://forge.typo3.org/issues/36988 - needed for Neos editing

ifTargetObjectTypeIsPassedRecursivelyDoNotConvertIt() public méthode

Testcase for http://forge.typo3.org/issues/39445

integerCanBeMappedToString() public méthode

invalidTypeConverterConfigurationsForOverridingTargetTypes() public méthode

Data provider with invalid configuration for target type overrides

mappingOfPropertiesWithUnqualifiedInterfaceName() public méthode

mappingPersistentEntityAllowsToSetValueToNull() public méthode

mappingPersistentEntityOnlyChangesModifiedProperties() public méthode

mappingToFieldsFromSubclassThrowsExceptionIfTypeConverterOptionIsInvalidOrNotSet() public méthode

public mappingToFieldsFromSubclassThrowsExceptionIfTypeConverterOptionIsInvalidOrNotSet ( Neos\Flow\Property\PropertyMappingConfigurationInterface $configuration = null )
$configuration Neos\Flow\Property\PropertyMappingConfigurationInterface

mappingToFieldsFromSubclassWorksIfTargetTypeIsOverridden() public méthode

Testcase for #32829

overridenTargetTypeForEntityMustBeASubclass() public méthode

overridenTargetTypeForSimpleObjectMustBeASubclass() public méthode

persistentEntityCanBeSerializedToIdentifierUsingObjectSource() public méthode

setUp() public méthode

public setUp ( ) : void
Résultat void

simpleObjectWithSimplePropertiesCanBeCreated() public méthode

targetTypeForEntityCanBeOverridenIfConfigured() public méthode

targetTypeForSimpleObjectCanBeOverridenIfConfigured() public méthode

valueobjectCanBeMapped() public méthode

Property Details

$propertyMapper protected_oe property

protected PropertyMapper,Neos\Flow\Property $propertyMapper
Résultat Neos\Flow\Property\PropertyMapper

$testablePersistenceEnabled protected_oe static_oe property

protected static $testablePersistenceEnabled