Definition at line 8 of file AbstractTest.php.
◆ testCalendarQuery()
Sabre\CalDAV\Backend\AbstractTest::testCalendarQuery |
( |
| ) |
|
Definition at line 22 of file AbstractTest.php.
24 $abstract =
new AbstractMock();
26 'name' =>
'VCALENDAR',
32 'is-not-defined' =>
false,
37 'is-not-defined' =>
false,
43 ], $abstract->calendarQuery(1, $filters));
◆ testGetCalendarObjectByUID()
Sabre\CalDAV\Backend\AbstractTest::testGetCalendarObjectByUID |
( |
| ) |
|
Definition at line 47 of file AbstractTest.php.
49 $abstract =
new AbstractMock();
51 $abstract->getCalendarObjectByUID(
'principal1',
'zim')
55 $abstract->getCalendarObjectByUID(
'principal1',
'foo')
58 $abstract->getCalendarObjectByUID(
'principal3',
'foo')
61 $abstract->getCalendarObjectByUID(
'principal1',
'shared')
◆ testGetMultipleCalendarObjects()
Sabre\CalDAV\Backend\AbstractTest::testGetMultipleCalendarObjects |
( |
| ) |
|
Definition at line 66 of file AbstractTest.php.
References $result.
68 $abstract =
new AbstractMock();
69 $result = $abstract->getMultipleCalendarObjects(1, [
78 'uri' =>
'event1.ics',
79 'calendardata' =>
"BEGIN:VCALENDAR\r\nBEGIN:VEVENT\r\nUID:foo\r\nEND:VEVENT\r\nEND:VCALENDAR\r\n",
85 'calendardata' =>
"BEGIN:VCALENDAR\r\nBEGIN:VTODO\r\nEND:VTODO\r\nEND:VCALENDAR\r\n",
89 $this->assertEquals($expected,
$result);
◆ testUpdateCalendar()
Sabre\CalDAV\Backend\AbstractTest::testUpdateCalendar |
( |
| ) |
|
Definition at line 10 of file AbstractTest.php.
References $result.
12 $abstract =
new AbstractMock();
13 $propPatch =
new PropPatch([
'{DAV:}displayname' =>
'anything']);
15 $abstract->updateCalendar(
'randomid', $propPatch);
The documentation for this class was generated from the following file: