You are here

protected function AbstractConstraintValidatorTest::assertNoViolation in Plug 7

138 calls to AbstractConstraintValidatorTest::assertNoViolation()
AbstractComparisonValidatorTestCase::testValidComparisonToValue in lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/AbstractComparisonValidatorTestCase.php
@dataProvider provideAllValidComparisons
AllValidatorTest::testNullIsValid in lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/AllValidatorTest.php
AllValidatorTest::testWalkMultipleConstraints in lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/AllValidatorTest.php
@dataProvider getValidArguments
AllValidatorTest::testWalkSingleConstraint in lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/AllValidatorTest.php
@dataProvider getValidArguments
BlankValidatorTest::testBlankIsValid in lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/BlankValidatorTest.php

... See full list

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/AbstractConstraintValidatorTest.php, line 352

Class

AbstractConstraintValidatorTest
@since 2.5.3

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

protected function assertNoViolation() {
  $this
    ->assertCount(0, $this->context
    ->getViolations());
}