diff options
| author | Christoph Berg <myon@debian.org> | 2026-09-26 23:24:28 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2026-09-26 23:24:28 +0200 |
| commit | 69344560ea394c06ca94acac46a2e4c3e8b7b229 (patch) | |
| tree | ebc98370a697a9bbd6b973a14fa5113c475c6db7 /tests/test_http_user_agent.cpp | |
| parent | 3e9d10a67671d0bd5c7b8c3ca8088f1818322eff (diff) | |
| parent | 059831534c7e884f0a607ed86b582fd00d821731 (diff) | |
Update upstream source from tag 'upstream/3.2.0_rc1+dfsg'
Update to upstream version '3.2.0~rc1+dfsg'
with Debian dir dbff457fd2c3616d5c77b863c7bfb2186ed86047
Diffstat (limited to 'tests/test_http_user_agent.cpp')
| -rw-r--r-- | tests/test_http_user_agent.cpp | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/tests/test_http_user_agent.cpp b/tests/test_http_user_agent.cpp deleted file mode 100644 index 0bc09ea1..00000000 --- a/tests/test_http_user_agent.cpp +++ /dev/null @@ -1,33 +0,0 @@ -#include <QtTest> - -#include "revision_utils.hpp" - -class TestHttpUserAgent final - : public QObject -{ - Q_OBJECT - -private Q_SLOTS: - void includesApplicationIdentityAndPlatformContext () - { - auto const user_agent = http_user_agent (); - - QVERIFY (user_agent.startsWith ("WSJT-X/")); - QVERIFY (user_agent.contains (version ())); - - auto const build_revision = revision (); - if (!build_revision.isEmpty ()) - { - QVERIFY (user_agent.contains ("_" + build_revision)); - } - - QVERIFY (user_agent.contains ('(')); - QVERIFY (user_agent.contains (')')); - QVERIFY (!user_agent.contains ('\n')); - QVERIFY (!user_agent.contains ('\r')); - } -}; - -QTEST_GUILESS_MAIN (TestHttpUserAgent) - -#include "test_http_user_agent.moc" |
