function paintGroupEnd($test_name)
 {
     parent::paintGroupEnd($test_name);
     $this->captureStart();
     $this->logger->paintGroupEnd($test_name);
     $this->captureStop();
     if (count($this->_test_stack) == 0) {
         if ($this->out) {
             $this->out->write($this->xmlData);
             $this->out->close();
         }
     }
 }