MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / TimeTest

Method TimeTest

Tests/Libraries/Time/TimeTest.cpp:22–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20 inline void testHighResolutionCounterIsLaterOn();
21 inline void testRelativeTime();
22 TimeTest(SC::TestReport& report) : TestCase(report, "TimeTest")
23 {
24 if (test_section("AbsoluteTime::parseLocal"))
25 {
26 testAbsoluteParseLocal();
27 }
28 if (test_section("HighResolutionCounter::snap / subtract"))
29 {
30 testHighResolutionCounterSnap();
31 }
32 if (test_section("HighResolutionCounter::offsetBy"))
33 {
34 testHighResolutionCounterOffsetBy();
35 }
36 if (test_section("HighResolutionCounter::isLaterOnOrEqual"))
37 {
38 testHighResolutionCounterIsLaterOn();
39 }
40 if (test_section("Relative"))
41 {
42 testRelativeTime();
43 }
44 }
45};
46
47void SC::TimeTest::testAbsoluteParseLocal()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected