Exemple #1
0
 /**
  * Constructor.
  *
  * @param  resource  $out
  * @access public
  */
 public function __construct($out = NULL)
 {
     parent::__construct($out);
     $this->prettifier = new PHPUnit2_Util_TestDox_NamePrettifier();
     $this->startRun();
 }
Exemple #2
0
 /**
  * Constructor.
  *
  * @param  mixed $out
  * @access public
  */
 public function __construct($out = NULL)
 {
     $this->document = new DOMDocument('1.0', 'UTF-8');
     $this->document->formatOutput = TRUE;
     $this->root = $this->document->createElement('testsuites');
     $this->document->appendChild($this->root);
     $this->timer = new Benchmark_Timer();
     parent::__construct($out);
 }