onOffice WP Plugin

TestClassEstateList extends WP_UnitTestCase
in package

Tags
url

http://www.onoffice.de

copyright

2003-2019, onOffice(R) GmbH

covers
covers

Table of Contents

$_estatePicturesByEstateId  : array<string|int, mixed>
$_pContainer  : Container
$_pEnvironment  : EstateListEnvironment
$_pEstateList  : EstateList
$_pSDKWrapperMocker  : SDKWrapperMocker
prepareEstateList()  : mixed
testConstruct()  : mixed
testDefaultFilterBuilder()  : mixed
testEstateIterator()  : mixed
testEstateIteratorBadState()  : mixed
testFormatOutput()  : mixed
testGeoSearchBuilder()  : mixed
testGetCurrentEstateId()  : mixed
testGetCurrentMultiLangEstateMainId()  : mixed
testGetDataView()  : mixed
testGetDocument()  : mixed
testGetDocumentEmpty()  : mixed
testGetEstateContactIds()  : mixed
testGetEstateContacts()  : mixed
testGetEstateFiles()  : mixed
testGetEstateIds()  : mixed
testGetEstateLink()  : mixed
testGetEstateMovieLinks()  : mixed
testGetEstateOverallCount()  : mixed
testGetEstatePictures()  : mixed
testGetEstatePictureText()  : mixed
testGetEstatePictureTitle()  : mixed
testGetEstatePictureUrl()  : mixed
testGetEstatePictureValues()  : mixed
testGetEstateUnits()  : mixed
testGetFieldLabel()  : mixed
testGetMovieEmbedPlayers()  : mixed
testGetRawValues()  : mixed
testGetVisibleFilterableFields()  : mixed
testHasDetailView()  : mixed
testLoadEstates()  : mixed
testLoadRandomEstates()  : mixed
testRedirectIfOldUrl()  : mixed
testShowReferenceStatus()  : mixed
doTestGetEstatePictureMethodGeneric()  : mixed
getDataView()  : DataListView
getDataViewRandom()  : DataListView

Properties

$_estatePicturesByEstateId

private array<string|int, mixed> $_estatePicturesByEstateId = [15 => [2 => ['id' => 2, 'url' => 'https://test.url/image/2.jpg', 'title' => 'Awesome image', 'text' => 'An image for test', 'type' => 'Titelbild'], 3 => ['id' => 3, 'url' => 'https://test.url/image/3.png', 'title' => 'Another awesome image', 'text' => 'Another image for test', 'type' => 'Foto'], 4 => ['id' => 4, 'url' => 'https://test.url/image/4.png', 'title' => 'Another awesome image', 'text' => 'Another image for test', 'type' => 'Foto_gross']]]

Methods

prepareEstateList()

public prepareEstateList() : mixed
Tags
before
Return values
mixed

testDefaultFilterBuilder()

public testDefaultFilterBuilder() : mixed
Return values
mixed

testEstateIteratorBadState()

public testEstateIteratorBadState() : mixed
Return values
mixed

testGeoSearchBuilder()

public testGeoSearchBuilder() : mixed
Return values
mixed

testGetCurrentEstateId()

public testGetCurrentEstateId() : mixed
Return values
mixed

testGetCurrentMultiLangEstateMainId()

public testGetCurrentMultiLangEstateMainId() : mixed
Return values
mixed

testGetDocumentEmpty()

public testGetDocumentEmpty() : mixed
Return values
mixed

testGetEstateContactIds()

public testGetEstateContactIds() : mixed
Return values
mixed

testGetEstateContacts()

public testGetEstateContacts() : mixed
Return values
mixed
public testGetEstateMovieLinks() : mixed
Return values
mixed

testGetEstateOverallCount()

public testGetEstateOverallCount() : mixed
Return values
mixed

testGetEstatePictures()

public testGetEstatePictures() : mixed
Return values
mixed

testGetEstatePictureText()

public testGetEstatePictureText() : mixed
Return values
mixed

testGetEstatePictureTitle()

public testGetEstatePictureTitle() : mixed
Return values
mixed

testGetEstatePictureUrl()

public testGetEstatePictureUrl() : mixed
Return values
mixed

testGetEstatePictureValues()

public testGetEstatePictureValues() : mixed
Return values
mixed

testGetMovieEmbedPlayers()

public testGetMovieEmbedPlayers() : mixed
Return values
mixed

testGetVisibleFilterableFields()

public testGetVisibleFilterableFields() : mixed
Return values
mixed

testLoadRandomEstates()

public testLoadRandomEstates() : mixed
Return values
mixed

testRedirectIfOldUrl()

public testRedirectIfOldUrl() : mixed
Return values
mixed

testShowReferenceStatus()

public testShowReferenceStatus() : mixed
Return values
mixed

doTestGetEstatePictureMethodGeneric()

private doTestGetEstatePictureMethodGeneric(string $methodName, array<string|int, mixed> $expectedResults) : mixed
Parameters
$methodName : string
$expectedResults : array<string|int, mixed>
Tags
throws
APIEmptyResultException
throws
UnknownViewException
throws
DependencyException
throws
NotFoundException
throws
HttpFetchNoResultException
throws
ApiClientException
Return values
mixed

Search results