You are here

abstract protected function AbstractComparisonValidatorTestCase::createConstraint in Plug 7

Parameters

array $options Options for the constraint:

Return value

Constraint

3 calls to AbstractComparisonValidatorTestCase::createConstraint()
AbstractComparisonValidatorTestCase::testInvalidComparisonToValue in lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/AbstractComparisonValidatorTestCase.php
@dataProvider provideAllInvalidComparisons
AbstractComparisonValidatorTestCase::testThrowsConstraintExceptionIfNoValueOrProperty in lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/AbstractComparisonValidatorTestCase.php
@expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException
AbstractComparisonValidatorTestCase::testValidComparisonToValue in lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/AbstractComparisonValidatorTestCase.php
@dataProvider provideAllValidComparisons
8 methods override AbstractComparisonValidatorTestCase::createConstraint()
EqualToValidatorTest::createConstraint in lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/EqualToValidatorTest.php
GreaterThanOrEqualValidatorTest::createConstraint in lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/GreaterThanOrEqualValidatorTest.php
GreaterThanValidatorTest::createConstraint in lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/GreaterThanValidatorTest.php
IdenticalToValidatorTest::createConstraint in lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/IdenticalToValidatorTest.php
LessThanOrEqualValidatorTest::createConstraint in lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/LessThanOrEqualValidatorTest.php

... See full list

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/AbstractComparisonValidatorTestCase.php, line 172

Class

AbstractComparisonValidatorTestCase
@author Daniel Holmes <daniel@danielholmes.org>

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

protected abstract function createConstraint(array $options);