MCPcopy Create free account
hub / github.com/aethersdr/AetherSDR / report

Function report

tests/device_diagnostics_test.cpp:15–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13int g_failed = 0;
14
15void report(const char* name, bool ok, const std::string& detail = {})
16{
17 std::printf("%s %-48s %s\n",
18 ok ? "[ OK ]" : "[FAIL]",
19 name,
20 detail.c_str());
21 if (!ok) ++g_failed;
22}
23
24void expectBus(const char* name, const QString& description, const QByteArray& id, const QString& expected)
25{

Callers 1

expectBusFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected