| 610 | } |
| 611 | |
| 612 | const string HtmlReporter::getCurrentSystemTime() |
| 613 | { |
| 614 | auto tt = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now()); |
| 615 | struct tm* ptm = localtime(&tt); |
| 616 | char date[60] = {0}; |
| 617 | sprintf(date, "%d-%02d-%02d %02d:%02d:%02d", |
| 618 | (int)ptm->tm_year + 1900,(int)ptm->tm_mon + 1,(int)ptm->tm_mday, |
| 619 | (int)ptm->tm_hour,(int)ptm->tm_min,(int)ptm->tm_sec); |
| 620 | return std::string(date); |
| 621 | } |
| 622 | |
| 623 | void HtmlReporter::printFooter(ofstream& ofs){ |
| 624 | ofs << "\n</div>" << endl; |
nothing calls this directly
no outgoing calls
no test coverage detected