- Timestamp:
- 10/28/08 19:44:55 (17 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/2.4/classes/phing/tasks/ext/simpletest/SimpleTestTask.php
r325 r428 42 42 private $printsummary = false; 43 43 private $testfailed = false; 44 private $debug = false; 44 45 45 46 /** … … 60 61 require_once 'simpletest/test_case.php'; 61 62 require_once 'phing/tasks/ext/simpletest/SimpleTestCountResultFormatter.php'; 63 require_once 'phing/tasks/ext/simpletest/SimpleTestDebugResultFormatter.php'; 62 64 require_once 'phing/tasks/ext/simpletest/SimpleTestFormatterElement.php'; 63 65 } … … 87 89 $this->printsummary = $printsummary; 88 90 } 91 92 public function setDebug($debug) 93 { 94 $this->debug = $debug; 95 } 96 97 public function getDebug() 98 { 99 return $this->debug; 100 } 89 101 90 102 /** … … 182 194 $this->execute($group); 183 195 196 if ($this->testfailed && $this->formatters[0]->getFormatter() instanceof SimpleTestDebugResultFormatter ) 197 { 198 $this->getDefaultOutput()->write("Failed tests: "); 199 $this->formatters[0]->getFormatter()->printFailingTests(); 200 } 201 184 202 if ($this->testfailed) 185 203 {
