VuFind API Documentation

UserCommentsTest extends TestCase
in package

UserComments Test Class

Tags
category

VuFind

author

Sudharma Kellampalli skellamp@villanova.edu

license

http://opensource.org/licenses/gpl-2.0.php GNU General Public License

link

Wiki

Table of Contents

isActiveProvider()  : array<string|int, mixed>
Data provider for testIsActive.
isCaptchaActiveProvider()  : array<string|int, mixed>
Data provider for testIsCaptchaActive.
testGetDescription()  : void
Test getting Description.
testIsActive()  : void
Test if the tab is active.
testIsCaptchaActive()  : void
Test if the Captcha is Active.

Methods

isActiveProvider()

Data provider for testIsActive.

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

isCaptchaActiveProvider()

Data provider for testIsCaptchaActive.

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

testGetDescription()

Test getting Description.

public testGetDescription() : void
Return values
void

testIsActive()

Test if the tab is active.

public testIsActive(bool $enable, bool $expectedResult) : void
Parameters
$enable : bool

is this tab enabled

$expectedResult : bool

Expected return value from isActive

Tags
dataProvider

isActiveProvider

Return values
void

testIsCaptchaActive()

Test if the Captcha is Active.

public testIsCaptchaActive(bool $captcha, bool $expectedResult) : void
Parameters
$captcha : bool

is captcha active

$expectedResult : bool

Expected return value from isActive

Tags
dataProvider

isCaptchaActiveProvider

Return values
void

Search results