ThemeCommandTest
extends TestCase
in package
Compile/Theme command test.
Tags
Table of Contents
- testFailureWithMissingForce() : void
- Simulate failure caused by existing theme and no '--force' option.
- testSuccessWithForceOption() : void
- Simulate success with '--force' option.
- testSuccessWithMinimalParameters() : void
- Test the simplest possible success case.
- testWithoutParameters() : void
- Test that missing parameters yield an error message.
- getMockCompiler() : ThemeCompiler
- Get a mock compiler object
Methods
testFailureWithMissingForce()
Simulate failure caused by existing theme and no '--force' option.
public
testFailureWithMissingForce() : void
Return values
void —testSuccessWithForceOption()
Simulate success with '--force' option.
public
testSuccessWithForceOption() : void
Return values
void —testSuccessWithMinimalParameters()
Test the simplest possible success case.
public
testSuccessWithMinimalParameters() : void
Return values
void —testWithoutParameters()
Test that missing parameters yield an error message.
public
testWithoutParameters() : void
Return values
void —getMockCompiler()
Get a mock compiler object
protected
getMockCompiler([array<string|int, mixed> $methods = [] ]) : ThemeCompiler
Parameters
- $methods : array<string|int, mixed> = []
-
Methods to mock