Definition at line 5 of file FileTest.php.
◆ setUp()
Sabre\DAVACL\FS\FileTest::setUp |
( |
| ) |
|
◆ testGetACL()
Sabre\DAVACL\FS\FileTest::testGetACL |
( |
| ) |
|
Definition at line 47 of file FileTest.php.
47 {
48
49 $this->assertEquals(
50 $this->acl,
51 $this->sut->getACL()
52 );
53
54 }
◆ testGetGroup()
Sabre\DAVACL\FS\FileTest::testGetGroup |
( |
| ) |
|
Definition at line 39 of file FileTest.php.
39 {
40
41 $this->assertNull(
42 $this->sut->getGroup()
43 );
44
45 }
◆ testGetOwner()
Sabre\DAVACL\FS\FileTest::testGetOwner |
( |
| ) |
|
Definition at line 30 of file FileTest.php.
30 {
31
32 $this->assertEquals(
33 $this->owner,
34 $this->sut->getOwner()
35 );
36
37 }
◆ testGetSupportedPrivilegeSet()
Sabre\DAVACL\FS\FileTest::testGetSupportedPrivilegeSet |
( |
| ) |
|
Definition at line 65 of file FileTest.php.
65 {
66
67 $this->assertNull(
68 $this->sut->getSupportedPrivilegeSet()
69 );
70
71 }
◆ testSetAcl()
Sabre\DAVACL\FS\FileTest::testSetAcl |
( |
| ) |
|
@expectedException \Sabre\DAV\Exception\Forbidden
Definition at line 59 of file FileTest.php.
59 {
60
61 $this->sut->setACL([]);
62
63 }
◆ $acl
Sabre\DAVACL\FS\FileTest::$acl |
|
protected |
Initial value:= [
[
'privilege' => '{DAV:}read',
'principal' => '{DAV:}authenticated',
]
]
Definition at line 15 of file FileTest.php.
◆ $owner
Sabre\DAVACL\FS\FileTest::$owner = 'principals/evert' |
|
protected |
◆ $path
Sabre\DAVACL\FS\FileTest::$path = 'foo' |
|
protected |
◆ $sut
Sabre\DAVACL\FS\FileTest::$sut |
|
protected |
The documentation for this class was generated from the following file:
- libs/composer/vendor/sabre/dav/tests/Sabre/DAVACL/FS/FileTest.php