api/symfony/Component/Serializer/Tests/Mapping/Loader/AttributeLoaderTest.yaml

204 lines
7.5 KiB
YAML
Raw Normal View History

2024-09-26 09:03:21 +00:00
name: AttributeLoaderTest
class_comment: "# * @author K\xE9vin Dunglas <dunglas@gmail.com>"
dependencies:
- name: TestCase
type: class
source: PHPUnit\Framework\TestCase
- name: PropertyPath
type: class
source: Symfony\Component\PropertyAccess\PropertyPath
- name: MappingException
type: class
source: Symfony\Component\Serializer\Exception\MappingException
- name: AttributeMetadata
type: class
source: Symfony\Component\Serializer\Mapping\AttributeMetadata
- name: ClassDiscriminatorMapping
type: class
source: Symfony\Component\Serializer\Mapping\ClassDiscriminatorMapping
- name: ClassMetadata
type: class
source: Symfony\Component\Serializer\Mapping\ClassMetadata
- name: AttributeLoader
type: class
source: Symfony\Component\Serializer\Mapping\Loader\AttributeLoader
- name: LoaderInterface
type: class
source: Symfony\Component\Serializer\Mapping\Loader\LoaderInterface
- name: AbstractDummy
type: class
source: Symfony\Component\Serializer\Tests\Fixtures\Attributes\AbstractDummy
- name: AbstractDummyFirstChild
type: class
source: Symfony\Component\Serializer\Tests\Fixtures\Attributes\AbstractDummyFirstChild
- name: AbstractDummySecondChild
type: class
source: Symfony\Component\Serializer\Tests\Fixtures\Attributes\AbstractDummySecondChild
- name: AbstractDummyThirdChild
type: class
source: Symfony\Component\Serializer\Tests\Fixtures\Attributes\AbstractDummyThirdChild
- name: BadAttributeDummy
type: class
source: Symfony\Component\Serializer\Tests\Fixtures\Attributes\BadAttributeDummy
- name: BadMethodContextDummy
type: class
source: Symfony\Component\Serializer\Tests\Fixtures\Attributes\BadMethodContextDummy
- name: ContextDummyParent
type: class
source: Symfony\Component\Serializer\Tests\Fixtures\Attributes\ContextDummyParent
- name: ContextDummyPromotedProperties
type: class
source: Symfony\Component\Serializer\Tests\Fixtures\Attributes\ContextDummyPromotedProperties
- name: Entity45016
type: class
source: Symfony\Component\Serializer\Tests\Fixtures\Attributes\Entity45016
- name: GroupClassDummy
type: class
source: Symfony\Component\Serializer\Tests\Fixtures\Attributes\GroupClassDummy
- name: GroupDummy
type: class
source: Symfony\Component\Serializer\Tests\Fixtures\Attributes\GroupDummy
- name: GroupDummyParent
type: class
source: Symfony\Component\Serializer\Tests\Fixtures\Attributes\GroupDummyParent
- name: IgnoreDummy
type: class
source: Symfony\Component\Serializer\Tests\Fixtures\Attributes\IgnoreDummy
- name: IgnoreDummyAdditionalGetter
type: class
source: Symfony\Component\Serializer\Tests\Fixtures\Attributes\IgnoreDummyAdditionalGetter
- name: IgnoreDummyAdditionalGetterWithoutIgnoreAnnotations
type: class
source: Symfony\Component\Serializer\Tests\Fixtures\Attributes\IgnoreDummyAdditionalGetterWithoutIgnoreAnnotations
- name: MaxDepthDummy
type: class
source: Symfony\Component\Serializer\Tests\Fixtures\Attributes\MaxDepthDummy
- name: SerializedNameDummy
type: class
source: Symfony\Component\Serializer\Tests\Fixtures\Attributes\SerializedNameDummy
- name: SerializedPathDummy
type: class
source: Symfony\Component\Serializer\Tests\Fixtures\Attributes\SerializedPathDummy
- name: SerializedPathInConstructorDummy
type: class
source: Symfony\Component\Serializer\Tests\Fixtures\Attributes\SerializedPathInConstructorDummy
- name: ContextMappingTestTrait
type: class
source: Symfony\Component\Serializer\Tests\Mapping\Loader\Features\ContextMappingTestTrait
- name: TestClassMetadataFactory
type: class
source: Symfony\Component\Serializer\Tests\Mapping\TestClassMetadataFactory
- name: ContextMappingTestTrait
type: class
source: ContextMappingTestTrait
properties: []
methods:
- name: setUp
visibility: protected
parameters: []
comment: null
- name: testInterface
visibility: public
parameters: []
comment: null
- name: testLoadClassMetadataReturnsTrueIfSuccessful
visibility: public
parameters: []
comment: null
- name: testLoadGroups
visibility: public
parameters: []
comment: null
- name: testLoadDiscriminatorMap
visibility: public
parameters: []
comment: null
- name: testLoadMaxDepth
visibility: public
parameters: []
comment: null
- name: testLoadSerializedName
visibility: public
parameters: []
comment: null
- name: testLoadSerializedPath
visibility: public
parameters: []
comment: null
- name: testLoadSerializedPathInConstructor
visibility: public
parameters: []
comment: null
- name: testLoadClassMetadataAndMerge
visibility: public
parameters: []
comment: null
- name: testLoadIgnore
visibility: public
parameters: []
comment: null
- name: testLoadContextsPropertiesPromoted
visibility: public
parameters: []
comment: null
- name: testThrowsOnContextOnInvalidMethod
visibility: public
parameters: []
comment: null
- name: testCanHandleUnrelatedIgnoredMethods
visibility: public
parameters: []
comment: null
- name: testIgnoreGetterWithRequiredParameterIfIgnoreAnnotationIsUsed
visibility: public
parameters: []
comment: null
- name: testIgnoreGetterWithRequiredParameterIfIgnoreAnnotationIsNotUsed
visibility: public
parameters: []
comment: null
- name: testLoadGroupsOnClass
visibility: public
parameters: []
comment: null
- name: testLoadWithInvalidAttribute
visibility: public
parameters: []
comment: null
- name: getLoaderForContextMapping
visibility: protected
parameters: []
comment: null
traits:
- PHPUnit\Framework\TestCase
- Symfony\Component\PropertyAccess\PropertyPath
- Symfony\Component\Serializer\Exception\MappingException
- Symfony\Component\Serializer\Mapping\AttributeMetadata
- Symfony\Component\Serializer\Mapping\ClassDiscriminatorMapping
- Symfony\Component\Serializer\Mapping\ClassMetadata
- Symfony\Component\Serializer\Mapping\Loader\AttributeLoader
- Symfony\Component\Serializer\Mapping\Loader\LoaderInterface
- Symfony\Component\Serializer\Tests\Fixtures\Attributes\AbstractDummy
- Symfony\Component\Serializer\Tests\Fixtures\Attributes\AbstractDummyFirstChild
- Symfony\Component\Serializer\Tests\Fixtures\Attributes\AbstractDummySecondChild
- Symfony\Component\Serializer\Tests\Fixtures\Attributes\AbstractDummyThirdChild
- Symfony\Component\Serializer\Tests\Fixtures\Attributes\BadAttributeDummy
- Symfony\Component\Serializer\Tests\Fixtures\Attributes\BadMethodContextDummy
- Symfony\Component\Serializer\Tests\Fixtures\Attributes\ContextDummyParent
- Symfony\Component\Serializer\Tests\Fixtures\Attributes\ContextDummyPromotedProperties
- Symfony\Component\Serializer\Tests\Fixtures\Attributes\Entity45016
- Symfony\Component\Serializer\Tests\Fixtures\Attributes\GroupClassDummy
- Symfony\Component\Serializer\Tests\Fixtures\Attributes\GroupDummy
- Symfony\Component\Serializer\Tests\Fixtures\Attributes\GroupDummyParent
- Symfony\Component\Serializer\Tests\Fixtures\Attributes\IgnoreDummy
- Symfony\Component\Serializer\Tests\Fixtures\Attributes\IgnoreDummyAdditionalGetter
- Symfony\Component\Serializer\Tests\Fixtures\Attributes\IgnoreDummyAdditionalGetterWithoutIgnoreAnnotations
- Symfony\Component\Serializer\Tests\Fixtures\Attributes\MaxDepthDummy
- Symfony\Component\Serializer\Tests\Fixtures\Attributes\SerializedNameDummy
- Symfony\Component\Serializer\Tests\Fixtures\Attributes\SerializedPathDummy
- Symfony\Component\Serializer\Tests\Fixtures\Attributes\SerializedPathInConstructorDummy
- Symfony\Component\Serializer\Tests\Mapping\Loader\Features\ContextMappingTestTrait
- Symfony\Component\Serializer\Tests\Mapping\TestClassMetadataFactory
- ContextMappingTestTrait
interfaces: []