PHP Class Symfony\Component\Form\Tests\Extension\Validator\EventListener\ValidationListenerTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: symfony/symfony

Public Methods

Method Description
testMapViolation ( ) More specific mapping tests can be found in ViolationMapperTest
testMapViolationAllowsNonSyncIfInvalid ( )
testValidateIgnoresNonRoot ( )
testValidateWithEmptyViolationList ( )
testValidatorInterface ( )

Protected Methods

Method Description
setUp ( )

Private Methods

Method Description
getBuilder ( $name = 'name', $propertyPath = null, $dataClass = null )
getConstraintViolation ( $code = null )
getForm ( $name = 'name', $propertyPath = null, $dataClass = null )
getMockForm ( )

Method Details

setUp() protected method

protected setUp ( )

testMapViolation() public method

More specific mapping tests can be found in ViolationMapperTest
public testMapViolation ( )

testMapViolationAllowsNonSyncIfInvalid() public method

testValidateIgnoresNonRoot() public method

testValidateWithEmptyViolationList() public method

testValidatorInterface() public method