ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Sabre\CalDAV\Principal\ProxyWriteTest Class Reference
+ Inheritance diagram for Sabre\CalDAV\Principal\ProxyWriteTest:
+ Collaboration diagram for Sabre\CalDAV\Principal\ProxyWriteTest:

Public Member Functions

 getInstance ()
 
 testGetName ()
 
 testGetDisplayName ()
 
 testGetPrincipalUri ()
 
- Public Member Functions inherited from Sabre\CalDAV\Principal\ProxyReadTest
 getInstance ()
 
 testGetName ()
 
 testGetDisplayName ()
 
 testGetLastModified ()
 
 testDelete ()
 @expectedException Sabre\DAV\Exception\Forbidden More...
 
 testSetName ()
 @expectedException Sabre\DAV\Exception\Forbidden More...
 
 testGetAlternateUriSet ()
 
 testGetPrincipalUri ()
 
 testGetGroupMemberSet ()
 
 testGetGroupMembership ()
 
 testSetGroupMemberSet ()
 

Additional Inherited Members

- Protected Attributes inherited from Sabre\CalDAV\Principal\ProxyReadTest
 $backend
 

Detailed Description

Definition at line 7 of file ProxyWriteTest.php.

Member Function Documentation

◆ getInstance()

Sabre\CalDAV\Principal\ProxyWriteTest::getInstance ( )

Reimplemented from Sabre\CalDAV\Principal\ProxyReadTest.

Definition at line 9 of file ProxyWriteTest.php.

9 {
10
11 $backend = new DAVACL\PrincipalBackend\Mock();
12 $principal = new ProxyWrite($backend, [
13 'uri' => 'principal/user',
14 ]);
15 $this->backend = $backend;
16 return $principal;
17
18 }

References Sabre\CalDAV\Principal\ProxyReadTest\$backend.

Referenced by Sabre\CalDAV\Principal\ProxyWriteTest\testGetDisplayName(), Sabre\CalDAV\Principal\ProxyWriteTest\testGetName(), and Sabre\CalDAV\Principal\ProxyWriteTest\testGetPrincipalUri().

+ Here is the caller graph for this function:

◆ testGetDisplayName()

Sabre\CalDAV\Principal\ProxyWriteTest::testGetDisplayName ( )

Reimplemented from Sabre\CalDAV\Principal\ProxyReadTest.

Definition at line 26 of file ProxyWriteTest.php.

26 {
27
28 $i = $this->getInstance();
29 $this->assertEquals('calendar-proxy-write', $i->getDisplayName());
30
31 }
$i
Definition: disco.tpl.php:19

References $i, and Sabre\CalDAV\Principal\ProxyWriteTest\getInstance().

+ Here is the call graph for this function:

◆ testGetName()

Sabre\CalDAV\Principal\ProxyWriteTest::testGetName ( )

Reimplemented from Sabre\CalDAV\Principal\ProxyReadTest.

Definition at line 20 of file ProxyWriteTest.php.

20 {
21
22 $i = $this->getInstance();
23 $this->assertEquals('calendar-proxy-write', $i->getName());
24
25 }

References $i, and Sabre\CalDAV\Principal\ProxyWriteTest\getInstance().

+ Here is the call graph for this function:

◆ testGetPrincipalUri()

Sabre\CalDAV\Principal\ProxyWriteTest::testGetPrincipalUri ( )

Reimplemented from Sabre\CalDAV\Principal\ProxyReadTest.

Definition at line 33 of file ProxyWriteTest.php.

33 {
34
35 $i = $this->getInstance();
36 $this->assertEquals('principal/user/calendar-proxy-write', $i->getPrincipalUrl());
37
38 }

References $i, and Sabre\CalDAV\Principal\ProxyWriteTest\getInstance().

+ Here is the call graph for this function:

The documentation for this class was generated from the following file: