FormatsTest
extends TestCase
in package
Formats Test Class
Tags
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
Return values
void —getFormats()
Get a configured Formats object.
protected
getFormats([bool $enabled = true ]) : Formats
Parameters
- $enabled : bool = true
-
Is this tab enabled?