public function PHPUnit_Util_Log_JUnit::__construct

Constructor.

Parameters

mixed $out:

boolean $logIncompleteSkipped:

Overrides PHPUnit_Util_Printer::__construct

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/Util/Log/JUnit.php, line 132

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;
}