TestClassEstateFiles
extends WP_UnitTestCase
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
CATEGORIES
public
mixed
CATEGORIES
= ['Titelbild', "Foto"]
$_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']]
$_pInstance
private
EstateFiles
$_pInstance
prepare()
public
prepare() : mixed
-
before
-
Return values
mixed
—
testgetAllFiles()
public
testgetAllFiles() : mixed
-
covers
-
-
covers
-
-
covers
-
Return values
mixed
—
testGetEstateFileUrl()
public
testGetEstateFileUrl() : mixed
-
covers
-
Return values
mixed
—
testGetEstateLinks()
public
testGetEstateLinks() : mixed
-
covers
-
Return values
mixed
—
testGetEstateMovieLinks()
public
testGetEstateMovieLinks() : mixed
-
covers
-
Return values
mixed
—
testGetEstatePictures()
public
testGetEstatePictures() : mixed
-
covers
-
-
covers
-
Return values
mixed
—
testGetEstatePictureText()
public
testGetEstatePictureText() : mixed
-
covers
-
Return values
mixed
—
testGetEstatePictureTitle()
public
testGetEstatePictureTitle() : mixed
-
covers
-
Return values
mixed
—
testGetEstatePictureValues()
public
testGetEstatePictureValues() : mixed
-
covers
-
Return values
mixed
—