MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / TEST

Function TEST

tests/stress-tests/dds/DCPS/DispatchService.cpp:86–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84} // (anonymous) namespace
85
86TEST(dds_DCPS_DispatchService, RecursiveDispatchDelta)
87{
88 OpenDDS::DCPS::DispatchService dispatcher(8);
89 RecursiveTestObjTwo test_obj(dispatcher, 2);
90
91 dispatcher.dispatch(test_obj);
92
93 test_obj.wait(100000u);
94 test_obj.dispatch_scale_ = 0;
95 dispatcher.shutdown();
96
97 EXPECT_GE(test_obj.call_count(), 100000u);
98}
99
100TEST(dds_DCPS_DispatchService, RecursiveDispatchDelta_ImmediateShutdown)
101{

Callers

nothing calls this directly

Calls 4

dispatchMethod · 0.45
waitMethod · 0.45
shutdownMethod · 0.45
call_countMethod · 0.45

Tested by

no test coverage detected