Documentation

BrokerNewEventTest extends BrokerTester
in package

Utilities for testing the broker.

Table of Contents

assertVObjectEqualsVObject()  : mixed
This method tests whether two vcards or icalendar objects are semantically identical.
parse()  : mixed
process()  : mixed
testBrokenEventOrganizerMisMatch()  : mixed
testBrokenEventUIDMisMatch()  : mixed
testCaseInsensitiveOrganizers()  : mixed
testChangingOrganizers()  : mixed
testMultipleUID()  : mixed
testNoAttendee()  : mixed
testNoOrganizerHasAttendee()  : mixed
testRecurrenceInvite()  : mixed
testRecurrenceInvite2()  : mixed
testRecurrenceInvite3()  : mixed
testScheduleAgentClient()  : mixed
testSimpleInvite()  : mixed
testVTODO()  : mixed

Methods

assertVObjectEqualsVObject()

This method tests whether two vcards or icalendar objects are semantically identical.

public assertVObjectEqualsVObject(resource|string|Component $expected, resource|string|Component $actual[, string $message = '' ]) : mixed

It supports objects being supplied as strings, streams or Sabre\VObject\Component instances.

PRODID is removed from both objects as this is often changes and would just get in the way.

CALSCALE will automatically get removed if it's set to GREGORIAN.

Any property that has the value ANY will be treated as a wildcard.

Parameters
$expected : resource|string|Component
$actual : resource|string|Component
$message : string = ''
Return values
mixed

parse()

public parse(mixed $oldMessage, mixed $newMessage[, mixed $expected = [] ][, mixed $currentUser = 'mailto:one@example.org' ]) : mixed
Parameters
$oldMessage : mixed
$newMessage : mixed
$expected : mixed = []
$currentUser : mixed = 'mailto:one@example.org'
Return values
mixed

process()

public process(mixed $input[, mixed $existingObject = null ][, mixed $expected = false ]) : mixed
Parameters
$input : mixed
$existingObject : mixed = null
$expected : mixed = false
Return values
mixed

testBrokenEventOrganizerMisMatch()

public testBrokenEventOrganizerMisMatch() : mixed
Return values
mixed

testBrokenEventUIDMisMatch()

public testBrokenEventUIDMisMatch() : mixed
Return values
mixed

testCaseInsensitiveOrganizers()

public testCaseInsensitiveOrganizers() : mixed
Return values
mixed

testChangingOrganizers()

public testChangingOrganizers() : mixed
Return values
mixed

testNoOrganizerHasAttendee()

public testNoOrganizerHasAttendee() : mixed
Return values
mixed

testRecurrenceInvite()

public testRecurrenceInvite() : mixed
Return values
mixed

testRecurrenceInvite2()

public testRecurrenceInvite2() : mixed
Return values
mixed

testRecurrenceInvite3()

public testRecurrenceInvite3() : mixed
Return values
mixed

testScheduleAgentClient()

public testScheduleAgentClient() : mixed
Return values
mixed

Search results