see https://bugs.kde.org/show_bug.cgi?id=339231
| 1112 | |
| 1113 | // see https://bugs.kde.org/show_bug.cgi?id=339231 |
| 1114 | void DebuggerTestBase::testPathWithSpace() |
| 1115 | { |
| 1116 | auto* const session = createTestDebugSession(); |
| 1117 | const auto debugee = findExecutable("path with space/debuggee_spacedebugee"); |
| 1118 | TestLaunchConfiguration cfg(debugee, KIO::upUrl(debugee)); |
| 1119 | |
| 1120 | const auto* const breakpoint = breakpoints()->addCodeBreakpoint("spacedebugee.cpp:30"); |
| 1121 | QCOMPARE(breakpoint->state(), Breakpoint::NotStartedState); |
| 1122 | |
| 1123 | const ActiveStateSessionSpy sessionSpy(session); |
| 1124 | START_DEBUGGING_AND_WAIT_FOR_PAUSED_STATE_E(session, cfg, sessionSpy); |
| 1125 | QCOMPARE(breakpoint->state(), Breakpoint::CleanState); |
| 1126 | |
| 1127 | session->run(); |
| 1128 | WAIT_FOR_STATE(session, IDebugSession::EndedState); |
| 1129 | } |
| 1130 | |
| 1131 | void DebuggerTestBase::testBreakpointInSharedLibrary() |
| 1132 | { |
nothing calls this directly
no test coverage detected