VuFind API Documentation

CssPreCompilerTest extends TestCase
in package

CssPreCompilerTest Test Class

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

$compiler  : object
Our brave test subject
$testDest  : string
Our brave test subject
extClassProvider()  : array<string|int, mixed>
Data Provider for extensions and classes
setUp()  : void
Individual test setup.
setUpBeforeClass()  : void
Initial class setup.
tearDownAfterClass()  : void
Final teardown method.
testAllCompile()  : void
Test compiling all themes (default).
testThemeCompile()  : void
Test compiling a single theme.
delTree()  : void
Delete a directory tree; adapted from http://php.net/manual/en/function.rmdir.php
makeFakeThemeStructure()  : void
Create fixture files in temp folder
setupCompiler()  : void
Assign appropriate values to $this->testDest and $this->compiler

Properties

Methods

extClassProvider()

Data Provider for extensions and classes

public static extClassProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>

setUpBeforeClass()

Initial class setup.

public static setUpBeforeClass() : void
Return values
void

tearDownAfterClass()

Final teardown method.

public static tearDownAfterClass() : void
Return values
void

testAllCompile()

Test compiling all themes (default).

public testAllCompile(string $ext, string $class) : void
Parameters
$ext : string

Extension directory

$class : string

Name of compiler class

Tags
dataProvider

extClassProvider

Return values
void

testThemeCompile()

Test compiling a single theme.

public testThemeCompile(string $ext, string $class) : void
Parameters
$ext : string

Extension directory

$class : string

Name of compiler class

Tags
dataProvider

extClassProvider

Return values
void

delTree()

Delete a directory tree; adapted from http://php.net/manual/en/function.rmdir.php

protected static delTree(string $dir) : void
Parameters
$dir : string

Directory to delete.

Return values
void

makeFakeThemeStructure()

Create fixture files in temp folder

protected static makeFakeThemeStructure(string $ext) : void
Parameters
$ext : string

Extension directory

Return values
void

setupCompiler()

Assign appropriate values to $this->testDest and $this->compiler

protected setupCompiler(string $ext, string $class) : void
Parameters
$ext : string

Extension directory

$class : string

Name of compiler class

Return values
void

Search results