Documentation

VCalendarTest extends TestCase
in package
Uses PHPUnitAssertions

Table of Contents

assertValidate()  : mixed
assertValidateResult()  : mixed
assertVObjectEqualsVObject()  : mixed
This method tests whether two vcards or icalendar objects are semantically identical.
expandData()  : mixed
testBrokenEventExpand()  : mixed
testCalDAVMETHOD()  : mixed
testCalDAVMultiComponent()  : mixed
testCalDAVMultiUID()  : mixed
testCalDAVNoComponents()  : mixed
testExpand()  : mixed
testGetBaseComponent()  : mixed
testGetBaseComponentNoResult()  : mixed
testGetBaseComponentWithFilter()  : mixed
testGetBaseComponentWithFilterNoResult()  : mixed
testGetDocumentType()  : mixed
testNoComponents()  : mixed
testValidateCorrect()  : mixed
testValidateDoubleCalScale()  : mixed
testValidateDoubleMethod()  : mixed
testValidateNoProdId()  : mixed
testValidateNoVersion()  : mixed
testValidateOneMasterEvent()  : mixed
testValidateTwoMasterEvents()  : mixed
testValidateWrongVersion()  : mixed

Methods

assertValidate()

public assertValidate(mixed $ics, mixed $options, mixed $expectedLevel[, mixed $expectedMessage = null ]) : mixed
Parameters
$ics : mixed
$options : mixed
$expectedLevel : mixed
$expectedMessage : mixed = null
Return values
mixed —

assertValidateResult()

public assertValidateResult(mixed $input, mixed $expectedLevel[, mixed $expectedMessage = null ]) : mixed
Parameters
$input : mixed
$expectedLevel : mixed
$expectedMessage : mixed = null
Return values
mixed —

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 —

expandData()

public expandData() : mixed
Return values
mixed —

testBrokenEventExpand()

public testBrokenEventExpand() : mixed
Return values
mixed —

testCalDAVMETHOD()

public testCalDAVMETHOD() : mixed
Return values
mixed —

testCalDAVMultiComponent()

public testCalDAVMultiComponent() : mixed
Return values
mixed —

testCalDAVMultiUID()

public testCalDAVMultiUID() : mixed
Return values
mixed —

testCalDAVNoComponents()

public testCalDAVNoComponents() : mixed
Return values
mixed —

testExpand()

public testExpand(mixed $input, mixed $output[, mixed $timeZone = 'UTC' ][, mixed $start = '2011-12-01' ][, mixed $end = '2011-12-31' ]) : mixed
Parameters
$input : mixed
$output : mixed
$timeZone : mixed = 'UTC'
$start : mixed = '2011-12-01'
$end : mixed = '2011-12-31'
Tags
dataProvider

expandData

Return values
mixed —

testGetBaseComponent()

public testGetBaseComponent() : mixed
Return values
mixed —

testGetBaseComponentNoResult()

public testGetBaseComponentNoResult() : mixed
Return values
mixed —

testGetBaseComponentWithFilter()

public testGetBaseComponentWithFilter() : mixed
Return values
mixed —

testGetBaseComponentWithFilterNoResult()

public testGetBaseComponentWithFilterNoResult() : mixed
Return values
mixed —

testGetDocumentType()

public testGetDocumentType() : mixed
Return values
mixed —

testNoComponents()

public testNoComponents() : mixed
Return values
mixed —

testValidateCorrect()

public testValidateCorrect() : mixed
Return values
mixed —

testValidateDoubleCalScale()

public testValidateDoubleCalScale() : mixed
Return values
mixed —

testValidateDoubleMethod()

public testValidateDoubleMethod() : mixed
Return values
mixed —

testValidateNoProdId()

public testValidateNoProdId() : mixed
Return values
mixed —

testValidateNoVersion()

public testValidateNoVersion() : mixed
Return values
mixed —

testValidateOneMasterEvent()

public testValidateOneMasterEvent() : mixed
Return values
mixed —

testValidateTwoMasterEvents()

public testValidateTwoMasterEvents() : mixed
Return values
mixed —

testValidateWrongVersion()

public testValidateWrongVersion() : mixed
Return values
mixed —

Search results