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

184 lines
4.7 KiB
YAML

name: BicValidatorTest
class_comment: null
dependencies:
- name: Bic
type: class
source: Symfony\Component\Validator\Constraints\Bic
- name: BicValidator
type: class
source: Symfony\Component\Validator\Constraints\BicValidator
- name: ConstraintDefinitionException
type: class
source: Symfony\Component\Validator\Exception\ConstraintDefinitionException
- name: InvalidArgumentException
type: class
source: Symfony\Component\Validator\Exception\InvalidArgumentException
- name: UnexpectedValueException
type: class
source: Symfony\Component\Validator\Exception\UnexpectedValueException
- name: ClassMetadata
type: class
source: Symfony\Component\Validator\Mapping\ClassMetadata
- name: AttributeLoader
type: class
source: Symfony\Component\Validator\Mapping\Loader\AttributeLoader
- name: ConstraintValidatorTestCase
type: class
source: Symfony\Component\Validator\Test\ConstraintValidatorTestCase
- name: BicTypedDummy
type: class
source: Symfony\Component\Validator\Tests\Constraints\Fixtures\BicTypedDummy
properties:
- name: value
visibility: protected
comment: null
- name: bic1
visibility: private
comment: null
- name: bic2
visibility: private
comment: null
- name: iban
visibility: private
comment: null
methods:
- name: createValidator
visibility: protected
parameters: []
comment: null
- name: testNullIsValid
visibility: public
parameters: []
comment: null
- name: testEmptyStringIsValid
visibility: public
parameters: []
comment: null
- name: testValidComparisonToPropertyPath
visibility: public
parameters: []
comment: null
- name: testInvalidComparisonToPropertyPath
visibility: public
parameters: []
comment: null
- name: testInvalidComparisonToPropertyPathFromAttribute
visibility: public
parameters: []
comment: null
- name: testPropertyPathReferencingUninitializedProperty
visibility: public
parameters: []
comment: null
- name: testValidComparisonToValue
visibility: public
parameters: []
comment: null
- name: testInvalidComparisonToValue
visibility: public
parameters: []
comment: null
- name: testInvalidComparisonToValueFromAttribute
visibility: public
parameters: []
comment: null
- name: testNoViolationOnNullObjectWithPropertyPath
visibility: public
parameters: []
comment: null
- name: testThrowsConstraintExceptionIfBothValueAndPropertyPath
visibility: public
parameters: []
comment: null
- name: testThrowsConstraintExceptionIfBothValueAndPropertyPathNamed
visibility: public
parameters: []
comment: null
- name: testInvalidValuePath
visibility: public
parameters: []
comment: null
- name: testExpectsStringCompatibleType
visibility: public
parameters: []
comment: null
- name: testValidBics
visibility: public
parameters:
- name: bic
comment: '# * @dataProvider getValidBics'
- name: getValidBics
visibility: public
parameters: []
comment: null
- name: testInvalidBics
visibility: public
parameters:
- name: bic
- name: code
comment: '# * @dataProvider getInvalidBics'
- name: testInvalidBicsNamed
visibility: public
parameters:
- name: bic
- name: code
comment: '# * @dataProvider getInvalidBics'
- name: getInvalidBics
visibility: public
parameters: []
comment: null
- name: testValidBicSpecialCases
visibility: public
parameters:
- name: bic
- name: iban
comment: '# * @dataProvider getValidBicSpecialCases
# *
# * Some territories have their own ISO country code but can use another country
code
# * for IBAN accounts. Example: "French Guiana" (country code "GF") can use FR
too.'
- name: getValidBicSpecialCases
visibility: public
parameters: []
comment: null
- name: testValidBicsWithNormalizerToUpper
visibility: public
parameters:
- name: bic
comment: '# * @dataProvider getValidBicsWithNormalizerToUpper'
- name: getValidBicsWithNormalizerToUpper
visibility: public
parameters: []
comment: null
- name: testFailOnInvalidMode
visibility: public
parameters: []
comment: null
- name: __construct
visibility: public
parameters:
- name: value
comment: null
- name: __toString
visibility: public
parameters: []
comment: null
- name: getValue
visibility: public
parameters: []
comment: null
traits:
- Symfony\Component\Validator\Constraints\Bic
- Symfony\Component\Validator\Constraints\BicValidator
- Symfony\Component\Validator\Exception\ConstraintDefinitionException
- Symfony\Component\Validator\Exception\InvalidArgumentException
- Symfony\Component\Validator\Exception\UnexpectedValueException
- Symfony\Component\Validator\Mapping\ClassMetadata
- Symfony\Component\Validator\Mapping\Loader\AttributeLoader
- Symfony\Component\Validator\Test\ConstraintValidatorTestCase
- Symfony\Component\Validator\Tests\Constraints\Fixtures\BicTypedDummy
interfaces: []