Changeset View
Changeset View
Standalone View
Standalone View
debuggers/lldb/unittests/testhelper.h
Show All 34 Lines | |||||
35 | class MIDebugSession; | 35 | class MIDebugSession; | ||
36 | 36 | | |||
37 | namespace LLDB { | 37 | namespace LLDB { | ||
38 | 38 | | |||
39 | QUrl findExecutable(const QString& name); | 39 | QUrl findExecutable(const QString& name); | ||
40 | QString findSourceFile(const char *file, const QString& name); | 40 | QString findSourceFile(const char *file, const QString& name); | ||
41 | bool isAttachForbidden(const char *file, int line); | 41 | bool isAttachForbidden(const char *file, int line); | ||
42 | 42 | | |||
43 | bool compareData(QModelIndex index, QString expected, const char *file, int line); | 43 | bool compareData(QModelIndex index, QString expected, const char *file, int line, bool useRE = false); | ||
44 | 44 | | |||
45 | bool waitForState(MIDebugSession *session, KDevelop::IDebugSession::DebuggerState state, | 45 | bool waitForState(MIDebugSession *session, KDevelop::IDebugSession::DebuggerState state, | ||
46 | const char *file, int line, bool waitForIdle = false); | 46 | const char *file, int line, bool waitForIdle = false); | ||
47 | 47 | | |||
48 | bool waitForAWhile(MIDebugSession *session, int ms, const char *file, int line); | 48 | bool waitForAWhile(MIDebugSession *session, int ms, const char *file, int line); | ||
49 | 49 | | |||
50 | class TestWaiter | 50 | class TestWaiter | ||
51 | { | 51 | { | ||
Show All 18 Lines |