| 43 | |
| 44 | private slots: |
| 45 | static void testNonExistingTarget() |
| 46 | { |
| 47 | LaunchOptions options; |
| 48 | #ifdef Q_OS_MAC |
| 49 | // older OSX versions fall back to lldb by default, which has no synchronous error reporting, see below test |
| 50 | options.setInjectorType("preload"); |
| 51 | #endif |
| 52 | options.setUiMode(LaunchOptions::NoUi); |
| 53 | options.setProbeABI(ProbeFinder::listProbeABIs().at(0)); |
| 54 | options.setWorkingDirectory(QCoreApplication::applicationDirPath()); |
| 55 | options.setLaunchArguments(QStringList() << QStringLiteral("I_DONT_EXIST")); |
| 56 | options.setProbeSetting(QStringLiteral("ServerAddress"), GAMMARAY_DEFAULT_LOCAL_TCP_URL); |
| 57 | Launcher launcher(options); |
| 58 | QVERIFY(!launcher.start()); |
| 59 | } |
| 60 | |
| 61 | void testNonExistingTargetDebugger_data() |
| 62 | { |
nothing calls this directly
no test coverage detected