UserCommentsTest
extends TestCase
in package
UserComments Test Class
Tags
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
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