TestClassEstateViewFieldModifierTypeDefault
extends WP_UnitTestCase
in package
Tags
Table of Contents
- $_exampleRecord : array<string|int, mixed>
- testFieldListEmpty() : mixed
- testGetAPIFields() : mixed
- testGetAPIFieldsWithGeo() : mixed
- testGetVisibleFields() : mixed
- testReduceRecord() : mixed
- getNewInstance() : EstateViewFieldModifierTypeDefault
- getPreconfiguredFieldModifier() : EstateViewFieldModifierTypeDefault
Properties
$_exampleRecord
private
array<string|int, mixed>
$_exampleRecord
= ['mainLangId' => 123, 'testField1' => true, 'test_field2' => 'Example string', 'multiselectfield' => ['Value 1', 'Value 2', 'Value 3'], 'virtualAddress' => 0, 'objektadresse_freigeben' => 0, 'laengengrad' => 12.9458485, 'breitengrad' => 53.12323, 'reserviert' => '1', 'verkauft' => '1', 'vermarktungsart' => 'kauf']
Methods
testFieldListEmpty()
public
testFieldListEmpty() : mixed
Return values
mixed —testGetAPIFields()
public
testGetAPIFields() : mixed
Return values
mixed —testGetAPIFieldsWithGeo()
public
testGetAPIFieldsWithGeo() : mixed
Return values
mixed —testGetVisibleFields()
public
testGetVisibleFields() : mixed
Return values
mixed —testReduceRecord()
public
testReduceRecord() : mixed
Return values
mixed —getNewInstance()
private
getNewInstance(array<string|int, mixed> $viewFields) : EstateViewFieldModifierTypeDefault
Parameters
- $viewFields : array<string|int, mixed>
Return values
EstateViewFieldModifierTypeDefault —getPreconfiguredFieldModifier()
private
getPreconfiguredFieldModifier() : EstateViewFieldModifierTypeDefault