PHP 클래스 Neos\Flow\Tests\Unit\Validation\ValidatorResolverTest

상속: extends Neos\Flow\Tests\UnitTestCase
파일 보기 프로젝트 열기: neos/flow-development-collection

보호된 프로퍼티들

프로퍼티 타입 설명
$mockObjectManager Neos\Flow\ObjectManagement\ObjectManagerInterface
$mockReflectionService Neos\Flow\Reflection\ReflectionService
$validatorResolver Neos\Flow\Validation\ValidatorResolver

공개 메소드들

메소드 설명
addCustomValidatorsAddsExpectedPolyTypeValidatorToTheConjunction ( )
buildBaseValidatorCachesTheResultOfTheBuildBaseValidatorConjunctionCalls ( )
buildBaseValidatorConjunctionAddsCustomValidatorToTheReturnedConjunction ( )
buildBaseValidatorConjunctionAddsValidatorsDefinedByAnnotationsInTheClassToTheReturnedConjunction ( )
buildBaseValidatorConjunctionAddsValidatorsOnlyForPropertiesHoldingPrototypes ( )
buildBaseValidatorConjunctionBuildsCorrectValidationChainForCyclicRelations ( )
buildBaseValidatorConjunctionReturnsNullIfNoValidatorBuilt ( )
buildBaseValidatorConjunctionSkipsPropertiesAnnotatedWithIgnoreValidation ( )
buildMethodArgumentsValidatorConjunctionsBuildsAConjunctionFromValidateAnnotationsOfTheSpecifiedMethod ( )
buildMethodArgumentsValidatorConjunctionsReturnsEmptyArrayIfMethodHasNoArguments ( )
buildMethodArgumentsValidatorConjunctionsReturnsEmptyConjunctionIfNoValidatorIsFoundForMethodParameter ( )
buildMethodArgumentsValidatorConjunctionsThrowsExceptionIfValidationAnnotationForNonExistingArgumentExists ( )
createValidatorResolvesAndReturnsAValidatorAndPassesTheGivenOptions ( )
createValidatorReturnsNullIfAValidatorCouldNotBeResolved ( )
createValidatorThrowsExceptionForSingletonValidatorsWithOptions ( )
getValidatorTypeCorrectlyRenamesPhpDataTypes ( )
getValidatorTypeRenamesMixedToRaw ( )
resetEmptiesBaseValidatorConjunctions ( )
resolveValidatorObjectNameCallsGetValidatorType ( )
resolveValidatorObjectNameCanResolveShortNamesOfBuiltInValidators ( )
resolveValidatorObjectNameCanResolveShorthandValidatornames ( )
resolveValidatorObjectNameCanResolveShorthandValidatornamesForHierarchicalPackages ( )
resolveValidatorObjectNameRemovesALeadingBackslashFromThePassedType ( )
resolveValidatorObjectNameReturnsFalseIfAnObjectOfTheArgumentNameIsRegisteredButDoesNotImplementValidatorInterface ( )
resolveValidatorObjectNameReturnsFalseIfValidatorCantBeResolved ( )
resolveValidatorObjectNameReturnsTheGivenArgumentIfAnObjectOfThatNameIsRegisteredAndImplementsValidatorInterface ( )
resolveValidatorObjectNameReturnsValidatorObjectNameIfAnObjectOfTheArgumentNameIsRegisteredAndDoesNotImplementValidatorInterfaceAndAValidatorForTheObjectExists ( )
setUp ( )

메소드 상세

addCustomValidatorsAddsExpectedPolyTypeValidatorToTheConjunction() 공개 메소드

buildBaseValidatorCachesTheResultOfTheBuildBaseValidatorConjunctionCalls() 공개 메소드

buildBaseValidatorConjunctionAddsCustomValidatorToTheReturnedConjunction() 공개 메소드

buildBaseValidatorConjunctionAddsValidatorsDefinedByAnnotationsInTheClassToTheReturnedConjunction() 공개 메소드

buildBaseValidatorConjunctionAddsValidatorsOnlyForPropertiesHoldingPrototypes() 공개 메소드

buildBaseValidatorConjunctionBuildsCorrectValidationChainForCyclicRelations() 공개 메소드

buildBaseValidatorConjunctionReturnsNullIfNoValidatorBuilt() 공개 메소드

buildBaseValidatorConjunctionSkipsPropertiesAnnotatedWithIgnoreValidation() 공개 메소드

buildMethodArgumentsValidatorConjunctionsBuildsAConjunctionFromValidateAnnotationsOfTheSpecifiedMethod() 공개 메소드

buildMethodArgumentsValidatorConjunctionsReturnsEmptyArrayIfMethodHasNoArguments() 공개 메소드

buildMethodArgumentsValidatorConjunctionsReturnsEmptyConjunctionIfNoValidatorIsFoundForMethodParameter() 공개 메소드

buildMethodArgumentsValidatorConjunctionsThrowsExceptionIfValidationAnnotationForNonExistingArgumentExists() 공개 메소드

createValidatorResolvesAndReturnsAValidatorAndPassesTheGivenOptions() 공개 메소드

createValidatorReturnsNullIfAValidatorCouldNotBeResolved() 공개 메소드

createValidatorThrowsExceptionForSingletonValidatorsWithOptions() 공개 메소드

getValidatorTypeCorrectlyRenamesPhpDataTypes() 공개 메소드

getValidatorTypeRenamesMixedToRaw() 공개 메소드

resetEmptiesBaseValidatorConjunctions() 공개 메소드

resolveValidatorObjectNameCallsGetValidatorType() 공개 메소드

resolveValidatorObjectNameCanResolveShortNamesOfBuiltInValidators() 공개 메소드

resolveValidatorObjectNameCanResolveShorthandValidatornames() 공개 메소드

resolveValidatorObjectNameCanResolveShorthandValidatornamesForHierarchicalPackages() 공개 메소드

resolveValidatorObjectNameRemovesALeadingBackslashFromThePassedType() 공개 메소드

resolveValidatorObjectNameReturnsFalseIfAnObjectOfTheArgumentNameIsRegisteredButDoesNotImplementValidatorInterface() 공개 메소드

resolveValidatorObjectNameReturnsFalseIfValidatorCantBeResolved() 공개 메소드

resolveValidatorObjectNameReturnsTheGivenArgumentIfAnObjectOfThatNameIsRegisteredAndImplementsValidatorInterface() 공개 메소드

resolveValidatorObjectNameReturnsValidatorObjectNameIfAnObjectOfTheArgumentNameIsRegisteredAndDoesNotImplementValidatorInterfaceAndAValidatorForTheObjectExists() 공개 메소드

setUp() 공개 메소드

public setUp ( )

프로퍼티 상세

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

protected ObjectManagerInterface,Neos\Flow\ObjectManagement $mockObjectManager
리턴 Neos\Flow\ObjectManagement\ObjectManagerInterface

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

protected ReflectionService,Neos\Flow\Reflection $mockReflectionService
리턴 Neos\Flow\Reflection\ReflectionService

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

protected ValidatorResolver,Neos\Flow\Validation $validatorResolver
리턴 Neos\Flow\Validation\ValidatorResolver