You are here

class LegacyValidator2Dot5ApiTest in Plug 7

@group legacy

Hierarchy

Expanded class hierarchy of LegacyValidator2Dot5ApiTest

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Validator/LegacyValidator2Dot5ApiTest.php, line 23

Namespace

Symfony\Component\Validator\Tests\Validator
View source
class LegacyValidator2Dot5ApiTest extends Abstract2Dot5ApiTest {
  protected function setUp() {
    if (PHP_VERSION_ID < 50309) {
      $this
        ->markTestSkipped('Not supported prior to PHP 5.3.9');
    }
    parent::setUp();
  }
  protected function createValidator(MetadataFactoryInterface $metadataFactory, array $objectInitializers = array()) {
    $contextFactory = new LegacyExecutionContextFactory($metadataFactory, new DefaultTranslator());
    $validatorFactory = new ConstraintValidatorFactory();
    return new LegacyValidator($contextFactory, $metadataFactory, $validatorFactory, $objectInitializers);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
Abstract2Dot5ApiTest::$validator protected property
Abstract2Dot5ApiTest::testAccessCurrentObject public function
Abstract2Dot5ApiTest::testAddCustomizedViolation public function
Abstract2Dot5ApiTest::testExpectTraversableIfTraversalEnabledOnClass public function @expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException
Abstract2Dot5ApiTest::testGroupSequenceAbortsAfterFailedGroup public function
Abstract2Dot5ApiTest::testGroupSequenceIncludesReferences public function
Abstract2Dot5ApiTest::testInitializeObjectsOnFirstValidation public function
Abstract2Dot5ApiTest::testLegacyPropertyMetadataMustImplementPropertyMetadataInterface public function @expectedException \Symfony\Component\Validator\Exception\UnsupportedMetadataException @group legacy
Abstract2Dot5ApiTest::testMetadataMustImplementClassMetadataInterface public function @expectedException \Symfony\Component\Validator\Exception\UnsupportedMetadataException
Abstract2Dot5ApiTest::testNoDuplicateValidationIfClassConstraintInMultipleGroups public function
Abstract2Dot5ApiTest::testNoDuplicateValidationIfPropertyConstraintInMultipleGroups public function
Abstract2Dot5ApiTest::testPassConstraintToViolation public function
Abstract2Dot5ApiTest::testReferenceMetadataMustImplementClassMetadataInterface public function @expectedException \Symfony\Component\Validator\Exception\UnsupportedMetadataException
Abstract2Dot5ApiTest::testReferenceTraversalDisabledOnClass public function
Abstract2Dot5ApiTest::testReferenceTraversalDisabledOnReferenceEnabledOnClass public function
Abstract2Dot5ApiTest::testReferenceTraversalEnabledOnReferenceDisabledOnClass public function
Abstract2Dot5ApiTest::testReferenceTraversalRecursionDisabledOnReferenceTraversalEnabledOnClass public function
Abstract2Dot5ApiTest::testReferenceTraversalRecursionEnabledOnReferenceTraversalEnabledOnClass public function
Abstract2Dot5ApiTest::testTraversalDisabledOnClass public function
Abstract2Dot5ApiTest::testTraversalEnabledOnClass public function
Abstract2Dot5ApiTest::testTraverseTraversableByDefault public function
Abstract2Dot5ApiTest::testValidateArrayInContext public function
Abstract2Dot5ApiTest::testValidateConstraintWithoutGroup public function
Abstract2Dot5ApiTest::testValidateFailsIfNoConstraintsAndNoObjectOrArray public function @expectedException \Symfony\Component\Validator\Exception\RuntimeException
Abstract2Dot5ApiTest::testValidateInContext public function
Abstract2Dot5ApiTest::testValidateInSeparateContext public function
Abstract2Dot5ApiTest::validate protected function Overrides AbstractValidatorTest::validate
Abstract2Dot5ApiTest::validateProperty protected function Overrides AbstractValidatorTest::validateProperty
Abstract2Dot5ApiTest::validatePropertyValue protected function Overrides AbstractValidatorTest::validatePropertyValue
AbstractValidatorTest::$metadata public property
AbstractValidatorTest::$metadataFactory public property
AbstractValidatorTest::$referenceMetadata public property
AbstractValidatorTest::ENTITY_CLASS constant
AbstractValidatorTest::REFERENCE_CLASS constant
AbstractValidatorTest::tearDown protected function
AbstractValidatorTest::testArray public function
AbstractValidatorTest::testArrayReference public function
AbstractValidatorTest::testArrayTraversalCannotBeDisabled public function
AbstractValidatorTest::testClassConstraint public function
AbstractValidatorTest::testDisableTraversableTraversal public function
AbstractValidatorTest::testEnableRecursiveTraversableTraversal public function
AbstractValidatorTest::testFailOnScalarReferences public function @expectedException \Symfony\Component\Validator\Exception\NoSuchMetadataException
AbstractValidatorTest::testGetterConstraint public function
AbstractValidatorTest::testIgnoreNullDuringArrayTraversal public function
AbstractValidatorTest::testIgnoreScalarsDuringArrayTraversal public function
AbstractValidatorTest::testLegacyValidatePropertyFailsIfPropertiesNotSupported public function Cannot be UnsupportedMetadataException for BC with Symfony < 2.5.
AbstractValidatorTest::testLegacyValidatePropertyValueFailsIfPropertiesNotSupported public function Cannot be UnsupportedMetadataException for BC with Symfony < 2.5.
AbstractValidatorTest::testMetadataMustExistIfTraversalIsDisabled public function @expectedException \Symfony\Component\Validator\Exception\NoSuchMetadataException
AbstractValidatorTest::testPropagateDefaultGroupToReferenceWhenReplacingDefaultGroup public function
AbstractValidatorTest::testPropertyConstraint public function
AbstractValidatorTest::testRecursiveArray public function
AbstractValidatorTest::testRecursiveArrayReference public function
AbstractValidatorTest::testRecursiveArrayTraversalCannotBeDisabled public function
AbstractValidatorTest::testRecursiveTraversable public function
AbstractValidatorTest::testReferenceClassConstraint public function
AbstractValidatorTest::testReferenceGetterConstraint public function
AbstractValidatorTest::testReferencePropertyConstraint public function
AbstractValidatorTest::testReplaceDefaultGroupByGroupSequenceArray public function
AbstractValidatorTest::testReplaceDefaultGroupByGroupSequenceObject public function
AbstractValidatorTest::testReplaceDefaultGroupWithArrayFromGroupSequenceProvider public function
AbstractValidatorTest::testReplaceDefaultGroupWithObjectFromGroupSequenceProvider public function
AbstractValidatorTest::testsIgnoreNullReference public function
AbstractValidatorTest::testTraversable public function
AbstractValidatorTest::testTraversableReference public function
AbstractValidatorTest::testValidate public function
AbstractValidatorTest::testValidateCustomGroupWhenDefaultGroupWasReplaced public function
AbstractValidatorTest::testValidateDifferentObjectsSeparately public function
AbstractValidatorTest::testValidateMultipleGroups public function
AbstractValidatorTest::testValidateObjectOnlyOncePerGroup public function
AbstractValidatorTest::testValidateProperty public function
AbstractValidatorTest::testValidatePropertyValue public function
AbstractValidatorTest::testValidatePropertyValueWithClassName public function
AbstractValidatorTest::testValidatePropertyValueWithoutConstraints public function https://github.com/symfony/symfony/issues/11604
AbstractValidatorTest::testValidatePropertyWithoutConstraints public function https://github.com/symfony/symfony/issues/11604
AbstractValidatorTest::testValidateSingleGroup public function
LegacyValidator2Dot5ApiTest::createValidator protected function Overrides Abstract2Dot5ApiTest::createValidator
LegacyValidator2Dot5ApiTest::setUp protected function Overrides Abstract2Dot5ApiTest::setUp