From 3a43d9dc67970db323c3e49eb964d52c4eb3ac6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingo=20Kl=C3=B6cker?= Date: Tue, 14 Dec 2021 11:04:03 +0100 Subject: 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 --- lang/qt/tests/t-support.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lang/qt/tests/t-support.h') 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: -- cgit v1.2.3