Documentation

PHPUnit_Util_Configuration
in package

Wrapper for the PHPUnit XML configuration file.

Example XML configuration file:

/path/to/files /path/to/MyTest.php /path/to/files/exclude

name name /path/to/files /path/to/file /path/to/files /path/to/file /path/to/files /path/to/file /path/to/files /path/to/file Sebastian 22 April 19.78 MyRelativeFile.php MyRelativeDir .
Tags
since

Class available since Release 3.2.0

Table of Contents

$document  : mixed
$filename  : mixed
$xpath  : mixed
$instances  : mixed
getFilename()  : string
Returns the realpath to the configuration file.
getFilterConfiguration()  : array<string|int, mixed>
Returns the configuration for SUT filtering.
getGroupConfiguration()  : array<string|int, mixed>
Returns the configuration for groups.
getInstance()  : PHPUnit_Util_Configuration
Returns a PHPUnit configuration object.
getListenerConfiguration()  : array<string|int, mixed>
Returns the configuration for listeners.
getLoggingConfiguration()  : array<string|int, mixed>
Returns the logging configuration.
getPHPConfiguration()  : array<string|int, mixed>
Returns the PHP configuration.
getPHPUnitConfiguration()  : array<string|int, mixed>
Returns the PHPUnit configuration.
getSeleniumBrowserConfiguration()  : array<string|int, mixed>
Returns the SeleniumTestCase browser configuration.
getTestSuiteConfiguration()  : PHPUnit_Framework_TestSuite
Returns the test suite configuration.
handlePHPConfiguration()  : mixed
Handles the PHP configuration.
__construct()  : mixed
Loads a PHPUnit configuration file.
getBoolean()  : bool
getInteger()  : bool
getTestSuite()  : PHPUnit_Framework_TestSuite
readFilterDirectories()  : array<string|int, mixed>
readFilterFiles()  : array<string|int, mixed>
toAbsolutePath()  : string
__clone()  : mixed

Properties

Methods

getFilename()

Returns the realpath to the configuration file.

public getFilename() : string
Tags
since

Method available since Release 3.6.0

Return values
string

getFilterConfiguration()

Returns the configuration for SUT filtering.

public getFilterConfiguration() : array<string|int, mixed>
Tags
since

Method available since Release 3.2.1

Return values
array<string|int, mixed>

getGroupConfiguration()

Returns the configuration for groups.

public getGroupConfiguration() : array<string|int, mixed>
Tags
since

Method available since Release 3.2.1

Return values
array<string|int, mixed>

getListenerConfiguration()

Returns the configuration for listeners.

public getListenerConfiguration() : array<string|int, mixed>
Tags
since

Method available since Release 3.4.0

Return values
array<string|int, mixed>

getLoggingConfiguration()

Returns the logging configuration.

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

getPHPConfiguration()

Returns the PHP configuration.

public getPHPConfiguration() : array<string|int, mixed>
Tags
since

Method available since Release 3.2.1

Return values
array<string|int, mixed>

getPHPUnitConfiguration()

Returns the PHPUnit configuration.

public getPHPUnitConfiguration() : array<string|int, mixed>
Tags
since

Method available since Release 3.2.14

Return values
array<string|int, mixed>

getSeleniumBrowserConfiguration()

Returns the SeleniumTestCase browser configuration.

public getSeleniumBrowserConfiguration() : array<string|int, mixed>
Tags
since

Method available since Release 3.2.9

Return values
array<string|int, mixed>

handlePHPConfiguration()

Handles the PHP configuration.

public handlePHPConfiguration() : mixed
Tags
since

Method available since Release 3.2.20

Return values
mixed

__construct()

Loads a PHPUnit configuration file.

protected __construct(string $filename) : mixed
Parameters
$filename : string
Return values
mixed

getBoolean()

protected getBoolean(string $value, bool $default) : bool
Parameters
$value : string
$default : bool
Tags
since

Method available since Release 3.2.3

Return values
bool

getInteger()

protected getInteger(string $value, bool $default) : bool
Parameters
$value : string
$default : bool
Tags
since

Method available since Release 3.6.0

Return values
bool

readFilterDirectories()

protected readFilterDirectories(string $query) : array<string|int, mixed>
Parameters
$query : string
Tags
since

Method available since Release 3.2.3

Return values
array<string|int, mixed>

readFilterFiles()

protected readFilterFiles(string $query) : array<string|int, mixed>
Parameters
$query : string
Tags
since

Method available since Release 3.2.3

Return values
array<string|int, mixed>

toAbsolutePath()

protected toAbsolutePath(string $path[, bool $useIncludePath = false ]) : string
Parameters
$path : string
$useIncludePath : bool = false
Tags
since

Method available since Release 3.5.0

Return values
string

__clone()

private final __clone() : mixed
Tags
since

Method available since Release 3.4.0

Return values
mixed

Search results