MCPcopy Create free account
hub / github.com/KDAB/GammaRay / startThreadsAndWaitForFinished

Method startThreadsAndWaitForFinished

tests/test_connections.cpp:183–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181}
182
183void TestWaiter::startThreadsAndWaitForFinished()
184{
185 if (m_threads.isEmpty() && m_tester.isEmpty())
186 return;
187
188 for (TestThread *thread : std::as_const(m_threads)) {
189 thread->start();
190 }
191
192 m_loop = new QEventLoop;
193 m_loop->exec();
194 delete m_loop;
195 m_loop = nullptr;
196}
197
198// END TestWaiter
199

Callers 2

runMethod · 0.80
threadingMethod · 0.80

Calls 2

isEmptyMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected