Lines Matching refs:time
746 bool duration; // print the time duration of each test case
760 bool no_time_in_output; // omit any time/timestamps from output !!! UNDOCUMENTED !!!
1652 DOCTEST_CLANG_SUPPRESS_WARNING_WITH_PUSH("-Wexit-time-destructors")
1980 DOCTEST_CLANG_SUPPRESS_WARNING_WITH_PUSH("-Wexit-time-destructors") \
2733 DOCTEST_CLANG_SUPPRESS_WARNING("-Wexit-time-destructors")
2861 #include <sys/time.h>
5280 std::time(&rawtime);
5311 : classname(_classname), name(_name), time(0), failures() {}
5314 double time;
5328 void addTime(double time) {
5329 if(time < 1e-4)
5330 time = 0;
5331 testcases.back().time = time;
5332 totalSeconds += time;
5383 xml.writeAttribute("time", testCaseData.totalSeconds);
5394 xml.writeAttribute("time", testCase.time);
5695 << Whitespace(sizePrefixDisplay*1) << "prints the time duration of each test\n";
5860 s << Color::Red << "Test case exceeded time limit of " << std::setprecision(6)
6207 DOCTEST_PARSE_AS_BOOL_OR_FLAG("no-time-in-output", "ntio", no_time_in_output, false);