| 158 | #endif |
| 159 | |
| 160 | void tst_executor::executeBlockingNotFound() { |
| 161 | QString output; |
| 162 | int result = Executor::executeBlocking("nonexistent_command_xyz", {}, |
| 163 | QString(), &output); |
| 164 | QVERIFY2(result != 0, "nonexistent should fail"); |
| 165 | } |
| 166 | |
| 167 | void tst_executor::executeBlockingWithEnvNotFound() { |
| 168 | // The env-based overload should also fail gracefully for a missing binary. |
nothing calls this directly
no outgoing calls
no test coverage detected