Returns the test suite configuration.
@since Method available since Release 3.2.1
public function getTestSuiteConfiguration($testSuiteFilter = null) {
$testSuiteNodes = $this->xpath
->query('testsuites/testsuite');
if ($testSuiteNodes->length == 0) {
$testSuiteNodes = $this->xpath
->query('testsuite');
}
if ($testSuiteNodes->length == 1) {
return $this
->getTestSuite($testSuiteNodes
->item(0), $testSuiteFilter);
}
if ($testSuiteNodes->length > 1) {
$suite = new PHPUnit_Framework_TestSuite();
foreach ($testSuiteNodes as $testSuiteNode) {
$suite
->addTestSuite($this
->getTestSuite($testSuiteNode, $testSuiteFilter));
}
return $suite;
}
}