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

Public Member Functions

 getInstance ()
 
 testGetName ()
 
 testGetDisplayName ()
 
 testGetLastModified ()
 
 testDelete ()
 Sabre More...
 
 testSetName ()
 Sabre More...
 
 testGetAlternateUriSet ()
 
 testGetPrincipalUri ()
 
 testGetGroupMemberSet ()
 
 testGetGroupMembership ()
 
 testSetGroupMemberSet ()
 

Protected Attributes

 $backend
 

Detailed Description

Definition at line 7 of file ProxyReadTest.php.

Member Function Documentation

◆ getInstance()

◆ testDelete()

Sabre\CalDAV\Principal\ProxyReadTest::testDelete ( )

Sabre

Definition at line 45 of file ProxyReadTest.php.

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

45  {
46 
47  $i = $this->getInstance();
48  $i->delete();
49 
50  }
$i
Definition: disco.tpl.php:19
+ Here is the call graph for this function:

◆ testGetAlternateUriSet()

Sabre\CalDAV\Principal\ProxyReadTest::testGetAlternateUriSet ( )

Definition at line 62 of file ProxyReadTest.php.

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

62  {
63 
64  $i = $this->getInstance();
65  $this->assertEquals([], $i->getAlternateUriSet());
66 
67  }
$i
Definition: disco.tpl.php:19
+ Here is the call graph for this function:

◆ testGetDisplayName()

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

Definition at line 28 of file ProxyReadTest.php.

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

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

◆ testGetGroupMemberSet()

Sabre\CalDAV\Principal\ProxyReadTest::testGetGroupMemberSet ( )

Definition at line 76 of file ProxyReadTest.php.

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

76  {
77 
78  $i = $this->getInstance();
79  $this->assertEquals([], $i->getGroupMemberSet());
80 
81  }
$i
Definition: disco.tpl.php:19
+ Here is the call graph for this function:

◆ testGetGroupMembership()

Sabre\CalDAV\Principal\ProxyReadTest::testGetGroupMembership ( )

Definition at line 83 of file ProxyReadTest.php.

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

83  {
84 
85  $i = $this->getInstance();
86  $this->assertEquals([], $i->getGroupMembership());
87 
88  }
$i
Definition: disco.tpl.php:19
+ Here is the call graph for this function:

◆ testGetLastModified()

Sabre\CalDAV\Principal\ProxyReadTest::testGetLastModified ( )

Definition at line 35 of file ProxyReadTest.php.

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

35  {
36 
37  $i = $this->getInstance();
38  $this->assertNull($i->getLastModified());
39 
40  }
$i
Definition: disco.tpl.php:19
+ Here is the call graph for this function:

◆ testGetName()

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

Definition at line 22 of file ProxyReadTest.php.

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

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

◆ testGetPrincipalUri()

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

Definition at line 69 of file ProxyReadTest.php.

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

69  {
70 
71  $i = $this->getInstance();
72  $this->assertEquals('principal/user/calendar-proxy-read', $i->getPrincipalUrl());
73 
74  }
$i
Definition: disco.tpl.php:19
+ Here is the call graph for this function:

◆ testSetGroupMemberSet()

Sabre\CalDAV\Principal\ProxyReadTest::testSetGroupMemberSet ( )

Definition at line 90 of file ProxyReadTest.php.

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

90  {
91 
92  $i = $this->getInstance();
93  $i->setGroupMemberSet(['principals/foo']);
94 
95  $expected = [
96  $i->getPrincipalUrl() => ['principals/foo']
97  ];
98 
99  $this->assertEquals($expected, $this->backend->groupMembers);
100 
101  }
$i
Definition: disco.tpl.php:19
+ Here is the call graph for this function:

◆ testSetName()

Sabre\CalDAV\Principal\ProxyReadTest::testSetName ( )

Sabre

Definition at line 55 of file ProxyReadTest.php.

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

55  {
56 
57  $i = $this->getInstance();
58  $i->setName('foo');
59 
60  }
$i
Definition: disco.tpl.php:19
+ Here is the call graph for this function:

Field Documentation

◆ $backend

Sabre\CalDAV\Principal\ProxyReadTest::$backend
protected

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