VuFind API Documentation

SwitchTabTest extends TestCase
in package

SwitchTab 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

inactiveTabConfigProvider()  : array<string|int, mixed>
Data provider for testGetActiveTab.
tabConfigProvider()  : array<string|int, mixed>
Data provider for testGetActiveTab.
testGetActiveTab()  : void
Test getting the active tab.
testGetInactiveTab()  : void
Test getting the active tab.
testProcess()  : void
Test the process method.
testSetConfig()  : void
Test storing the configuration of recommendation module.

Methods

inactiveTabConfigProvider()

Data provider for testGetActiveTab.

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

tabConfigProvider()

Data provider for testGetActiveTab.

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

testGetActiveTab()

Test getting the active tab.

public testGetActiveTab(array<string|int, mixed> $tabEnv, array<string|int, mixed> $expectedResult) : void
Parameters
$tabEnv : array<string|int, mixed>

tabConfig

$expectedResult : array<string|int, mixed>

expected result from getActiveTab

Tags
dataProvider

tabConfigProvider

Return values
void

testGetInactiveTab()

Test getting the active tab.

public testGetInactiveTab(array<string|int, mixed> $tabEnv, array<string|int, mixed> $expectedResult) : void
Parameters
$tabEnv : array<string|int, mixed>

tabConfig

$expectedResult : array<string|int, mixed>

expected result from getInactiveTabs

Tags
dataProvider

inactiveTabConfigProvider

Return values
void

testProcess()

Test the process method.

public testProcess() : void
Return values
void

testSetConfig()

Test storing the configuration of recommendation module.

public testSetConfig() : void
Return values
void

Search results