MCPcopy Create free account
hub / github.com/MailCore/mailcore2 / referenceDate

Function referenceDate

unittest/unittest.cpp:11–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9static int global_success = 0;
10
11static time_t referenceDate(void)
12{
13 struct tm aTm;
14 memset(&aTm, 0, sizeof(aTm));
15 aTm.tm_sec = 0;
16 aTm.tm_min = 0;
17 aTm.tm_hour = 16;
18 aTm.tm_mday = 31;
19 aTm.tm_mon = 11;
20 aTm.tm_year = 2000 - 1900;
21 time_t date = mktime(&aTm);
22 return date;
23}
24
25static void testMessageBuilder1(String * path)
26{

Callers 4

testMessageBuilder1Function · 0.85
testMessageBuilder2Function · 0.85
testMessageBuilder3Function · 0.85
prepareHeaderForUnitTestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected