80 lines
2.1 KiB
YAML
80 lines
2.1 KiB
YAML
name: LocaleValidatorTest
|
|
class_comment: null
|
|
dependencies:
|
|
- name: Locale
|
|
type: class
|
|
source: Symfony\Component\Validator\Constraints\Locale
|
|
- name: LocaleValidator
|
|
type: class
|
|
source: Symfony\Component\Validator\Constraints\LocaleValidator
|
|
- 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: testValidLocales
|
|
visibility: public
|
|
parameters:
|
|
- name: locale
|
|
comment: '# * @dataProvider getValidLocales'
|
|
- name: getValidLocales
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testInvalidLocales
|
|
visibility: public
|
|
parameters:
|
|
- name: locale
|
|
comment: '# * @dataProvider getInvalidLocales'
|
|
- name: getInvalidLocales
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testValidLocalesWithCanonicalization
|
|
visibility: public
|
|
parameters:
|
|
- name: locale
|
|
comment: '# * @dataProvider getUncanonicalizedLocales'
|
|
- name: testValidLocalesWithoutCanonicalization
|
|
visibility: public
|
|
parameters:
|
|
- name: locale
|
|
comment: '# * @dataProvider getValidLocales'
|
|
- name: testInvalidLocalesWithoutCanonicalization
|
|
visibility: public
|
|
parameters:
|
|
- name: locale
|
|
comment: '# * @dataProvider getUncanonicalizedLocales'
|
|
- name: testInvalidLocaleWithoutCanonicalizationNamed
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: getUncanonicalizedLocales
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
traits:
|
|
- Symfony\Component\Validator\Constraints\Locale
|
|
- Symfony\Component\Validator\Constraints\LocaleValidator
|
|
- Symfony\Component\Validator\Exception\UnexpectedValueException
|
|
- Symfony\Component\Validator\Test\ConstraintValidatorTestCase
|
|
interfaces: []
|