onOffice WP Plugin

TestClassDatabaseChanges extends WP_UnitTestCase
in package

Tags
url

http://www.onoffice.de

copyright

2003-2018, onOffice(R) GmbH

covers

Please note $wpdb won't create any tables in testing mode

Table of Contents

NUM_NEW_TABLES  = 9
amount of tables created
$_createQueries  : array<string|int, string>
$_dropQueries  : array<string|int, string>
$_fields  : array<string|int, string>
$_pDbChanges  : DatabaseChanges
$_pWPDBMock  : wpdb
$_pWpOption  : WPOptionWrapperTest
prepare()  : mixed
saveCreateQuery()  : string
saveDropQuery()  : string
testDeleteCommentFieldApplicantSearchForm()  : mixed
testDeleteMessageFieldApplicantSearchForm()  : mixed
testInstall()  : array<string|int, mixed>
testInstallMigrationsDataSimilarEstates()  : array<string|int, mixed>
testMaxVersion()  : mixed
testUninstall()  : mixed

Constants

Properties

Methods

saveCreateQuery()

public saveCreateQuery(string $query) : string
Parameters
$query : string
Return values
string

saveDropQuery()

public saveDropQuery(string $query) : string
Parameters
$query : string
Return values
string

testDeleteCommentFieldApplicantSearchForm()

public testDeleteCommentFieldApplicantSearchForm() : mixed
Tags
covers
Return values
mixed

testDeleteMessageFieldApplicantSearchForm()

public testDeleteMessageFieldApplicantSearchForm() : mixed
Tags
covers
Return values
mixed

testInstall()

public testInstall() : array<string|int, mixed>
Tags
covers
Return values
array<string|int, mixed>

testInstallMigrationsDataSimilarEstates()

public testInstallMigrationsDataSimilarEstates() : array<string|int, mixed>
Return values
array<string|int, mixed>

testUninstall()

public testUninstall(array<string|int, mixed> $createQueries) : mixed
Parameters
$createQueries : array<string|int, mixed>

from testInstall test.

Tags
depends

testInstall

Return values
mixed

Search results