From 02babb29612d554c37b63a49f78acc45653b557e Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Mon, 11 Jul 2016 12:01:35 +0200 Subject: [PATCH] Qt: Disable t-tofuinfo tests * lang/qt/tests/t-tofuinfo.cpp: Disable tests. -- Even with the wait this test could fail and anyway the delay was not nice. So we remove the wait hack and just wait for the bug (2405) to be fixed in GnuPG or GpgME core. --- lang/qt/tests/t-tofuinfo.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lang/qt/tests/t-tofuinfo.cpp b/lang/qt/tests/t-tofuinfo.cpp index a27dd93d..f9634b28 100644 --- a/lang/qt/tests/t-tofuinfo.cpp +++ b/lang/qt/tests/t-tofuinfo.cpp @@ -100,14 +100,12 @@ class TofuInfoTest: public QObject Q_ASSERT(!strcmp(stats.fingerprint(), sig.fingerprint())); Q_ASSERT(stats.signCount() == expected); } - /* FIXME: GnuPG-Bug-Id 2405 makes the wait necessary. */ - QTest::qWait(1000); } private: QTemporaryDir mDir; -private Q_SLOTS: +private /* FIXME Disabled until GnuPG-Bug-Id 2405 is fixed Q_SLOTS */: void testTofuNull() { TofuInfo tofu; @@ -156,8 +154,6 @@ private Q_SLOTS: /* Another verify */ - /* FIXME: GnuPG-Bug-Id 2405 makes the wait necessary. */ - QTest::qWait(1000); job = openpgp()->verifyOpaqueJob(true); result = job->exec(data1, plaintext);