VuFind API Documentation

ThemeCommandTest extends TestCase
in package

Compile/Theme command test.

Tags
category

VuFind

author

Demian Katz demian.katz@villanova.edu

license

http://opensource.org/licenses/gpl-2.0.php GNU General Public License

link

Wiki

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

Return values
ThemeCompiler

Search results