MCPcopy Create free account
hub / github.com/comaps/comaps / UNIT_TEST

Function UNIT_TEST

libs/base/base_tests/thread_pool_delayed_tests.cpp:16–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14using namespace std;
15
16UNIT_TEST(ThreadPoolDelayed_Smoke)
17{
18 {
19 DelayedThreadPool thread;
20 }
21
22 {
23 DelayedThreadPool thread;
24 TEST(thread.Shutdown(DelayedThreadPool::Exit::SkipPending), ());
25 }
26
27 {
28 DelayedThreadPool thread;
29 TEST(thread.Shutdown(DelayedThreadPool::Exit::ExecPending), ());
30 }
31}
32
33UNIT_TEST(ThreadPoolDelayed_SimpleSync)
34{

Callers

nothing calls this directly

Calls 10

TESTFunction · 0.85
WaitFunction · 0.85
NotifyFunction · 0.85
waitMethod · 0.80
NowMethod · 0.80
PushDelayedMethod · 0.80
getMethod · 0.65
ShutdownMethod · 0.45
PushMethod · 0.45
CancelMethod · 0.45

Tested by

no test coverage detected