64 TUDEF(
"SystemTime",
"SystemTime()");
66 unsigned failcount = 0, succcount = 0;
72 while (((failcount + succcount) < 5) && (succcount <= failcount))
83 CommonTime commonTimeSystemTime(timeFromSystemTime);
87 commonTimectime.
get(day2,sod2,fsod2);
91 cerr <<
"day mismatch" << endl;
96 cerr <<
"second mismatch" << endl;
99 else if (TimeSystem::UTC != commonTimeSystemTime.
getTimeSystem())
101 cerr <<
"time system mismatch" << endl;
109 if (failcount >= succcount)
111 TUFAIL(
"too many mismatches");
121 unsigned errorCounter = 0;
126 std::cout <<
"Total Failures for " << __FILE__ <<
": " << errorCounter