126 lines
3.2 KiB
YAML
126 lines
3.2 KiB
YAML
|
name: CidrValidatorTest
|
||
|
class_comment: null
|
||
|
dependencies:
|
||
|
- name: Cidr
|
||
|
type: class
|
||
|
source: Symfony\Component\Validator\Constraints\Cidr
|
||
|
- name: CidrValidator
|
||
|
type: class
|
||
|
source: Symfony\Component\Validator\Constraints\CidrValidator
|
||
|
- name: Ip
|
||
|
type: class
|
||
|
source: Symfony\Component\Validator\Constraints\Ip
|
||
|
- name: NotNull
|
||
|
type: class
|
||
|
source: Symfony\Component\Validator\Constraints\NotNull
|
||
|
- name: UnexpectedTypeException
|
||
|
type: class
|
||
|
source: Symfony\Component\Validator\Exception\UnexpectedTypeException
|
||
|
- name: UnexpectedValueException
|
||
|
type: class
|
||
|
source: Symfony\Component\Validator\Exception\UnexpectedValueException
|
||
|
- name: ConstraintValidatorTestCase
|
||
|
type: class
|
||
|
source: Symfony\Component\Validator\Test\ConstraintValidatorTestCase
|
||
|
- name: StringableValue
|
||
|
type: class
|
||
|
source: Symfony\Component\Validator\Tests\Constraints\Fixtures\StringableValue
|
||
|
properties: []
|
||
|
methods:
|
||
|
- name: createValidator
|
||
|
visibility: protected
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testNullIsValid
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testEmptyStringIsValid
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testInvalidConstraint
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testExpectsStringCompatibleType
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testInvalidNetmask
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: cidr
|
||
|
comment: '# * @dataProvider getWithInvalidNetmask'
|
||
|
- name: testInvalidIpValue
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: cidr
|
||
|
comment: '# * @dataProvider getWithInvalidIps'
|
||
|
- name: testValidCidr
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: cidr
|
||
|
- name: version
|
||
|
comment: '# * @dataProvider getValid'
|
||
|
- name: testInvalidIpAddressAndNetmask
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: cidr
|
||
|
comment: '# * @dataProvider getWithInvalidMasksAndIps'
|
||
|
- name: testOutOfRangeNetmask
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: cidr
|
||
|
- name: version
|
||
|
default: 'null'
|
||
|
- name: min
|
||
|
default: 'null'
|
||
|
- name: max
|
||
|
default: 'null'
|
||
|
comment: '# * @dataProvider getOutOfRangeNetmask'
|
||
|
- name: testWrongVersion
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: cidr
|
||
|
- name: version
|
||
|
comment: '# * @dataProvider getWithWrongVersion'
|
||
|
- name: getWithInvalidIps
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: getValid
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: getWithInvalidNetmask
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: getWithInvalidMasksAndIps
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: getOutOfRangeNetmask
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: getWithWrongVersion
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testDoesNotModifyContextBetweenValidations
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
traits:
|
||
|
- Symfony\Component\Validator\Constraints\Cidr
|
||
|
- Symfony\Component\Validator\Constraints\CidrValidator
|
||
|
- Symfony\Component\Validator\Constraints\Ip
|
||
|
- Symfony\Component\Validator\Constraints\NotNull
|
||
|
- Symfony\Component\Validator\Exception\UnexpectedTypeException
|
||
|
- Symfony\Component\Validator\Exception\UnexpectedValueException
|
||
|
- Symfony\Component\Validator\Test\ConstraintValidatorTestCase
|
||
|
- Symfony\Component\Validator\Tests\Constraints\Fixtures\StringableValue
|
||
|
interfaces: []
|