/** * @param string $testName */ public function paintMethodStart($testName) { parent::paintMethodStart($testName); $this->xmlWriter->startTestCase($testName, SimpleTest::getContext()->getTest()); $this->methodStartTime = microtime(true); $this->assertionCount = 0; }
/** * @param string $testName */ public function paintMethodStart($testName) { $this->caseIsArtificial = false; if (!$this->caseStarted) { $this->paintCaseStart(SimpleTest::getContext()->getTest()->getLabel()); $this->caseIsArtificial = true; } parent::paintMethodStart($testName); $this->xmlWriter->startTestCase($testName, SimpleTest::getContext()->getTest()); $this->methodStartTime = microtime(true); $this->assertionCount = 0; $this->reportedFailure = false; $this->methodStarted = true; }