/** * @param string $testName */ public function paintMethodEnd($testName) { $elapsedTime = microtime(true) - $this->methodStartTime; parent::paintMethodEnd($testName); $this->junitXMLWriter->endTestCase($elapsedTime, $this->assertionCount); $this->methodStarted = false; if ($this->caseIsArtificial) { $this->paintCaseEnd(\SimpleTest::getContext()->getTest()->getLabel()); } }
protected function finishRenderingExample($reporterEvent) { $elapsedTime = microtime(true) - $this->exampleStartTime; $this->junitXMLWriter->endTestCase($elapsedTime, $this->assertionCount); }