SwitchTabTest
extends TestCase
in package
SwitchTab Test Class
Tags
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
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
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