main.cpp : Added time::test().

This commit is contained in:
kevin.larke 2020-04-18 09:00:08 -04:00
parent 4d1d4b3fa3
commit a7b511b1cf

View File

@ -185,6 +185,7 @@ void objectTest( cw::object_t* cfg, int argc, const char* argv[] )
o->free(); o->free();
} }
void timeTest( cw::object_t* cfg, int argc, const char* argv[] ) { cw::time::test(); }
void threadTest( cw::object_t* cfg, int argc, const char* argv[] ) { cw::threadTest(); } void threadTest( cw::object_t* cfg, int argc, const char* argv[] ) { cw::threadTest(); }
void spscBuf( cw::object_t* cfg, int argc, const char* argv[] ) { cw::spsc_buf::test(); } void spscBuf( cw::object_t* cfg, int argc, const char* argv[] ) { cw::spsc_buf::test(); }
void websockSrvTest( cw::object_t* cfg, int argc, const char* argv[] ) { cw::websockSrvTest(); } void websockSrvTest( cw::object_t* cfg, int argc, const char* argv[] ) { cw::websockSrvTest(); }
@ -413,6 +414,7 @@ int main( int argc, const char* argv[] )
{ "fileSys", fileSysTest }, { "fileSys", fileSysTest },
{ "numbCvt", numbCvtTest }, { "numbCvt", numbCvtTest },
{ "object", objectTest }, { "object", objectTest },
{ "time", timeTest },
{ "thread", threadTest }, { "thread", threadTest },
{ "spscBuf", spscBuf }, { "spscBuf", spscBuf },
{ "websockSrv", websockSrvTest }, { "websockSrv", websockSrvTest },
@ -435,6 +437,7 @@ int main( int argc, const char* argv[] )
{ "eucon", euConTest }, { "eucon", euConTest },
{ "dirEntry", dirEntryTest }, { "dirEntry", dirEntryTest },
{ "io", ioTest }, { "io", ioTest },
{ "stub", stubTest }, { "stub", stubTest },
{ nullptr, nullptr } { nullptr, nullptr }
}; };