MCPcopy Create free account
hub / github.com/Martchus/syncthingtray / testRunCommand

Method testRunCommand

syncthing/tests/interfacetests.cpp:288–291  ·  view source on GitHub ↗

! * \brief Tests running Syncthing command. */

Source from the content-addressed store, hash-verified

286 * \brief Tests running Syncthing command.
287 */
288void InterfaceTests::testRunCommand()
289{
290 CPPUNIT_ASSERT_EQUAL_MESSAGE("run arbitrary CLI command", 0ll, runCommand({ "--help" }));
291}
292
293/*!
294 * \brief Tests the signature verification.

Callers

nothing calls this directly

Calls 1

runCommandFunction · 0.85

Tested by

no test coverage detected