MCPcopy Create free account
hub / github.com/IJHack/QtPass / executeBlockingNotFound

Method executeBlockingNotFound

tests/auto/executor/tst_executor.cpp:160–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158#endif
159
160void 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
167void tst_executor::executeBlockingWithEnvNotFound() {
168 // The env-based overload should also fail gracefully for a missing binary.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected