MCPcopy Create free account
hub / github.com/KDE/kdevelop / waitForAWhile

Function waitForAWhile

plugins/debuggercommon/tests/testhelper.cpp:163–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161}
162
163bool waitForAWhile(MIDebugSession *session, int ms, const char *file, int line)
164{
165 QPointer<MIDebugSession> s(session); //session can get deleted in DebugController
166 QTest::qWait(ms);
167 if (!s) {
168 QTest::qFail("Session ended while waiting", file, line);
169 return false;
170 }
171 return true;
172}
173
174bool waitForState(MIDebugSession* session, KDevelop::IDebugSession::DebuggerState state, const char* file, int line,
175 bool waitForIdle, const ActiveStateSessionSpy* sessionSpy)

Callers 1

verifyVariableMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected