You are here

class LegacyTypeValidator2Dot4ApiTest in Plug 7

@since 2.5.3 @author Bernhard Schussek <bschussek@gmail.com> @group legacy

Hierarchy

Expanded class hierarchy of LegacyTypeValidator2Dot4ApiTest

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/LegacyTypeValidator2Dot4ApiTest.php, line 21

Namespace

Symfony\Component\Validator\Tests\Constraints
View source
class LegacyTypeValidator2Dot4ApiTest extends TypeValidatorTest {

  /**
   * PhpUnit calls data providers of test suites before launching the test
   * suite. If this property is not replicated in every test class, only one
   * file will ever be created and stored in TypeValidatorTest::$file. After
   * the execution of the first TypeValidator test case, tearDownAfterClass()
   * is called and closes the file. Hence the resource is not available
   * anymore in the other TypeValidator test cases.
   */
  protected static $file;
  protected function getApiVersion() {
    return Validation::API_VERSION_2_4;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
AbstractConstraintValidatorTest::$constraint protected property
AbstractConstraintValidatorTest::$context protected property 1
AbstractConstraintValidatorTest::$defaultTimezone protected property
AbstractConstraintValidatorTest::$group protected property
AbstractConstraintValidatorTest::$metadata protected property
AbstractConstraintValidatorTest::$object protected property
AbstractConstraintValidatorTest::$propertyPath protected property
AbstractConstraintValidatorTest::$root protected property
AbstractConstraintValidatorTest::$validator protected property 1
AbstractConstraintValidatorTest::$value protected property
AbstractConstraintValidatorTest::assertNoViolation protected function
AbstractConstraintValidatorTest::assertViolation Deprecated protected function
AbstractConstraintValidatorTest::assertViolations Deprecated protected function
AbstractConstraintValidatorTest::buildViolation protected function
AbstractConstraintValidatorTest::createContext protected function
AbstractConstraintValidatorTest::createViolation Deprecated protected function
AbstractConstraintValidatorTest::expectNoValidate protected function
AbstractConstraintValidatorTest::expectValidateAt protected function
AbstractConstraintValidatorTest::expectValidateValueAt protected function
AbstractConstraintValidatorTest::restoreDefaultTimezone protected function
AbstractConstraintValidatorTest::setDefaultTimezone protected function
AbstractConstraintValidatorTest::setGroup protected function
AbstractConstraintValidatorTest::setObject protected function
AbstractConstraintValidatorTest::setProperty protected function
AbstractConstraintValidatorTest::setPropertyPath protected function
AbstractConstraintValidatorTest::setRoot protected function
AbstractConstraintValidatorTest::setUp protected function 6
AbstractConstraintValidatorTest::setValue protected function
AbstractConstraintValidatorTest::tearDown protected function 1
LegacyTypeValidator2Dot4ApiTest::$file protected static property PhpUnit calls data providers of test suites before launching the test suite. If this property is not replicated in every test class, only one file will ever be created and stored in TypeValidatorTest::$file. After the execution of the first… Overrides TypeValidatorTest::$file
LegacyTypeValidator2Dot4ApiTest::getApiVersion protected function Overrides TypeValidatorTest::getApiVersion
TypeValidatorTest::createFile protected function
TypeValidatorTest::createValidator protected function Overrides AbstractConstraintValidatorTest::createValidator
TypeValidatorTest::getInvalidValues public function
TypeValidatorTest::getValidValues public function
TypeValidatorTest::tearDownAfterClass public static function
TypeValidatorTest::testEmptyIsInvalidIfNoString public function
TypeValidatorTest::testEmptyIsValidIfString public function
TypeValidatorTest::testInvalidValues public function @dataProvider getInvalidValues
TypeValidatorTest::testNullIsValid public function
TypeValidatorTest::testValidValues public function @dataProvider getValidValues