public function PHPUnit_Util_Log_JUnit::__construct in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpunit/phpunit/src/Util/Log/JUnit.php \PHPUnit_Util_Log_JUnit::__construct()
Constructor.
Parameters
mixed $out:
bool $logIncompleteSkipped:
Overrides PHPUnit_Util_Printer::__construct
File
- vendor/
phpunit/ phpunit/ src/ Util/ Log/ JUnit.php, line 91
Class
- PHPUnit_Util_Log_JUnit
- A TestListener that generates a logfile of the test execution in XML markup.
Code
public function __construct($out = null, $logIncompleteSkipped = false) {
$this->document = new DOMDocument('1.0', 'UTF-8');
$this->document->formatOutput = true;
$this->root = $this->document
->createElement('testsuites');
$this->document
->appendChild($this->root);
parent::__construct($out);
$this->logIncompleteSkipped = $logIncompleteSkipped;
}