code: public function paintGroupEnd($test_name)
      {
          array_pop($this->test_stack);
          if (count($this->test_stack) == 0) {
              $this->paintFooter($test_name);
          }
      }
docs: Paints the end of a group test.
  Will paint the page footer if the stack of tests has unwound.
  
  @param string $test_name   Name of test that is ending.
  @param int $progress   Number of test cases ending.