api/symfony/Component/Validator/Tests/Constraints/RangeValidatorTest.yaml

401 lines
10 KiB
YAML
Raw Normal View History

2024-09-26 09:03:21 +00:00
name: RangeValidatorTest
class_comment: null
dependencies:
- name: IntlTestHelper
type: class
source: Symfony\Component\Intl\Util\IntlTestHelper
- name: Range
type: class
source: Symfony\Component\Validator\Constraints\Range
- name: RangeValidator
type: class
source: Symfony\Component\Validator\Constraints\RangeValidator
- name: ConstraintDefinitionException
type: class
source: Symfony\Component\Validator\Exception\ConstraintDefinitionException
- name: ConstraintValidatorTestCase
type: class
source: Symfony\Component\Validator\Test\ConstraintValidatorTestCase
- name: MinMaxTyped
type: class
source: Symfony\Component\Validator\Tests\Constraints\Fixtures\MinMaxTyped
- name: IcuCompatibilityTrait
type: class
source: Symfony\Component\Validator\Tests\IcuCompatibilityTrait
- name: IcuCompatibilityTrait
type: class
source: IcuCompatibilityTrait
properties:
- name: value
visibility: private
comment: null
- name: min
visibility: private
comment: null
- name: max
visibility: private
comment: null
methods:
- name: createValidator
visibility: protected
parameters: []
comment: null
- name: testNullIsValid
visibility: public
parameters: []
comment: null
- name: getTenToTwenty
visibility: public
parameters: []
comment: null
- name: getLessThanTen
visibility: public
parameters: []
comment: null
- name: getMoreThanTwenty
visibility: public
parameters: []
comment: null
- name: testValidValuesMin
visibility: public
parameters:
- name: value
comment: '# * @dataProvider getTenToTwenty'
- name: testValidValuesMinNamed
visibility: public
parameters:
- name: value
comment: '# * @dataProvider getTenToTwenty'
- name: testValidValuesMax
visibility: public
parameters:
- name: value
comment: '# * @dataProvider getTenToTwenty'
- name: testValidValuesMaxNamed
visibility: public
parameters:
- name: value
comment: '# * @dataProvider getTenToTwenty'
- name: testValidValuesMinMax
visibility: public
parameters:
- name: value
comment: '# * @dataProvider getTenToTwenty'
- name: testValidValuesMinMaxNamed
visibility: public
parameters:
- name: value
comment: '# * @dataProvider getTenToTwenty'
- name: testInvalidValuesMin
visibility: public
parameters:
- name: value
- name: formattedValue
comment: '# * @dataProvider getLessThanTen'
- name: testInvalidValuesMinNamed
visibility: public
parameters:
- name: value
- name: formattedValue
comment: '# * @dataProvider getLessThanTen'
- name: testInvalidValuesMax
visibility: public
parameters:
- name: value
- name: formattedValue
comment: '# * @dataProvider getMoreThanTwenty'
- name: testInvalidValuesMaxNamed
visibility: public
parameters:
- name: value
- name: formattedValue
comment: '# * @dataProvider getMoreThanTwenty'
- name: testInvalidValuesCombinedMax
visibility: public
parameters:
- name: value
- name: formattedValue
comment: '# * @dataProvider getMoreThanTwenty'
- name: testInvalidValuesCombinedMaxNamed
visibility: public
parameters:
- name: value
- name: formattedValue
comment: '# * @dataProvider getMoreThanTwenty'
- name: testInvalidValuesCombinedMin
visibility: public
parameters:
- name: value
- name: formattedValue
comment: '# * @dataProvider getLessThanTen'
- name: testInvalidValuesCombinedMinNamed
visibility: public
parameters:
- name: value
- name: formattedValue
comment: '# * @dataProvider getLessThanTen'
- name: getTenthToTwentiethMarch2014
visibility: public
parameters: []
comment: null
- name: getSoonerThanTenthMarch2014
visibility: public
parameters: []
comment: null
- name: getLaterThanTwentiethMarch2014
visibility: public
parameters: []
comment: null
- name: testValidDatesMin
visibility: public
parameters:
- name: value
comment: '# * @dataProvider getTenthToTwentiethMarch2014'
- name: testValidDatesMax
visibility: public
parameters:
- name: value
comment: '# * @dataProvider getTenthToTwentiethMarch2014'
- name: testValidDatesMinMax
visibility: public
parameters:
- name: value
comment: '# * @dataProvider getTenthToTwentiethMarch2014'
- name: testInvalidDatesMin
visibility: public
parameters:
- name: value
- name: dateTimeAsString
comment: '# * @dataProvider getSoonerThanTenthMarch2014'
- name: testInvalidDatesMax
visibility: public
parameters:
- name: value
- name: dateTimeAsString
comment: '# * @dataProvider getLaterThanTwentiethMarch2014'
- name: testInvalidDatesCombinedMax
visibility: public
parameters:
- name: value
- name: dateTimeAsString
comment: '# * @dataProvider getLaterThanTwentiethMarch2014'
- name: testInvalidDatesCombinedMin
visibility: public
parameters:
- name: value
- name: dateTimeAsString
comment: '# * @dataProvider getSoonerThanTenthMarch2014'
- name: getInvalidValues
visibility: public
parameters: []
comment: null
- name: testNonNumeric
visibility: public
parameters: []
comment: null
- name: testNonNumericWithParsableDatetimeMinAndMaxNull
visibility: public
parameters: []
comment: null
- name: testNonNumericWithParsableDatetimeMaxAndMinNull
visibility: public
parameters: []
comment: null
- name: testNonNumericWithParsableDatetimeMinAndMax
visibility: public
parameters: []
comment: null
- name: testNonNumericWithNonParsableDatetimeMin
visibility: public
parameters: []
comment: null
- name: testNonNumericWithNonParsableDatetimeMax
visibility: public
parameters: []
comment: null
- name: testNonNumericWithNonParsableDatetimeMinAndMax
visibility: public
parameters: []
comment: null
- name: testThrowsOnInvalidStringDates
visibility: public
parameters:
- name: expectedMessage
- name: value
- name: min
- name: max
comment: '# * @dataProvider throwsOnInvalidStringDatesProvider'
- name: throwsOnInvalidStringDatesProvider
visibility: public
parameters: []
comment: null
- name: testNoViolationOnNullObjectWithPropertyPaths
visibility: public
parameters: []
comment: null
- name: testValidValuesMinPropertyPath
visibility: public
parameters:
- name: value
comment: '# * @dataProvider getTenToTwenty'
- name: testValidValuesMinPropertyPathNamed
visibility: public
parameters:
- name: value
comment: '# * @dataProvider getTenToTwenty'
- name: testValidValuesMaxPropertyPath
visibility: public
parameters:
- name: value
comment: '# * @dataProvider getTenToTwenty'
- name: testValidValuesMaxPropertyPathNamed
visibility: public
parameters:
- name: value
comment: '# * @dataProvider getTenToTwenty'
- name: testValidValuesMinMaxPropertyPath
visibility: public
parameters:
- name: value
comment: '# * @dataProvider getTenToTwenty'
- name: testInvalidValuesMinPropertyPath
visibility: public
parameters:
- name: value
- name: formattedValue
comment: '# * @dataProvider getLessThanTen'
- name: testInvalidValuesMaxPropertyPath
visibility: public
parameters:
- name: value
- name: formattedValue
comment: '# * @dataProvider getMoreThanTwenty'
- name: testInvalidValuesCombinedMaxPropertyPath
visibility: public
parameters:
- name: value
- name: formattedValue
comment: '# * @dataProvider getMoreThanTwenty'
- name: testInvalidValuesCombinedMaxPropertyPathNamed
visibility: public
parameters:
- name: value
- name: formattedValue
comment: '# * @dataProvider getMoreThanTwenty'
- name: testInvalidValuesCombinedMinPropertyPath
visibility: public
parameters:
- name: value
- name: formattedValue
comment: '# * @dataProvider getLessThanTen'
- name: testInvalidValuesCombinedMinPropertyPathNamed
visibility: public
parameters:
- name: value
- name: formattedValue
comment: '# * @dataProvider getLessThanTen'
- name: testViolationOnNullObjectWithDefinedMin
visibility: public
parameters:
- name: value
- name: formattedValue
comment: '# * @dataProvider getLessThanTen'
- name: testViolationOnNullObjectWithDefinedMax
visibility: public
parameters:
- name: value
- name: formattedValue
comment: '# * @dataProvider getMoreThanTwenty'
- name: testValidDatesMinPropertyPath
visibility: public
parameters:
- name: value
comment: '# * @dataProvider getTenthToTwentiethMarch2014'
- name: testValidDatesMaxPropertyPath
visibility: public
parameters:
- name: value
comment: '# * @dataProvider getTenthToTwentiethMarch2014'
- name: testValidDatesMinMaxPropertyPath
visibility: public
parameters:
- name: value
comment: '# * @dataProvider getTenthToTwentiethMarch2014'
- name: testInvalidDatesMinPropertyPath
visibility: public
parameters:
- name: value
- name: dateTimeAsString
comment: '# * @dataProvider getSoonerThanTenthMarch2014'
- name: testInvalidDatesMaxPropertyPath
visibility: public
parameters:
- name: value
- name: dateTimeAsString
comment: '# * @dataProvider getLaterThanTwentiethMarch2014'
- name: testInvalidDatesCombinedMaxPropertyPath
visibility: public
parameters:
- name: value
- name: dateTimeAsString
comment: '# * @dataProvider getLaterThanTwentiethMarch2014'
- name: testInvalidDatesCombinedMinPropertyPath
visibility: public
parameters:
- name: value
- name: dateTimeAsString
comment: '# * @dataProvider getSoonerThanTenthMarch2014'
- name: testMinPropertyPathReferencingUninitializedProperty
visibility: public
parameters: []
comment: null
- name: testMaxPropertyPathReferencingUninitializedProperty
visibility: public
parameters: []
comment: null
- name: provideMessageIfMinAndMaxSet
visibility: public
parameters: []
comment: null
- name: testMessageIfMinAndMaxSet
visibility: public
parameters:
- name: constraintExtraOptions
- name: value
- name: expectedMessage
- name: expectedCode
comment: '# * @dataProvider provideMessageIfMinAndMaxSet'
- name: __construct
visibility: public
parameters:
- name: value
comment: null
- name: getValue
visibility: public
parameters: []
comment: null
- name: __construct
visibility: public
parameters:
- name: min
- name: max
comment: null
- name: getMin
visibility: public
parameters: []
comment: null
- name: getMax
visibility: public
parameters: []
comment: null
traits:
- Symfony\Component\Intl\Util\IntlTestHelper
- Symfony\Component\Validator\Constraints\Range
- Symfony\Component\Validator\Constraints\RangeValidator
- Symfony\Component\Validator\Exception\ConstraintDefinitionException
- Symfony\Component\Validator\Test\ConstraintValidatorTestCase
- Symfony\Component\Validator\Tests\Constraints\Fixtures\MinMaxTyped
- Symfony\Component\Validator\Tests\IcuCompatibilityTrait
- IcuCompatibilityTrait
interfaces: []