Definition at line 8 of file InboxTest.php.
◆ testCalendarQuery()
Sabre\CalDAV\Schedule\InboxTest::testCalendarQuery |
( |
| ) |
|
testSetup
Definition at line 112 of file InboxTest.php.
114 $backend =
new CalDAV\Backend\MockScheduling();
122 count($inbox->getChildren())
124 $backend->createSchedulingObject(
'principals/user1',
'schedule1.ics',
"BEGIN:VCALENDAR\r\nEND:VCALENDAR");
127 $inbox->calendarQuery([
128 'name' =>
'VCALENDAR',
129 'comp-filters' => [],
130 'prop-filters' => [],
131 'is-not-defined' =>
false
◆ testCreateFile()
Sabre\CalDAV\Schedule\InboxTest::testCreateFile |
( |
| ) |
|
testGetChildren
Definition at line 84 of file InboxTest.php.
86 $backend =
new CalDAV\Backend\MockScheduling();
94 count($inbox->getChildren())
96 $inbox->createFile(
'schedule1.ics',
"BEGIN:VCALENDAR\r\nEND:VCALENDAR");
99 count($inbox->getChildren())
101 $this->assertInstanceOf(
'Sabre\CalDAV\Schedule\SchedulingObject', $inbox->getChildren()[0]);
104 $inbox->getChildren()[0]->getName()
◆ testGetChildren()
Sabre\CalDAV\Schedule\InboxTest::testGetChildren |
( |
| ) |
|
testSetup
Definition at line 56 of file InboxTest.php.
58 $backend =
new CalDAV\Backend\MockScheduling();
66 count($inbox->getChildren())
68 $backend->createSchedulingObject(
'principals/user1',
'schedule1.ics',
"BEGIN:VCALENDAR\r\nEND:VCALENDAR");
71 count($inbox->getChildren())
73 $this->assertInstanceOf(
'Sabre\CalDAV\Schedule\SchedulingObject', $inbox->getChildren()[0]);
76 $inbox->getChildren()[0]->getName()
◆ testSetup()
Sabre\CalDAV\Schedule\InboxTest::testSetup |
( |
| ) |
|
Definition at line 10 of file InboxTest.php.
References $ok.
13 new CalDAV\Backend\MockScheduling(),
16 $this->assertEquals(
'inbox', $inbox->getName());
17 $this->assertEquals([], $inbox->getChildren());
18 $this->assertEquals(
'principals/user1', $inbox->getOwner());
19 $this->assertEquals(null, $inbox->getGroup());
23 'privilege' =>
'{DAV:}read',
24 'principal' =>
'{DAV:}authenticated',
28 'privilege' =>
'{DAV:}write-properties',
29 'principal' =>
'principals/user1',
33 'privilege' =>
'{DAV:}unbind',
34 'principal' =>
'principals/user1',
38 'privilege' =>
'{DAV:}unbind',
39 'principal' =>
'principals/user1/calendar-proxy-write',
43 'privilege' =>
'{urn:ietf:params:xml:ns:caldav}schedule-deliver',
44 'principal' =>
'{DAV:}authenticated',
The documentation for this class was generated from the following file:
- libs/composer/vendor/sabre/dav/tests/Sabre/CalDAV/Schedule/InboxTest.php