23 $this->path = SABRE_TEMPDIR .
'/home';
48 $child = $this->sut->getChild(
'user1');
49 $this->assertInstanceOf(
'Sabre\\DAVACL\\FS\\Collection', $child);
50 $this->assertEquals(
'user1', $child->getName());
52 $owner =
'principals/user1';
55 'privilege' =>
'{DAV:}all',
56 'principal' =>
'{DAV:}owner',
61 $this->assertEquals($acl, $child->getACL());
62 $this->assertEquals($owner, $child->getOwner());
69 $this->sut->getOwner()
77 $this->sut->getGroup()
86 'principal' =>
'{DAV:}authenticated',
87 'privilege' =>
'{DAV:}read',
104 $this->sut->setACL([]);
111 $this->sut->getSupportedPrivilegeSet()
testGetSupportedPrivilegeSet()
This collection contains a collection for every principal.
static clearTempDir()
This function deletes all the contents of the temporary directory.