summaryrefslogtreecommitdiff
path: root/JttyTxLoopbackTestController.hpp
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2026-10-20 22:35:06 +0100
committerDave Hibberd <hibby@debian.org>2026-10-20 22:35:06 +0100
commit82ebb1ed1af30cee4dfbb1c628431d32885a00e0 (patch)
tree1a1f782d3e576b758be0bc61171574a7cd8f2376 /JttyTxLoopbackTestController.hpp
parent061658210acb6425517733ea012dda803a7f72a1 (diff)
parent61d684922b0f1c8455cc60eb3d123df058c9e1f5 (diff)
Merge tag 'debian/3.3.0_beta2+dfsg-1' into hibbian/trixie-backports
tagging wsjtx 3.3.0~beta2+dfsg-1
Diffstat (limited to 'JttyTxLoopbackTestController.hpp')
-rw-r--r--JttyTxLoopbackTestController.hpp19
1 files changed, 18 insertions, 1 deletions
diff --git a/JttyTxLoopbackTestController.hpp b/JttyTxLoopbackTestController.hpp
index 69e43c8f..cc167c18 100644
--- a/JttyTxLoopbackTestController.hpp
+++ b/JttyTxLoopbackTestController.hpp
@@ -5,6 +5,7 @@
#include <QObject>
#include <QSet>
#include <QString>
+#include <QStringList>
#include <QTimer>
#include <QVector>
@@ -27,11 +28,15 @@ public:
private:
static QString contestExchangeMessage ();
- static QString adjacentStructuredFramesMessage ();
+ static QStringList longMessageSegments ();
+ static QString unsentDraft ();
static qint64 encodedSampleFrames (QString const& message);
void prepareWhenReady ();
void submitSecondMessage ();
+ void observeTransmittedDisplay ();
+ bool verifyCancellationPaths ();
void maybeFinish ();
+ bool verifyModeControlsEnabled (bool expected, QString * error) const;
bool validateCapture (QString * error) const;
void fail (QString const& reason);
void checkForUnexpectedModal ();
@@ -41,13 +46,18 @@ private:
QString m_capturePath;
QSet<qint64> m_acceptedRequests;
QSet<qint64> m_completedRequests;
+ QSet<qint64> m_cancelledRequests;
QVector<qint64> m_acceptedOrder;
QVector<qint64> m_completedOrder;
+ QVector<qint64> m_displayedFrames;
+ QVector<qint64> m_segmentEndFrames;
+ QString m_displayError;
QTimer m_timeout;
QTimer m_prepareTimer;
QTimer m_modalTimer;
qint64 m_firstRequestId {0};
qint64 m_secondRequestId {0};
+ qint64 m_modeChangeProbeId {0};
qint64 m_capturedFrames {0};
qint64 m_expectedAudioFrames {0};
qint64 m_firstNonSilentFrame {0};
@@ -55,7 +65,14 @@ private:
int m_captureStopCount {0};
int m_sessionDrainCount {0};
bool m_prepared {false};
+ bool m_modeChangeProbeStarted {false};
+ bool m_modeChangeProbeComplete {false};
+ bool m_modeChangeProbeSwitching {false};
+ bool m_submittingModeChangeProbe {false};
+ bool m_modeChangeProbeUnavailable {false};
bool m_nonSilentAudioSeen {false};
+ bool m_checkingCancellation {false};
+ bool m_cancellationChecked {false};
bool m_finished {false};
bool m_succeeded {false};
};