MCPcopy Create free account
hub / github.com/PlotJuggler/PlotJuggler / pumpEventLoop

Function pumpEventLoop

pj_dialog_host/tests/panel_engine_test.cpp:49–53  ·  view source on GitHub ↗

Pump the event loop for `ms` milliseconds to let timers and queued connections fire.

Source from the content-addressed store, hash-verified

47// Pump the event loop for `ms` milliseconds to let timers and queued
48// connections fire.
49void pumpEventLoop(int ms) {
50 QEventLoop loop;
51 QTimer::singleShot(ms, &loop, &QEventLoop::quit);
52 loop.exec();
53}
54
55PJ::DialogHandle makeMockHandle() {
56 return PJ::DialogHandle(PJ_get_dialog_vtable());

Callers 1

TEST_FFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected