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 ()
 Sabre More...
 
 testSetName ()
 Sabre 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 ( )

Definition at line 9 of file ProxyWriteTest.php.

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

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

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  }
+ Here is the caller graph for this function:

◆ testGetDisplayName()

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

Definition at line 26 of file ProxyWriteTest.php.

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

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

◆ testGetName()

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

Definition at line 20 of file ProxyWriteTest.php.

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

20  {
21 
22  $i = $this->getInstance();
23  $this->assertEquals('calendar-proxy-write', $i->getName());
24 
25  }
$i
Definition: disco.tpl.php:19
+ Here is the call graph for this function:

◆ testGetPrincipalUri()

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

Definition at line 33 of file ProxyWriteTest.php.

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

33  {
34 
35  $i = $this->getInstance();
36  $this->assertEquals('principal/user/calendar-proxy-write', $i->getPrincipalUrl());
37 
38  }
$i
Definition: disco.tpl.php:19
+ Here is the call graph for this function:

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