PHP Class JeroenDesloovere\VCard\tests\VCardTest

Author: Jeroen Desloovere ([email protected])
Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: jeroendesloovere/vcard

Protected Properties

Property Type Description
$vcard JeroenDesloovere\VCard\VCard

Public Methods

Method Description
emailDataProvider ( ) : array Data provider for testEmail()
setUp ( ) : void Set up before class
tearDown ( ) Tear down after class
testAddAddress ( )
testAddBirthday ( )
testAddCompany ( )
testAddEmail ( )
testAddJobTitle ( )
testAddLogoWithJpgImage ( )
testAddLogoWithJpgImageNoInclude ( )
testAddLogoWithNoImage ( ) Test adding logo with no image
testAddLogoWithNoValue ( ) Test adding logo with no value
testAddName ( )
testAddNote ( )
testAddPhoneNumber ( )
testAddPhotoWithJpgPhoto ( )
testAddPhotoWithNoPhoto ( ) Test adding photo with no photo
testAddPhotoWithNoValue ( ) Test adding photo with no value
testAddRole ( )
testAddUrl ( )
testCharset ( ) Test charset
testEmail ( $emails = [] ) Test Email
testFirstNameAndLastName ( ) Test first name and last name
testFullBlownName ( ) Test full blown name
testMultipleBirthdays ( ) Test multiple birthdays
testMultipleCompanies ( ) Test multiple companies
testMultipleJobtitles ( ) Test multiple job titles
testMultipleNames ( ) Test multiple names
testMultipleNotes ( ) Test multiple notes
testMultipleRoles ( ) Test multiple roles
testSpecialFirstNameAndLastName ( ) Test special first name and last name
testSpecialFirstNameAndLastName2 ( ) Test special first name and last name

Method Details

emailDataProvider() public method

Data provider for testEmail()
public emailDataProvider ( ) : array
return array

setUp() public method

Set up before class
public setUp ( ) : void
return void

tearDown() public method

Tear down after class
public tearDown ( )

testAddAddress() public method

public testAddAddress ( )

testAddBirthday() public method

public testAddBirthday ( )

testAddCompany() public method

public testAddCompany ( )

testAddEmail() public method

public testAddEmail ( )

testAddJobTitle() public method

public testAddJobTitle ( )

testAddLogoWithJpgImage() public method

testAddLogoWithJpgImageNoInclude() public method

testAddLogoWithNoImage() public method

Test adding logo with no image

testAddLogoWithNoValue() public method

Test adding logo with no value

testAddName() public method

public testAddName ( )

testAddNote() public method

public testAddNote ( )

testAddPhoneNumber() public method

public testAddPhoneNumber ( )

testAddPhotoWithJpgPhoto() public method

testAddPhotoWithNoPhoto() public method

Test adding photo with no photo

testAddPhotoWithNoValue() public method

Test adding photo with no value

testAddRole() public method

public testAddRole ( )

testAddUrl() public method

public testAddUrl ( )

testCharset() public method

Test charset
public testCharset ( )

testEmail() public method

Test Email
public testEmail ( $emails = [] )

testFirstNameAndLastName() public method

Test first name and last name

testFullBlownName() public method

Test full blown name
public testFullBlownName ( )

testMultipleBirthdays() public method

Test multiple birthdays

testMultipleCompanies() public method

Test multiple companies

testMultipleJobtitles() public method

Test multiple job titles

testMultipleNames() public method

Test multiple names
public testMultipleNames ( )

testMultipleNotes() public method

Test multiple notes
public testMultipleNotes ( )

testMultipleRoles() public method

Test multiple roles
public testMultipleRoles ( )

testSpecialFirstNameAndLastName() public method

Test special first name and last name

testSpecialFirstNameAndLastName2() public method

Test special first name and last name

Property Details

$vcard protected_oe property

protected VCard,JeroenDesloovere\VCard $vcard
return JeroenDesloovere\VCard\VCard