onOffice WP Plugin

TestClassAddressList extends WP_UnitTestCase
in package

Tags
url

http://www.onoffice.de

copyright

2003-2018, onOffice(R) GmbH

covers

Table of Contents

$_expectedRecords  : array<string|int, mixed>
$_pAddressList  : AddressList
prepare()  : mixed
testGetFieldLabel()  : mixed
testGetFieldType()  : mixed
testGetRecordsById()  : mixed
testGetRowsEscaped()  : mixed
testGetRowsUnescaped()  : mixed
testGetVisibleFilterableFields()  : mixed
testLoadAddresses()  : mixed
testWithDataListViewAddress()  : mixed
getResponseGetRows()  : string
runTestGetRows()  : mixed

Properties

$_expectedRecords

private array<string|int, mixed> $_expectedRecords = [13 => array('Name' => 'Firestone', 'KdNr' => 9, 'Vorname' => 'Fred', 'phone_business' => '01234567890', 'phone_private' => '01122334455', 'phone' => ['01234567890', '01122334455']), 37 => array('Name' => 'Fleißig', 'KdNr' => 12, 'Vorname' => 'Heinrich')]

Methods

testGetVisibleFilterableFields()

public testGetVisibleFilterableFields() : mixed
Return values
mixed

testWithDataListViewAddress()

public testWithDataListViewAddress() : mixed
Return values
mixed

runTestGetRows()

private runTestGetRows(bool $raw, string $containerClass) : mixed
Parameters
$raw : bool
$containerClass : string
Return values
mixed

Search results