diff options
author | Ingo Klöcker <[email protected]> | 2021-12-14 10:04:03 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2021-12-14 10:04:03 +0000 |
commit | 3a43d9dc67970db323c3e49eb964d52c4eb3ac6c (patch) | |
tree | c6afd9a747334ac8361396168b01262125f20e3d /lang/qt/tests/t-support.h | |
parent | core: Allow specifiying a key origin when importing keys (diff) | |
download | gpgme-3a43d9dc67970db323c3e49eb964d52c4eb3ac6c.tar.gz gpgme-3a43d9dc67970db323c3e49eb964d52c4eb3ac6c.zip |
qt,tests: Skip WKD lookup tests by default
* lang/qt/tests/t-support.cpp, lang/qt/tests/t-support.h
(class QGpgMETest): Add member function doOnlineTests.
* lang/qt/tests/t-wkdlookup.cpp (testWKDLookupAsync, testWKDLookupSync,
testLookupWithNoResultAsync): Skip tests if online tests are not
enabled.
--
GnuPG-bug-id: 5728
Diffstat (limited to 'lang/qt/tests/t-support.h')
-rw-r--r-- | lang/qt/tests/t-support.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lang/qt/tests/t-support.h b/lang/qt/tests/t-support.h index 22ba473c..8435de5b 100644 --- a/lang/qt/tests/t-support.h +++ b/lang/qt/tests/t-support.h @@ -70,6 +70,8 @@ class QGpgMETest : public QObject { Q_OBJECT protected: + static bool doOnlineTests(); + bool copyKeyrings(const QString &from, const QString& to); public Q_SLOTS: |