- \PHPUnit_Util_Configuration
class (none) \ PHPUnit_Util_Configuration
Wrapper for the PHPUnit XML configuration file.
Example XML configuration file:
Method Summary
private final function __clone()
protected function __construct($filename)
Loads a PHPUnit configuration file.
- Parameters:
string
- $filename
protected function getBoolean($value, $default)
- Parameters:
string
- $valueboolean
- $default- Returns:
- boolean
public function getFilename()
Returns the realpath to the configuration file.
- Returns:
- string
public function getFilterConfiguration()
Returns the configuration for SUT filtering.
- Returns:
- array
public function getGroupConfiguration()
Returns the configuration for groups.
- Returns:
- array
public static function getInstance($filename)
Returns a PHPUnit configuration object.
- Parameters:
string
- $filename- Returns:
- PHPUnit_Util_Configuration
protected function getInteger($value, $default)
- Parameters:
string
- $valueboolean
- $default- Returns:
- boolean
public function getListenerConfiguration()
Returns the configuration for listeners.
- Returns:
- array
public function getLoggingConfiguration()
Returns the logging configuration.
- Returns:
- array
public function getPHPConfiguration()
Returns the PHP configuration.
- Returns:
- array
public function getPHPUnitConfiguration()
Returns the PHPUnit configuration.
- Returns:
- array
public function getSeleniumBrowserConfiguration()
Returns the SeleniumTestCase browser configuration.
- Returns:
- array
protected function getTestSuite(DOMElement $testSuiteNode, $testSuiteFilter = null)
- Parameters:
DOMElement
- $testSuiteNode- Defaults:
testSuiteFilter
=null
- Returns:
- PHPUnit_Framework_TestSuite
public function getTestSuiteConfiguration($testSuiteFilter = null)
Returns the test suite configuration.
- Defaults:
testSuiteFilter
=null
- Returns:
- PHPUnit_Framework_TestSuite
public function handlePHPConfiguration()
Handles the PHP configuration.
protected function readFilterDirectories($query)
- Parameters:
string
- $query- Returns:
- array
protected function readFilterFiles($query)
- Parameters:
string
- $query- Returns:
- array
protected function toAbsolutePath($path, $useIncludePath = false)
- Parameters:
string
- $pathboolean
- $useIncludePath- Defaults:
useIncludePath
=false
- Returns:
- string