Documentation

ExpandEventsFloatingTimeTest extends DAVServerTest
in package

This unittest is created to check if expand() works correctly with floating times (using calendar-timezone information).

Table of Contents

$aclPlugin  : Plugin
$authPlugin  : Plugin
$autoLogin  : mixed
If this string is set, we will automatically log in the user with this name.
$caldavBackend  : mixed
$caldavCalendarObjects  : mixed
$caldavCalendars  : mixed
An array with calendars. Every calendar should have - principaluri - uri.
$caldavICSExportPlugin  : ICSExportPlugin
$caldavPlugin  : Plugin
$caldavSchedulePlugin  : Plugin
CalDAV scheduling plugin.
$caldavSharingPlugin  : SharingPlugin
$carddavAddressBooks  : mixed
$carddavBackend  : mixed
$carddavCards  : mixed
$carddavPlugin  : Plugin
$locksBackend  : mixed
$locksPlugin  : Plugin
$principalBackend  : mixed
$propertyStorageBackend  : mixed
$propertyStoragePlugin  : mixed
$server  : Server
$setupACL  : mixed
$setupCalDAV  : mixed
$setupCalDAVICSExport  : mixed
$setupCalDAVScheduling  : mixed
$setupCalDAVSharing  : mixed
$setupCalDAVSubscriptions  : mixed
$setupCardDAV  : mixed
$setupFiles  : mixed
$setupLocks  : mixed
$setupPropertyStorage  : mixed
$setupSharing  : mixed
$sharingPlugin  : Plugin
Sharing plugin.
$tree  : mixed
assertHttpStatus()  : mixed
autoLogin()  : mixed
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.
initializeEverything()  : mixed
request()  : Response
Makes a request, and returns a response object.
setup()  : void
setUpBackends()  : mixed
setUpTree()  : mixed
Override this to provide your own Tree for your test-case.
testExpandCalendarQuery()  : mixed
testExpandExport()  : mixed
testExpandMultiGet()  : mixed

Properties

$autoLogin

If this string is set, we will automatically log in the user with this name.

protected mixed $autoLogin = null

$caldavCalendarObjects

protected mixed $caldavCalendarObjects = [1 => ['event.ics' => ['calendardata' => 'BEGIN:VCALENDAR VERSION:2.0 CALSCALE:GREGORIAN BEGIN:VEVENT CREATED:20140701T143658Z UID:dba46fe8-1631-4d98-a575-97963c364dfe DTEND:20141108T073000 TRANSP:OPAQUE SUMMARY:Floating Time event, starting 05:30am Europe/Berlin DTSTART:20141108T053000 DTSTAMP:20140701T143706Z SEQUENCE:1 END:VEVENT END:VCALENDAR ']]]

$caldavCalendars

An array with calendars. Every calendar should have - principaluri - uri.

protected mixed $caldavCalendars = [['id' => 1, 'name' => 'Calendar', 'principaluri' => 'principals/user1', 'uri' => 'calendar1', '{urn:ietf:params:xml:ns:caldav}calendar-timezone' => 'BEGIN:VCALENDAR VERSION:2.0 CALSCALE:GREGORIAN BEGIN:VTIMEZONE TZID:Europe/Berlin BEGIN:DAYLIGHT TZOFFSETFROM:+0100 RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU DTSTART:19810329T020000 TZNAME:GMT+2 TZOFFSETTO:+0200 END:DAYLIGHT BEGIN:STANDARD TZOFFSETFROM:+0200 RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU DTSTART:19961027T030000 TZNAME:GMT+1 TZOFFSETTO:+0100 END:STANDARD END:VTIMEZONE END:VCALENDAR']]

$carddavAddressBooks

protected mixed $carddavAddressBooks = []

$propertyStorageBackend

protected mixed $propertyStorageBackend

$propertyStoragePlugin

protected mixed $propertyStoragePlugin

$setupCalDAVScheduling

protected mixed $setupCalDAVScheduling = false

$setupCalDAVSharing

protected mixed $setupCalDAVSharing = false

$setupCalDAVSubscriptions

protected mixed $setupCalDAVSubscriptions = false

$setupPropertyStorage

protected mixed $setupPropertyStorage = false

Methods

assertHttpStatus()

public assertHttpStatus(mixed $expectedStatus, Request $req) : mixed
Parameters
$expectedStatus : mixed
$req : Request
Return values
mixed

autoLogin()

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.

public autoLogin(string $userName) : mixed
Parameters
$userName : string
Return values
mixed

initializeEverything()

public initializeEverything() : mixed
Return values
mixed

request()

Makes a request, and returns a response object.

public request(array<string|int, mixed>|Request $request[, int $expectedStatus = null ]) : Response

You can either pass an instance of Sabre\HTTP\Request, or an array, which will then be used as the _SERVER array.

If $expectedStatus is set, we'll compare it with the HTTP status of the returned response. If it doesn't match, we'll immediately fail the test.

Parameters
$request : array<string|int, mixed>|Request
$expectedStatus : int = null
Return values
Response

setUpBackends()

public setUpBackends() : mixed
Return values
mixed

setUpTree()

Override this to provide your own Tree for your test-case.

public setUpTree() : mixed
Return values
mixed

Search results