PHP 클래스 Neos\Flow\Tests\Functional\Property\PropertyMapperTest

파일 보기 프로젝트 열기: neos/flow-development-collection

보호된 프로퍼티들

프로퍼티 타입 설명
$propertyMapper Neos\Flow\Property\PropertyMapper
$testablePersistenceEnabled

공개 메소드들

메소드 설명
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 ( )

보호된 메소드들

메소드 설명
createTestEntity ( ) : string Add and persist a test entity, and return the identifier of the newly created entity.

메소드 상세

convertFromShouldThrowExceptionIfGivenSourceTypeIsNotATargetType() 공개 메소드

convertedAccountRolesCanBeSet() 공개 메소드

Test case for #47232

createTestEntity() 보호된 메소드

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

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() 공개 메소드

Data provider with invalid configuration for target type overrides

mappingOfPropertiesWithUnqualifiedInterfaceName() 공개 메소드

mappingPersistentEntityAllowsToSetValueToNull() 공개 메소드

mappingPersistentEntityOnlyChangesModifiedProperties() 공개 메소드

mappingToFieldsFromSubclassThrowsExceptionIfTypeConverterOptionIsInvalidOrNotSet() 공개 메소드

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

mappingToFieldsFromSubclassWorksIfTargetTypeIsOverridden() 공개 메소드

Testcase for #32829

overridenTargetTypeForEntityMustBeASubclass() 공개 메소드

overridenTargetTypeForSimpleObjectMustBeASubclass() 공개 메소드

persistentEntityCanBeSerializedToIdentifierUsingObjectSource() 공개 메소드

setUp() 공개 메소드

public setUp ( ) : void
리턴 void

simpleObjectWithSimplePropertiesCanBeCreated() 공개 메소드

targetTypeForEntityCanBeOverridenIfConfigured() 공개 메소드

targetTypeForSimpleObjectCanBeOverridenIfConfigured() 공개 메소드

valueobjectCanBeMapped() 공개 메소드

프로퍼티 상세

$propertyMapper 보호되어 있는 프로퍼티

protected PropertyMapper,Neos\Flow\Property $propertyMapper
리턴 Neos\Flow\Property\PropertyMapper

$testablePersistenceEnabled 보호되어 있는 정적으로 프로퍼티

protected static $testablePersistenceEnabled