public paintHeader ( string $test_name ) | ||
$test_name | string | Name class of test. |
public function paintHeader($test_name)
{
if (!SimpleReporter::inCli()) {
header('Content-type: text/plain');
}
print "{$test_name}\n";
flush();
}
public function paintHeader($test_name) { $this->testTag = $test_name; $this->testChecksum = md5($test_name); $this->timeStart = time(); $this->testsStart = microtime(true); $this->memoryStart = memory_get_usage(); $this->time_log['group'] = $this->testChecksum; $this->time_log['description'] = $this->testTag; $this->time_log['total'] = 0; $this->time_log['stats'] = array(); $this->time_log['cases'] = array(); parent::paintHeader($test_name); }