95 lines
2.4 KiB
YAML
95 lines
2.4 KiB
YAML
name: CountryValidatorTest
|
|
class_comment: null
|
|
dependencies:
|
|
- name: IntlTestHelper
|
|
type: class
|
|
source: Symfony\Component\Intl\Util\IntlTestHelper
|
|
- name: Country
|
|
type: class
|
|
source: Symfony\Component\Validator\Constraints\Country
|
|
- name: CountryValidator
|
|
type: class
|
|
source: Symfony\Component\Validator\Constraints\CountryValidator
|
|
- name: UnexpectedValueException
|
|
type: class
|
|
source: Symfony\Component\Validator\Exception\UnexpectedValueException
|
|
- name: ConstraintValidatorTestCase
|
|
type: class
|
|
source: Symfony\Component\Validator\Test\ConstraintValidatorTestCase
|
|
properties: []
|
|
methods:
|
|
- name: setUp
|
|
visibility: protected
|
|
parameters: []
|
|
comment: null
|
|
- name: tearDown
|
|
visibility: protected
|
|
parameters: []
|
|
comment: null
|
|
- 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: testValidCountries
|
|
visibility: public
|
|
parameters:
|
|
- name: country
|
|
comment: '# * @dataProvider getValidCountries'
|
|
- name: getValidCountries
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testInvalidCountries
|
|
visibility: public
|
|
parameters:
|
|
- name: country
|
|
comment: '# * @dataProvider getInvalidCountries'
|
|
- name: getInvalidCountries
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testValidAlpha3Countries
|
|
visibility: public
|
|
parameters:
|
|
- name: country
|
|
comment: '# * @dataProvider getValidAlpha3Countries'
|
|
- name: getValidAlpha3Countries
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testInvalidAlpha3Countries
|
|
visibility: public
|
|
parameters:
|
|
- name: country
|
|
comment: '# * @dataProvider getInvalidAlpha3Countries'
|
|
- name: getInvalidAlpha3Countries
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testInvalidAlpha3CountryNamed
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testValidateUsingCountrySpecificLocale
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
traits:
|
|
- Symfony\Component\Intl\Util\IntlTestHelper
|
|
- Symfony\Component\Validator\Constraints\Country
|
|
- Symfony\Component\Validator\Constraints\CountryValidator
|
|
- Symfony\Component\Validator\Exception\UnexpectedValueException
|
|
- Symfony\Component\Validator\Test\ConstraintValidatorTestCase
|
|
interfaces: []
|