onOffice WP Plugin

TestClassEstateViewSimilarEstates extends WP_UnitTestCase
in package

Tags
url

http://www.onoffice.de

copyright

2003-2018, onOffice(R) GmbH

Table of Contents

$_expectedTemplateOutput  : string
$_mainRecords  : array<string|int, mixed>
$_pEstateViewSimilarEstates  : EstateViewSimilarEstates
$_resultSubRecords  : array<string|int, mixed>
set_up()  : mixed
testGenerateHtmlOutput()  : mixed
testGetSubEstateIds()  : mixed
testSubEstateCount()  : mixed

Properties

$_expectedTemplateOutput

private string $_expectedTemplateOutput = 'Id: 305 laengengrad: 50.3333 breitengrad: 13.777 strasse: Teststreet plz: 12345 land: Testcountry -- Id: 309 laengengrad: 50.3273 breitengrad: 13.2222 strasse: Testotherstreet plz: 12347 land: Testcountry -- '

$_mainRecords

private array<string|int, mixed> $_mainRecords = [300 => ['Id' => 300, 'laengengrad' => 50.24584, 'breitengrad' => 13.3847, 'strasse' => '', 'plz' => '', 'land' => '', 'vermarktungsart' => 'kauf', 'objektart' => 'haus']]

$_resultSubRecords

private array<string|int, mixed> $_resultSubRecords = [305 => ['Id' => 305, 'laengengrad' => 50.3333, 'breitengrad' => 13.777, 'strasse' => 'Teststreet', 'plz' => '12345', 'land' => 'Testcountry'], 309 => ['Id' => 309, 'laengengrad' => 50.3273, 'breitengrad' => 13.2222, 'strasse' => 'Testotherstreet', 'plz' => '12347', 'land' => 'Testcountry']]

Methods

Search results