api/symfony/Component/Validator/Tests/ConstraintTest.yaml

176 lines
5.1 KiB
YAML
Raw Normal View History

2024-09-26 09:03:21 +00:00
name: ConstraintTest
class_comment: null
dependencies:
- name: TestCase
type: class
source: PHPUnit\Framework\TestCase
- name: Constraint
type: class
source: Symfony\Component\Validator\Constraint
- name: ConstraintDefinitionException
type: class
source: Symfony\Component\Validator\Exception\ConstraintDefinitionException
- name: InvalidArgumentException
type: class
source: Symfony\Component\Validator\Exception\InvalidArgumentException
- name: InvalidOptionsException
type: class
source: Symfony\Component\Validator\Exception\InvalidOptionsException
- name: MissingOptionsException
type: class
source: Symfony\Component\Validator\Exception\MissingOptionsException
- name: ClassConstraint
type: class
source: Symfony\Component\Validator\Tests\Fixtures\ClassConstraint
- name: ConstraintA
type: class
source: Symfony\Component\Validator\Tests\Fixtures\ConstraintA
- name: ConstraintB
type: class
source: Symfony\Component\Validator\Tests\Fixtures\ConstraintB
- name: ConstraintC
type: class
source: Symfony\Component\Validator\Tests\Fixtures\ConstraintC
- name: ConstraintWithStaticProperty
type: class
source: Symfony\Component\Validator\Tests\Fixtures\ConstraintWithStaticProperty
- name: ConstraintWithTypedProperty
type: class
source: Symfony\Component\Validator\Tests\Fixtures\ConstraintWithTypedProperty
- name: ConstraintWithValue
type: class
source: Symfony\Component\Validator\Tests\Fixtures\ConstraintWithValue
- name: ConstraintWithValueAsDefault
type: class
source: Symfony\Component\Validator\Tests\Fixtures\ConstraintWithValueAsDefault
properties: []
methods:
- name: testSetProperties
visibility: public
parameters: []
comment: null
- name: testSetNotExistingPropertyThrowsException
visibility: public
parameters: []
comment: null
- name: testMagicPropertiesAreNotAllowed
visibility: public
parameters: []
comment: null
- name: testInvalidAndRequiredOptionsPassed
visibility: public
parameters: []
comment: null
- name: testSetDefaultProperty
visibility: public
parameters: []
comment: null
- name: testSetDefaultPropertyDoctrineStyle
visibility: public
parameters: []
comment: null
- name: testSetDefaultPropertyDoctrineStylePlusOtherProperty
visibility: public
parameters: []
comment: null
- name: testSetDefaultPropertyDoctrineStyleWhenDefaultPropertyIsNamedValue
visibility: public
parameters: []
comment: null
- name: testDontSetDefaultPropertyIfValuePropertyExists
visibility: public
parameters: []
comment: null
- name: testSetUndefinedDefaultProperty
visibility: public
parameters: []
comment: null
- name: testRequiredOptionsMustBeDefined
visibility: public
parameters: []
comment: null
- name: testRequiredOptionsPassed
visibility: public
parameters: []
comment: null
- name: testGroupsAreConvertedToArray
visibility: public
parameters: []
comment: null
- name: testAddDefaultGroupAddsGroup
visibility: public
parameters: []
comment: null
- name: testAllowsSettingZeroRequiredPropertyValue
visibility: public
parameters: []
comment: null
- name: testCanCreateConstraintWithNoDefaultOptionAndEmptyArray
visibility: public
parameters: []
comment: null
- name: testGetTargetsCanBeString
visibility: public
parameters: []
comment: null
- name: testGetTargetsCanBeArray
visibility: public
parameters: []
comment: null
- name: testSerialize
visibility: public
parameters: []
comment: null
- name: testSerializeInitializesGroupsOptionToDefault
visibility: public
parameters: []
comment: null
- name: testSerializeKeepsCustomGroups
visibility: public
parameters: []
comment: null
- name: testGetErrorNameForUnknownCode
visibility: public
parameters: []
comment: null
- name: testOptionsAsDefaultOption
visibility: public
parameters: []
comment: null
- name: testInvalidOptions
visibility: public
parameters: []
comment: null
- name: testOptionsWithInvalidInternalPointer
visibility: public
parameters: []
comment: null
- name: testAttributeSetUndefinedDefaultOption
visibility: public
parameters: []
comment: null
- name: testStaticPropertiesAreNoOptions
visibility: public
parameters: []
comment: null
- name: testSetTypedProperty
visibility: public
parameters: []
comment: null
traits:
- PHPUnit\Framework\TestCase
- Symfony\Component\Validator\Constraint
- Symfony\Component\Validator\Exception\ConstraintDefinitionException
- Symfony\Component\Validator\Exception\InvalidArgumentException
- Symfony\Component\Validator\Exception\InvalidOptionsException
- Symfony\Component\Validator\Exception\MissingOptionsException
- Symfony\Component\Validator\Tests\Fixtures\ClassConstraint
- Symfony\Component\Validator\Tests\Fixtures\ConstraintA
- Symfony\Component\Validator\Tests\Fixtures\ConstraintB
- Symfony\Component\Validator\Tests\Fixtures\ConstraintC
- Symfony\Component\Validator\Tests\Fixtures\ConstraintWithStaticProperty
- Symfony\Component\Validator\Tests\Fixtures\ConstraintWithTypedProperty
- Symfony\Component\Validator\Tests\Fixtures\ConstraintWithValue
- Symfony\Component\Validator\Tests\Fixtures\ConstraintWithValueAsDefault
interfaces: []