ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
setUp () | |
testNewInvite () | |
testNewOnWrongCollection () | |
testNewInviteSchedulingDisabled () | |
testUpdatedInvite () | |
testUpdatedInviteSchedulingDisabled () | |
testUpdatedInviteWrongPath () | |
testDeletedInvite () | |
testDeletedInviteSchedulingDisabled () | |
testUnbindIgnoredOnMove () | |
A MOVE request will trigger an unbind on a scheduling resource. More... | |
testDeletedInviteWrongUrl () | |
testReply () | |
testInviteUnknownUser () | |
testInviteNoInboxUrl () | |
testInviteNoCalendarHomeSet () | |
testInviteNoDefaultCalendar () | |
testInviteNoScheduler () | |
testInviteNoACLPlugin () | |
deliver ($oldObject, &$newObject, $disableScheduling=false) | |
putPath ($path, $data) | |
Creates or updates a node at the specified path. More... | |
assertItemsInInbox ($user, $count) | |
Public Member Functions inherited from Sabre\DAVServerTest | |
setUp () | |
initializeEverything () | |
request ($request, $expectedStatus=null) | |
Makes a request, and returns a response object. More... | |
autoLogin ($userName) | |
This function takes a username and sets the server in a state where this user is logged in, and no longer requires an authentication check. More... | |
setUpTree () | |
Override this to provide your own Tree for your test-case. More... | |
setUpBackends () | |
assertHttpStatus ($expectedStatus, HTTP\Request $req) | |
Data Fields | |
$setupCalDAV = true | |
$setupCalDAVScheduling = true | |
$setupACL = true | |
$autoLogin = 'user1' | |
$caldavCalendars | |
Protected Attributes | |
$calendarObjectUri | |
Protected Attributes inherited from Sabre\DAVServerTest | |
$setupCalDAV = false | |
$setupCardDAV = false | |
$setupACL = false | |
$setupCalDAVSharing = false | |
$setupCalDAVScheduling = false | |
$setupCalDAVSubscriptions = false | |
$setupCalDAVICSExport = false | |
$setupLocks = false | |
$setupFiles = false | |
$setupSharing = false | |
$setupPropertyStorage = false | |
$caldavCalendars = [] | |
An array with calendars. More... | |
$caldavCalendarObjects = [] | |
$carddavAddressBooks = [] | |
$carddavCards = [] | |
$server | |
$tree = [] | |
$caldavBackend | |
$carddavBackend | |
$principalBackend | |
$locksBackend | |
$propertyStorageBackend | |
$caldavPlugin | |
$carddavPlugin | |
$aclPlugin | |
$caldavSharingPlugin | |
$caldavSchedulePlugin | |
$authPlugin | |
$locksPlugin | |
$sharingPlugin | |
$propertyStoragePlugin | |
$autoLogin = null | |
If this string is set, we will automatically log in the user with this name. More... | |
Definition at line 8 of file ScheduleDeliverTest.php.
Sabre\CalDAV\Schedule\ScheduleDeliverTest::assertItemsInInbox | ( | $user, | |
$count | |||
) |
Definition at line 659 of file ScheduleDeliverTest.php.
References $user.
Referenced by Sabre\CalDAV\Schedule\ScheduleDeliverTest\testDeletedInvite(), Sabre\CalDAV\Schedule\ScheduleDeliverTest\testDeletedInviteSchedulingDisabled(), Sabre\CalDAV\Schedule\ScheduleDeliverTest\testDeletedInviteWrongUrl(), Sabre\CalDAV\Schedule\ScheduleDeliverTest\testNewInvite(), Sabre\CalDAV\Schedule\ScheduleDeliverTest\testNewInviteSchedulingDisabled(), Sabre\CalDAV\Schedule\ScheduleDeliverTest\testNewOnWrongCollection(), Sabre\CalDAV\Schedule\ScheduleDeliverTest\testReply(), Sabre\CalDAV\Schedule\ScheduleDeliverTest\testUnbindIgnoredOnMove(), Sabre\CalDAV\Schedule\ScheduleDeliverTest\testUpdatedInvite(), Sabre\CalDAV\Schedule\ScheduleDeliverTest\testUpdatedInviteSchedulingDisabled(), and Sabre\CalDAV\Schedule\ScheduleDeliverTest\testUpdatedInviteWrongPath().
Sabre\CalDAV\Schedule\ScheduleDeliverTest::deliver | ( | $oldObject, | |
& | $newObject, | ||
$disableScheduling = false |
|||
) |
Definition at line 579 of file ScheduleDeliverTest.php.
References GuzzleHttp\Psr7\$stream, and Sabre\CalDAV\Schedule\ScheduleDeliverTest\putPath().
Referenced by Sabre\CalDAV\Schedule\ScheduleDeliverTest\testDeletedInvite(), Sabre\CalDAV\Schedule\ScheduleDeliverTest\testDeletedInviteSchedulingDisabled(), Sabre\CalDAV\Schedule\ScheduleDeliverTest\testDeletedInviteWrongUrl(), Sabre\CalDAV\Schedule\ScheduleDeliverTest\testInviteNoACLPlugin(), Sabre\CalDAV\Schedule\ScheduleDeliverTest\testInviteNoCalendarHomeSet(), Sabre\CalDAV\Schedule\ScheduleDeliverTest\testInviteNoDefaultCalendar(), Sabre\CalDAV\Schedule\ScheduleDeliverTest\testInviteNoInboxUrl(), Sabre\CalDAV\Schedule\ScheduleDeliverTest\testInviteNoScheduler(), Sabre\CalDAV\Schedule\ScheduleDeliverTest\testInviteUnknownUser(), Sabre\CalDAV\Schedule\ScheduleDeliverTest\testNewInvite(), Sabre\CalDAV\Schedule\ScheduleDeliverTest\testNewInviteSchedulingDisabled(), Sabre\CalDAV\Schedule\ScheduleDeliverTest\testNewOnWrongCollection(), Sabre\CalDAV\Schedule\ScheduleDeliverTest\testReply(), Sabre\CalDAV\Schedule\ScheduleDeliverTest\testUnbindIgnoredOnMove(), Sabre\CalDAV\Schedule\ScheduleDeliverTest\testUpdatedInvite(), Sabre\CalDAV\Schedule\ScheduleDeliverTest\testUpdatedInviteSchedulingDisabled(), and Sabre\CalDAV\Schedule\ScheduleDeliverTest\testUpdatedInviteWrongPath().
Sabre\CalDAV\Schedule\ScheduleDeliverTest::putPath | ( | $path, | |
$data | |||
) |
Creates or updates a node at the specified path.
This circumvents sabredav's internal server apis, so all events and access control is skipped.
string | $path | |
string | $data |
Definition at line 644 of file ScheduleDeliverTest.php.
References $base, $data, and $path.
Referenced by Sabre\CalDAV\Schedule\ScheduleDeliverTest\deliver(), and Sabre\CalDAV\Schedule\ScheduleDeliverTest\testReply().
Sabre\CalDAV\Schedule\ScheduleDeliverTest::setUp | ( | ) |
Definition at line 28 of file ScheduleDeliverTest.php.
Sabre\CalDAV\Schedule\ScheduleDeliverTest::testDeletedInvite | ( | ) |
Definition at line 210 of file ScheduleDeliverTest.php.
References Sabre\CalDAV\Schedule\ScheduleDeliverTest\assertItemsInInbox(), Sabre\CalDAV\Schedule\ScheduleDeliverTest\deliver(), and user2.
Sabre\CalDAV\Schedule\ScheduleDeliverTest::testDeletedInviteSchedulingDisabled | ( | ) |
Definition at line 230 of file ScheduleDeliverTest.php.
References Sabre\CalDAV\Schedule\ScheduleDeliverTest\assertItemsInInbox(), Sabre\CalDAV\Schedule\ScheduleDeliverTest\deliver(), and user2.
Sabre\CalDAV\Schedule\ScheduleDeliverTest::testDeletedInviteWrongUrl | ( | ) |
Definition at line 278 of file ScheduleDeliverTest.php.
References Sabre\CalDAV\Schedule\ScheduleDeliverTest\assertItemsInInbox(), Sabre\CalDAV\Schedule\ScheduleDeliverTest\deliver(), and user2.
Sabre\CalDAV\Schedule\ScheduleDeliverTest::testInviteNoACLPlugin | ( | ) |
Definition at line 539 of file ScheduleDeliverTest.php.
References Sabre\CalDAV\Schedule\ScheduleDeliverTest\deliver(), and user2.
Sabre\CalDAV\Schedule\ScheduleDeliverTest::testInviteNoCalendarHomeSet | ( | ) |
Definition at line 430 of file ScheduleDeliverTest.php.
References Sabre\CalDAV\Schedule\ScheduleDeliverTest\deliver(), Sabre\CalDAV\Plugin\NS_CALDAV, and user2.
Sabre\CalDAV\Schedule\ScheduleDeliverTest::testInviteNoDefaultCalendar | ( | ) |
Definition at line 467 of file ScheduleDeliverTest.php.
References Sabre\CalDAV\Schedule\ScheduleDeliverTest\deliver(), Sabre\CalDAV\Plugin\NS_CALDAV, and user2.
Sabre\CalDAV\Schedule\ScheduleDeliverTest::testInviteNoInboxUrl | ( | ) |
Definition at line 392 of file ScheduleDeliverTest.php.
References Sabre\CalDAV\Schedule\ScheduleDeliverTest\deliver(), Sabre\CalDAV\Plugin\NS_CALDAV, and user2.
Sabre\CalDAV\Schedule\ScheduleDeliverTest::testInviteNoScheduler | ( | ) |
Definition at line 504 of file ScheduleDeliverTest.php.
References Sabre\CalDAV\Schedule\ScheduleDeliverTest\deliver(), and user2.
Sabre\CalDAV\Schedule\ScheduleDeliverTest::testInviteUnknownUser | ( | ) |
Definition at line 357 of file ScheduleDeliverTest.php.
References Sabre\CalDAV\Schedule\ScheduleDeliverTest\deliver().
Sabre\CalDAV\Schedule\ScheduleDeliverTest::testNewInvite | ( | ) |
Definition at line 36 of file ScheduleDeliverTest.php.
References Sabre\CalDAV\Schedule\ScheduleDeliverTest\assertItemsInInbox(), Sabre\CalDAV\Schedule\ScheduleDeliverTest\deliver(), and user2.
Sabre\CalDAV\Schedule\ScheduleDeliverTest::testNewInviteSchedulingDisabled | ( | ) |
Definition at line 92 of file ScheduleDeliverTest.php.
References Sabre\CalDAV\Schedule\ScheduleDeliverTest\assertItemsInInbox(), Sabre\CalDAV\Schedule\ScheduleDeliverTest\deliver(), and user2.
Sabre\CalDAV\Schedule\ScheduleDeliverTest::testNewOnWrongCollection | ( | ) |
Definition at line 72 of file ScheduleDeliverTest.php.
References Sabre\CalDAV\Schedule\ScheduleDeliverTest\assertItemsInInbox(), Sabre\CalDAV\Schedule\ScheduleDeliverTest\deliver(), and user2.
Sabre\CalDAV\Schedule\ScheduleDeliverTest::testReply | ( | ) |
Definition at line 299 of file ScheduleDeliverTest.php.
References Sabre\CalDAV\Schedule\ScheduleDeliverTest\assertItemsInInbox(), Sabre\CalDAV\Schedule\ScheduleDeliverTest\deliver(), Sabre\CalDAV\Schedule\ScheduleDeliverTest\putPath(), and user2.
Sabre\CalDAV\Schedule\ScheduleDeliverTest::testUnbindIgnoredOnMove | ( | ) |
A MOVE request will trigger an unbind on a scheduling resource.
However, we must not treat it as a cancellation, it just got moved to a different calendar.
Definition at line 256 of file ScheduleDeliverTest.php.
References Sabre\CalDAV\Schedule\ScheduleDeliverTest\assertItemsInInbox(), Sabre\CalDAV\Schedule\ScheduleDeliverTest\deliver(), and user2.
Sabre\CalDAV\Schedule\ScheduleDeliverTest::testUpdatedInvite | ( | ) |
Definition at line 109 of file ScheduleDeliverTest.php.
References Sabre\CalDAV\Schedule\ScheduleDeliverTest\assertItemsInInbox(), Sabre\CalDAV\Schedule\ScheduleDeliverTest\deliver(), and user2.
Sabre\CalDAV\Schedule\ScheduleDeliverTest::testUpdatedInviteSchedulingDisabled | ( | ) |
Definition at line 155 of file ScheduleDeliverTest.php.
References Sabre\CalDAV\Schedule\ScheduleDeliverTest\assertItemsInInbox(), Sabre\CalDAV\Schedule\ScheduleDeliverTest\deliver(), and user2.
Sabre\CalDAV\Schedule\ScheduleDeliverTest::testUpdatedInviteWrongPath | ( | ) |
Definition at line 182 of file ScheduleDeliverTest.php.
References Sabre\CalDAV\Schedule\ScheduleDeliverTest\assertItemsInInbox(), Sabre\CalDAV\Schedule\ScheduleDeliverTest\deliver(), and user2.
Sabre\CalDAV\Schedule\ScheduleDeliverTest::$autoLogin = 'user1' |
Definition at line 15 of file ScheduleDeliverTest.php.
Sabre\CalDAV\Schedule\ScheduleDeliverTest::$caldavCalendars |
Definition at line 17 of file ScheduleDeliverTest.php.
|
protected |
Definition at line 577 of file ScheduleDeliverTest.php.
Sabre\CalDAV\Schedule\ScheduleDeliverTest::$setupACL = true |
Definition at line 14 of file ScheduleDeliverTest.php.
Sabre\CalDAV\Schedule\ScheduleDeliverTest::$setupCalDAV = true |
Definition at line 12 of file ScheduleDeliverTest.php.
Sabre\CalDAV\Schedule\ScheduleDeliverTest::$setupCalDAVScheduling = true |
Definition at line 13 of file ScheduleDeliverTest.php.