onOffice WP Plugin

TestClassEstateFiles extends WP_UnitTestCase
in package

Table of Contents

CATEGORIES  = ['Titelbild', "Foto"]
$_pictures  : array<string|int, mixed>
$_pInstance  : EstateFiles
prepare()  : mixed
testgetAllFiles()  : mixed
testGetEstateFileUrl()  : mixed
testGetEstateLinks()  : mixed
testGetEstateMovieLinks()  : mixed
testGetEstatePictures()  : mixed
testGetEstatePictureText()  : mixed
testGetEstatePictureTitle()  : mixed
testGetEstatePictureValues()  : mixed

Constants

Properties

$_pictures

private static array<string|int, mixed> $_pictures = [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

testgetAllFiles()

public testgetAllFiles() : mixed
Tags
covers
covers
covers
Return values
mixed

testGetEstateFileUrl()

public testGetEstateFileUrl() : mixed
Tags
covers
Return values
mixed
public testGetEstateLinks() : mixed
Tags
covers
Return values
mixed
public testGetEstateMovieLinks() : mixed
Tags
covers
Return values
mixed

testGetEstatePictures()

public testGetEstatePictures() : mixed
Tags
covers
covers
Return values
mixed

testGetEstatePictureText()

public testGetEstatePictureText() : mixed
Tags
covers
Return values
mixed

testGetEstatePictureTitle()

public testGetEstatePictureTitle() : mixed
Tags
covers
Return values
mixed

testGetEstatePictureValues()

public testGetEstatePictureValues() : mixed
Tags
covers
Return values
mixed

Search results