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

Function section6Skip

tests/rigctld_test.cpp:1179–1193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1177}
1178
1179void section6Skip(Runner& r)
1180{
1181 r.section(QStringLiteral("Section 6 — PTT (skipped — pass --ptt to enable)"));
1182 for (const auto* name : {
1183 "6.0 read RFPOWER", "6.0b set RFPOWER 0.01", "6.0c confirm RFPOWER",
1184 "6.1 get_ptt baseline", "6.2 set_ptt 1", "6.3 get_ptt TX",
1185 "6.4 set_ptt 0", "6.4b get_ptt RX",
1186 "6.4c t VFOA (get_ptt, VFO-prefixed) returns 0 in RX",
1187 "6.4d T VFOA 0 (set_ptt, VFO-prefixed) returns RPRT 0",
1188 "6.5 get_dcd",
1189 "6.6 restore RFPOWER", "6.6b confirm RFPOWER restored",
1190 "6.S safety: PTT 0 after 2-s watch",
1191 })
1192 r.skip(QLatin1String(name), QStringLiteral("--ptt not set"));
1193}
1194
1195// ═════════════════════════════════════════════════════════════════════════════
1196// Section 7 — Levels

Callers 1

mainFunction · 0.85

Calls 2

sectionMethod · 0.45
skipMethod · 0.45

Tested by

no test coverage detected