Метод | Описание | |
---|---|---|
provideCustomDataErrorTests ( ) | ||
provideCustomFormErrorTests ( ) | ||
provideDefaultTests ( ) | ||
provideErrorTestsForFormInheritingParentData ( ) | ||
testAbortDotRuleMappingIfNotSubmitted ( ) | ||
testAbortDotRuleMappingIfNotSynchronized ( ) | ||
testAbortMappingIfNotSubmitted ( ) | ||
testAbortMappingIfNotSynchronized ( ) | ||
testBacktrackIfSeveralSubFormsWithSamePropertyPath ( ) | ||
testCustomDataErrorMapping ( $target, $mapFrom, $mapTo, $childName, $childPath, $grandChildName, $grandChildPath, $violationPath ) | ||
testCustomFormErrorMapping ( $target, $mapFrom, $mapTo, $errorName, $errorPath, $childName, $childPath, $grandChildName, $grandChildPath, $violationPath ) | ||
testDefaultErrorMapping ( $target, $childName, $childPath, $grandChildName, $grandChildPath, $violationPath ) | ||
testErrorMappingForFormInheritingParentData ( $target, $childName, $childPath, $grandChildName, $grandChildPath, $violationPath ) | ||
testFollowDotRules ( ) | ||
testMapToFormInheritingParentDataIfDataDoesNotMatch ( ) |
Метод | Описание | |
---|---|---|
getConstraintViolation ( $propertyPath ) : |
||
getForm ( $name = 'name', $propertyPath = null, $dataClass = null, $errorMapping = [], $inheritData = false, $synchronized = true ) | ||
getFormError ( Symfony\Component\Validator\ConstraintViolationInterface $violation, Symfony\Component\Form\FormInterface $form ) : |
||
setUp ( ) |
Метод | Описание | |
---|---|---|
getDataMapper ( ) : PHPUnit_Framework_MockObject_MockObject |
protected getConstraintViolation ( $propertyPath ) : |
||
$propertyPath | ||
Результат |
protected getForm ( $name = 'name', $propertyPath = null, $dataClass = null, $errorMapping = [], $inheritData = false, $synchronized = true ) |
protected getFormError ( Symfony\Component\Validator\ConstraintViolationInterface $violation, Symfony\Component\Form\FormInterface $form ) : |
||
$violation | Symfony\Component\Validator\ConstraintViolationInterface | |
$form | Symfony\Component\Form\FormInterface | |
Результат |
public provideErrorTestsForFormInheritingParentData ( ) |
public testAbortDotRuleMappingIfNotSubmitted ( ) |
public testAbortDotRuleMappingIfNotSynchronized ( ) |
public testCustomDataErrorMapping ( $target, $mapFrom, $mapTo, $childName, $childPath, $grandChildName, $grandChildPath, $violationPath ) |
public testCustomFormErrorMapping ( $target, $mapFrom, $mapTo, $errorName, $errorPath, $childName, $childPath, $grandChildName, $grandChildPath, $violationPath ) |
public testDefaultErrorMapping ( $target, $childName, $childPath, $grandChildName, $grandChildPath, $violationPath ) |
public testErrorMappingForFormInheritingParentData ( $target, $childName, $childPath, $grandChildName, $grandChildPath, $violationPath ) |