Fixing time tracking on group test cases.

This commit is contained in:
mark_story 2009-09-18 00:54:13 -04:00
parent caf780fdfb
commit b95d9e1060

View file

@ -64,7 +64,9 @@ class CakeHtmlReporter extends SimpleReporter {
* @return void
**/
function paintGroupStart($test_name, $size) {
$this->_timeStart = $this->_getTime();
if (empty($this->_timeStart)) {
$this->_timeStart = $this->_getTime();
}
parent::paintGroupStart($test_name, $size);
}