platform/api/symfony/Component/Serializer/Tests/Encoder/XmlEncoderTest.yaml
2024-09-02 10:44:11 -07:00

279 lines
7.2 KiB
YAML

name: XmlEncoderTest
class_comment: null
dependencies:
- name: MockObject
type: class
source: PHPUnit\Framework\MockObject\MockObject
- name: TestCase
type: class
source: PHPUnit\Framework\TestCase
- name: XmlEncoder
type: class
source: Symfony\Component\Serializer\Encoder\XmlEncoder
- name: NotEncodableValueException
type: class
source: Symfony\Component\Serializer\Exception\NotEncodableValueException
- name: UnexpectedValueException
type: class
source: Symfony\Component\Serializer\Exception\UnexpectedValueException
- name: CustomNormalizer
type: class
source: Symfony\Component\Serializer\Normalizer\CustomNormalizer
- name: NormalizerInterface
type: class
source: Symfony\Component\Serializer\Normalizer\NormalizerInterface
- name: Serializer
type: class
source: Symfony\Component\Serializer\Serializer
- name: Dummy
type: class
source: Symfony\Component\Serializer\Tests\Fixtures\Dummy
- name: EnvelopedMessage
type: class
source: Symfony\Component\Serializer\Tests\Fixtures\EnvelopedMessage
- name: EnvelopedMessageNormalizer
type: class
source: Symfony\Component\Serializer\Tests\Fixtures\EnvelopedMessageNormalizer
- name: EnvelopeNormalizer
type: class
source: Symfony\Component\Serializer\Tests\Fixtures\EnvelopeNormalizer
- name: EnvelopeObject
type: class
source: Symfony\Component\Serializer\Tests\Fixtures\EnvelopeObject
- name: NormalizableTraversableDummy
type: class
source: Symfony\Component\Serializer\Tests\Fixtures\NormalizableTraversableDummy
- name: ScalarDummy
type: class
source: Symfony\Component\Serializer\Tests\Fixtures\ScalarDummy
properties: []
methods:
- name: setUp
visibility: protected
parameters: []
comment: null
- name: testEncode
visibility: public
parameters:
- name: expected
- name: data
- name: context
default: '[]'
comment: '# * @dataProvider validEncodeProvider'
- name: validEncodeProvider
visibility: public
parameters: []
comment: '# * @return iterable<array{0: string, 1: mixed, 2?: array}>'
- name: testEncodeSerializerXmlRootNodeNameOption
visibility: public
parameters: []
comment: null
- name: testEncodeTraversableWhenNormalizable
visibility: public
parameters: []
comment: null
- name: testDocTypeIsNotAllowed
visibility: public
parameters: []
comment: null
- name: testDecodeScalar
visibility: public
parameters: []
comment: null
- name: testDecodeBigDigitAttributes
visibility: public
parameters: []
comment: null
- name: testDecodeNegativeIntAttribute
visibility: public
parameters: []
comment: null
- name: testDecodeFloatAttribute
visibility: public
parameters: []
comment: null
- name: testDecodeNegativeFloatAttribute
visibility: public
parameters: []
comment: null
- name: testDecodeFloatAttributeWithZeroWholeNumber
visibility: public
parameters: []
comment: null
- name: testNoTypeCastRootAttribute
visibility: public
parameters: []
comment: null
- name: testNoTypeCastAttribute
visibility: public
parameters: []
comment: null
- name: testDoesNotTypeCastStringsStartingWith0
visibility: public
parameters: []
comment: null
- name: testEncodeException
visibility: public
parameters: []
comment: null
- name: testDecode
visibility: public
parameters: []
comment: null
- name: testDecodeCdataWrapping
visibility: public
parameters: []
comment: null
- name: testDecodeCdataWrappingAndWhitespace
visibility: public
parameters: []
comment: null
- name: testDecodeWithNamespace
visibility: public
parameters: []
comment: null
- name: testDecodeScalarWithAttribute
visibility: public
parameters: []
comment: null
- name: testDecodeScalarRootAttributes
visibility: public
parameters: []
comment: null
- name: testDecodeRootAttributes
visibility: public
parameters: []
comment: null
- name: testDecodeArray
visibility: public
parameters: []
comment: null
- name: testDecodeXMLWithProcessInstruction
visibility: public
parameters: []
comment: null
- name: testDecodeIgnoreWhiteSpace
visibility: public
parameters: []
comment: null
- name: testDecodeIgnoreComments
visibility: public
parameters: []
comment: null
- name: testDecodeIgnoreDocumentType
visibility: public
parameters: []
comment: null
- name: testDecodePreserveComments
visibility: public
parameters: []
comment: null
- name: testDecodeAlwaysAsCollection
visibility: public
parameters: []
comment: null
- name: testDecodeWithoutItemHash
visibility: public
parameters: []
comment: null
- name: testDecodeInvalidXml
visibility: public
parameters: []
comment: null
- name: testPreventsComplexExternalEntities
visibility: public
parameters: []
comment: null
- name: testDecodeEmptyXml
visibility: public
parameters: []
comment: null
- name: getXmlSource
visibility: protected
parameters: []
comment: null
- name: getNamespacedXmlSource
visibility: protected
parameters: []
comment: null
- name: getNamespacedArray
visibility: protected
parameters: []
comment: null
- name: getObject
visibility: protected
parameters: []
comment: '# * @return Dummy'
- name: testEncodeXmlWithBoolValue
visibility: public
parameters: []
comment: null
- name: testEncodeXmlWithDomNodeValue
visibility: public
parameters: []
comment: null
- name: testEncodeXmlWithDateTimeObjectValue
visibility: public
parameters: []
comment: null
- name: testEncodeXmlWithDateTimeObjectField
visibility: public
parameters: []
comment: null
- name: testNotEncodableValueExceptionMessageForAResource
visibility: public
parameters: []
comment: null
- name: testReentrantXmlEncoder
visibility: public
parameters: []
comment: null
- name: testEncodeComment
visibility: public
parameters: []
comment: null
- name: testEncodeWithoutPi
visibility: public
parameters: []
comment: null
- name: testEncodeWithoutComment
visibility: public
parameters: []
comment: null
- name: createXmlEncoderWithEnvelopeNormalizer
visibility: private
parameters: []
comment: null
- name: createXmlEncoderWithDateTimeNormalizer
visibility: private
parameters: []
comment: null
- name: createMockDateTimeNormalizer
visibility: private
parameters: []
comment: null
- name: createXmlWithDateTime
visibility: private
parameters: []
comment: null
- name: createXmlWithDateTimeField
visibility: private
parameters: []
comment: null
traits:
- PHPUnit\Framework\MockObject\MockObject
- PHPUnit\Framework\TestCase
- Symfony\Component\Serializer\Encoder\XmlEncoder
- Symfony\Component\Serializer\Exception\NotEncodableValueException
- Symfony\Component\Serializer\Exception\UnexpectedValueException
- Symfony\Component\Serializer\Normalizer\CustomNormalizer
- Symfony\Component\Serializer\Normalizer\NormalizerInterface
- Symfony\Component\Serializer\Serializer
- Symfony\Component\Serializer\Tests\Fixtures\Dummy
- Symfony\Component\Serializer\Tests\Fixtures\EnvelopedMessage
- Symfony\Component\Serializer\Tests\Fixtures\EnvelopedMessageNormalizer
- Symfony\Component\Serializer\Tests\Fixtures\EnvelopeNormalizer
- Symfony\Component\Serializer\Tests\Fixtures\EnvelopeObject
- Symfony\Component\Serializer\Tests\Fixtures\NormalizableTraversableDummy
- Symfony\Component\Serializer\Tests\Fixtures\ScalarDummy
interfaces: []