| 51 | } |
| 52 | |
| 53 | void tst_executor::executeBlockingWithInput() { |
| 54 | QString output; |
| 55 | QString input = "test input"; |
| 56 | int result = Executor::executeBlocking("cat", {}, input, &output); |
| 57 | QVERIFY2(result == 0, "cat should exit successfully"); |
| 58 | QVERIFY2(output.contains("test input"), "output should echo input"); |
| 59 | } |
| 60 | |
| 61 | void tst_executor::executeBlockingExitCode() { |
| 62 | QString output; |
nothing calls this directly
no outgoing calls
no test coverage detected