XmlReporter::paintMethodStart PHP Метод

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

Paints the start of a test method.
public paintMethodStart ( string $test_name )
$test_name string Name of test that is starting.
    public function paintMethodStart($test_name)
    {
        parent::paintMethodStart($test_name);
        print $this->getIndent();
        print '<' . $this->namespace . "test>\n";
        print $this->getIndent(1);
        print '<' . $this->namespace . 'name>' . $this->toParsedXml($test_name) . '</' . $this->namespace . "name>\n";
    }

Usage Example

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