VuFind API Documentation

FormatsTest extends TestCase
in package

Formats 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.
testGetDescription()  : void
Test getting Description.
testisActive()  : void
Test if the tab is active.
getFormats()  : Formats
Get a configured Formats object.

Methods

isActiveProvider()

Data provider for testIsActive.

public static isActiveProvider() : 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

Enable the formats tab

$expectedResult : bool

Expected return value from isActive

Tags
dataProvider

isActiveProvider

Return values
void

getFormats()

Get a configured Formats object.

protected getFormats([bool $enabled = true ]) : Formats
Parameters
$enabled : bool = true

Is this tab enabled?

Return values
Formats

Search results