73 lines
1.8 KiB
YAML
73 lines
1.8 KiB
YAML
|
name: DateTimeValidatorTest
|
||
|
class_comment: null
|
||
|
dependencies:
|
||
|
- name: DateTime
|
||
|
type: class
|
||
|
source: Symfony\Component\Validator\Constraints\DateTime
|
||
|
- name: DateTimeValidator
|
||
|
type: class
|
||
|
source: Symfony\Component\Validator\Constraints\DateTimeValidator
|
||
|
- name: UnexpectedValueException
|
||
|
type: class
|
||
|
source: Symfony\Component\Validator\Exception\UnexpectedValueException
|
||
|
- name: ConstraintValidatorTestCase
|
||
|
type: class
|
||
|
source: Symfony\Component\Validator\Test\ConstraintValidatorTestCase
|
||
|
properties: []
|
||
|
methods:
|
||
|
- name: createValidator
|
||
|
visibility: protected
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testNullIsValid
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testEmptyStringIsValid
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testExpectsStringCompatibleType
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testDateTimeWithDefaultFormat
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testValidDateTimes
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: format
|
||
|
- name: dateTime
|
||
|
comment: '# * @dataProvider getValidDateTimes'
|
||
|
- name: getValidDateTimes
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testInvalidDateTimes
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: format
|
||
|
- name: dateTime
|
||
|
- name: code
|
||
|
comment: '# * @dataProvider getInvalidDateTimes'
|
||
|
- name: getInvalidDateTimes
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testInvalidDateTimeNamed
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testDateTimeWithTrailingData
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
traits:
|
||
|
- Symfony\Component\Validator\Constraints\DateTime
|
||
|
- Symfony\Component\Validator\Constraints\DateTimeValidator
|
||
|
- Symfony\Component\Validator\Exception\UnexpectedValueException
|
||
|
- Symfony\Component\Validator\Test\ConstraintValidatorTestCase
|
||
|
interfaces: []
|