Documentation

ResponseTest extends XmlTest
in package

Table of Contents

$contextUri  : mixed
$elementMap  : mixed
$namespaceMap  : mixed
assertParsedValue()  : mixed
cleanUp()  : mixed
parse()  : mixed
testDeserializeComplexProperty()  : mixed
testDeserializeComplexPropertyEmpty()  : mixed
In the case of {DAV:}prop, a deserializer should never get called, if the property element is empty.
testSerialize()  : mixed
testSerializeBreak()  : mixed
testSerializeComplexProperty()  : mixed
testSerializeCustomNamespace()  : mixed
This one is specifically for testing properties with no namespaces, which is legal xml.
testSerializeEmptyNamespace()  : mixed
This one is specifically for testing properties with no namespaces, which is legal xml.
testSerializeNoProperties()  : mixed
testSerializeUrlencoding()  : mixed
testSimple()  : mixed
write()  : mixed

Properties

$contextUri

protected mixed $contextUri = '/'

$elementMap

protected mixed $elementMap = []

$namespaceMap

protected mixed $namespaceMap = ['DAV:' => 'd']

Methods

assertParsedValue()

public assertParsedValue(mixed $expected, mixed $xml[, array<string|int, mixed> $elementMap = [] ]) : mixed
Parameters
$expected : mixed
$xml : mixed
$elementMap : array<string|int, mixed> = []
Return values
mixed

cleanUp()

public cleanUp() : mixed
Return values
mixed

parse()

public parse(mixed $xml[, array<string|int, mixed> $elementMap = [] ]) : mixed
Parameters
$xml : mixed
$elementMap : array<string|int, mixed> = []
Return values
mixed

testDeserializeComplexProperty()

public testDeserializeComplexProperty() : mixed
Return values
mixed

testDeserializeComplexPropertyEmpty()

In the case of {DAV:}prop, a deserializer should never get called, if the property element is empty.

public testDeserializeComplexPropertyEmpty() : mixed
Return values
mixed

testSerialize()

public testSerialize() : mixed
Tags
depends

testSimple

Return values
mixed

testSerializeBreak()

public testSerializeBreak() : mixed
Tags
depends

testSerialize

Return values
mixed

testSerializeComplexProperty()

public testSerializeComplexProperty() : mixed
Tags
depends

testSerialize

Return values
mixed

testSerializeCustomNamespace()

This one is specifically for testing properties with no namespaces, which is legal xml.

public testSerializeCustomNamespace() : mixed
Tags
depends

testSerialize

Return values
mixed

testSerializeEmptyNamespace()

This one is specifically for testing properties with no namespaces, which is legal xml.

public testSerializeEmptyNamespace() : mixed
Tags
depends

testSerialize

Return values
mixed

testSerializeNoProperties()

public testSerializeNoProperties() : mixed
Tags
depends

testSerialize

The WebDAV spec requires at least one DAV:propstat to appear for every DAV:response. In some circumstances however, there are no properties to encode.

In those cases we MUST specify at least one DAV:propstat anyway, with no properties.

Return values
mixed

testSerializeUrlencoding()

public testSerializeUrlencoding() : mixed
Tags
depends

testSimple

Return values
mixed

testSimple()

public testSimple() : mixed
Return values
mixed

write()

public write(mixed $input) : mixed
Parameters
$input : mixed
Return values
mixed

Search results