api/symfony/Component/Validator/Tests/Constraints/DateValidatorTest.yaml
2024-09-26 02:03:21 -07:00

62 lines
1.6 KiB
YAML

name: DateValidatorTest
class_comment: null
dependencies:
- name: Date
type: class
source: Symfony\Component\Validator\Constraints\Date
- name: DateValidator
type: class
source: Symfony\Component\Validator\Constraints\DateValidator
- 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: testValidDates
visibility: public
parameters:
- name: date
comment: '# * @dataProvider getValidDates'
- name: getValidDates
visibility: public
parameters: []
comment: null
- name: testInvalidDates
visibility: public
parameters:
- name: date
- name: code
comment: '# * @dataProvider getInvalidDates'
- name: testInvalidDateNamed
visibility: public
parameters: []
comment: null
- name: getInvalidDates
visibility: public
parameters: []
comment: null
traits:
- Symfony\Component\Validator\Constraints\Date
- Symfony\Component\Validator\Constraints\DateValidator
- Symfony\Component\Validator\Exception\UnexpectedValueException
- Symfony\Component\Validator\Test\ConstraintValidatorTestCase
interfaces: []