public function TimeValidatorTest::getInvalidTimes

File

drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Tests/Constraints/TimeValidatorTest.php, line 105

Class

TimeValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function getInvalidTimes() {
  return array(
    array(
      'foobar',
    ),
    array(
      'foobar 12:34:56',
    ),
    array(
      '12:34:56 foobar',
    ),
    array(
      '00:00',
    ),
    array(
      '24:00:00',
    ),
    array(
      '00:60:00',
    ),
    array(
      '00:00:60',
    ),
  );
}