Documentation

VCardConverterTest extends TestCase
in package
Uses PHPUnitAssertions

Table of Contents

assertVObjectEqualsVObject()  : mixed
This method tests whether two vcards or icalendar objects are semantically identical.
testAnniversary()  : mixed
testBDAYConversion()  : mixed
testConvert21to40()  : mixed
testConvert30to30()  : mixed
testConvert30to40()  : mixed
testConvert40to30()  : mixed
testConvert40to40()  : mixed
testConvertGroupCard()  : mixed
testConvertIndividualCard()  : mixed
testMultipleAnniversaries()  : mixed
testNoLabel()  : mixed
testPhoneNumberValueTypeGetsRemoved()  : mixed
testUnknownSourceVCardVersion()  : mixed
testUnknownTargetVCardVersion()  : 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

testBDAYConversion()

public testBDAYConversion() : mixed
Return values
mixed

testConvertGroupCard()

public testConvertGroupCard() : mixed
Return values
mixed

testConvertIndividualCard()

public testConvertIndividualCard() : mixed
Return values
mixed

testMultipleAnniversaries()

public testMultipleAnniversaries() : mixed
Return values
mixed

testPhoneNumberValueTypeGetsRemoved()

public testPhoneNumberValueTypeGetsRemoved() : mixed
Return values
mixed

testUnknownSourceVCardVersion()

public testUnknownSourceVCardVersion() : mixed
Return values
mixed

testUnknownTargetVCardVersion()

public testUnknownTargetVCardVersion() : mixed
Return values
mixed

Search results