TestClassCompoundFieldsFilter
extends WP_UnitTestCase
in package
Test of class CompoundFieldsFilter
Table of Contents
- $_expectedResultAssocMerge : array<string|int, mixed>
- $_expectedResultMerge : array<string|int, mixed>
- $_fields : array<string|int, mixed>
- $_pCompoundFields : CompoundFieldsFilter
- $_pFieldsCollection : FieldsCollection
- prepare() : mixed
- testBuildCompoundFields() : mixed
- testMergeAssocFields() : mixed
- testMergeFields() : mixed
- testMergeListFilterableFields() : mixed
Properties
$_expectedResultAssocMerge
private
array<string|int, mixed>
$_expectedResultAssocMerge
= ['Anrede' => 'address', 'Titel' => 'address', 'Name' => 'address']
$_expectedResultMerge
private
array<string|int, mixed>
$_expectedResultMerge
= ['Name', 'Anrede', 'Titel']
$_fields
private
array<string|int, mixed>
$_fields
= ['Anrede-Titel' => 'address', 'Name' => 'address']
$_pCompoundFields
private
CompoundFieldsFilter
$_pCompoundFields
= null
$_pFieldsCollection
private
FieldsCollection
$_pFieldsCollection
= null
Methods
prepare()
public
prepare() : mixed
Tags
Return values
mixed —testBuildCompoundFields()
public
testBuildCompoundFields() : mixed
Tags
Return values
mixed —testMergeAssocFields()
public
testMergeAssocFields() : mixed
Tags
Return values
mixed —testMergeFields()
public
testMergeFields() : mixed
Tags
Return values
mixed —testMergeListFilterableFields()
public
testMergeListFilterableFields() : mixed