SimpleReporter::paintGroupEnd PHP Method

paintGroupEnd() public method

Will paint the page footer if the stack of tests has unwound.
public paintGroupEnd ( string $test_name )
$test_name string Name of test that is ending.
    public function paintGroupEnd($test_name)
    {
        array_pop($this->test_stack);
        if (count($this->test_stack) == 0) {
            $this->paintFooter($test_name);
        }
    }

Usage Example

Example #1
0
 /**
  *    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 integer $progress   Number of test cases ending.
  *    @access public
  */
 public function paintGroupEnd($test_name)
 {
     echo '</div>';
     parent::paintGroupEnd($test_name);
     //echo '</h3>Test Suite: "' . $test_name . '" finished.</h3><br />';
     //flush();
 }
All Usage Examples Of SimpleReporter::paintGroupEnd