TestClassAddressList
extends WP_UnitTestCase
in package
Tags
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')]
$_pAddressList
private
AddressList
$_pAddressList
= null
Methods
prepare()
public
prepare() : mixed
Tags
Return values
mixed —testGetFieldLabel()
public
testGetFieldLabel() : mixed
Return values
mixed —testGetFieldType()
public
testGetFieldType() : mixed
Return values
mixed —testGetRecordsById()
public
testGetRecordsById() : mixed
Return values
mixed —testGetRowsEscaped()
public
testGetRowsEscaped() : mixed
Return values
mixed —testGetRowsUnescaped()
public
testGetRowsUnescaped() : mixed
Return values
mixed —testGetVisibleFilterableFields()
public
testGetVisibleFilterableFields() : mixed
Return values
mixed —testLoadAddresses()
public
testLoadAddresses() : mixed
Return values
mixed —testWithDataListViewAddress()
public
testWithDataListViewAddress() : mixed
Return values
mixed —getResponseGetRows()
private
getResponseGetRows() : string
Return values
string —runTestGetRows()
private
runTestGetRows(bool $raw, string $containerClass) : mixed
Parameters
- $raw : bool
- $containerClass : string