12 $data = [
'{DAV:}root' => [
14 'name' =>
'{DAV:}share-access',
18 'name' =>
'{DAV:}share-access',
22 'name' =>
'{DAV:}share-access',
26 'name' =>
'{DAV:}share-access',
30 'name' =>
'{DAV:}share-access',
40<d:root xmlns:d=
"DAV:">
41 <d:share-access><d:read /></d:share-access>
42 <d:share-access><d:read-
write /></d:share-access>
43 <d:share-access><d:not-shared /></d:share-access>
44 <d:share-access><d:no-access /></d:share-access>
45 <d:share-access><d:shared-owner /></d:share-access>
49 $this->assertXmlStringEqualsXmlString($expected,
$xml);
57<d:root xmlns:d=
"DAV:">
58 <d:share-access><d:read /></d:share-access>
59 <d:share-access><d:read-
write /></d:share-access>
60 <d:share-access><d:not-shared /></d:share-access>
61 <d:share-access><d:no-access /></d:share-access>
62 <d:share-access><d:shared-owner /></d:share-access>
68 'name' =>
'{DAV:}share-access',
73 'name' =>
'{DAV:}share-access',
78 'name' =>
'{DAV:}share-access',
83 'name' =>
'{DAV:}share-access',
88 'name' =>
'{DAV:}share-access',
98 [
'{DAV:}share-access' => ShareAccess::class]
110<d:root xmlns:d=
"DAV:">
111 <d:share-access><d:foo /></d:share-access>
117 [
'{DAV:}share-access' => ShareAccess::class]
An exception for terminatinating execution or to throw for unit testing.
This plugin implements HTTP requests and properties related to:
testDeserializeInvalid()
@expectedException \Sabre\DAV\Exception\BadRequest
This class represents the {DAV:}share-access property.
parse($xml, array $elementMap=[])
assertParsedValue($expected, $xml, array $elementMap=[])