XmlReporter::paintGroupStart PHP Метод

paintGroupStart() публичный Метод

Paints the start of a group test.
public paintGroupStart ( string $test_name, integer $size )
$test_name string Name of test that is starting.
$size integer Number of test cases starting.
    public function paintGroupStart($test_name, $size)
    {
        parent::paintGroupStart($test_name, $size);
        print $this->getIndent();
        print '<' . $this->namespace . "group size=\"{$size}\">\n";
        print $this->getIndent(1);
        print '<' . $this->namespace . 'name>' . $this->toParsedXml($test_name) . '</' . $this->namespace . "name>\n";
    }

Usage Example

 function paintGroupStart($test_name, $size)
 {
     parent::paintGroupStart($test_name, $size);
     $this->captureStart();
     $this->logger->paintGroupStart($test_name, $size);
     $this->captureStop();
 }
All Usage Examples Of XmlReporter::paintGroupStart