14            'privilege' => 
'{DAV:}all',
 
   16        $this->assertInstanceOf(
'Sabre\DAVACL\Xml\Property\SupportedPrivilegeSet', $prop);
 
   28        $xml = (
new DAV\Server())->xml->write(
'{DAV:}supported-privilege-set', $prop);
 
   30        $this->assertXmlStringEqualsXmlString(
' 
   31<d:supported-privilege-set xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns"> 
   32  <d:supported-privilege> 
   36  </d:supported-privilege> 
   37</d:supported-privilege-set>', 
$xml);
 
   49                'description' => 
'booh',
 
   53        $xml = (
new DAV\Server())->xml->write(
'{DAV:}supported-privilege-set', $prop);
 
   55        $this->assertXmlStringEqualsXmlString(
' 
   56<d:supported-privilege-set xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns"> 
   57 <d:supported-privilege> 
   61  <d:supported-privilege> 
   65  </d:supported-privilege> 
   66  <d:supported-privilege> 
   70  <d:description>booh</d:description> 
   71  </d:supported-privilege> 
   72 </d:supported-privilege> 
   73</d:supported-privilege-set>', 
$xml);
 
   82                'description' => 
'booh',
 
   91<ul 
class=
"tree"><li><span title=
"{DAV:}all">d:
all</span>
 
   93<li><span title=
"{DAV:}read">d:read</span></li>
 
   94<li><span title=
"{DAV:}write">d:
write</span> booh</li>
 
  100        $this->assertEquals($expected, $prop->toHtml(
$html));
 
An exception for terminatinating execution or to throw for unit testing.
testSerializeAggregate()
@depends testSimple
testSerializeSimple()
@depends testSimple
SupportedPrivilegeSet property.
This class provides a few utility functions for easily generating HTML for the browser plugin.
all(array $promises)
This file contains a set of functions that are useful for dealing with the Promise object.