aboutsummaryrefslogtreecommitdiffstats
path: root/lang/qt/tests
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2016-07-11 10:01:35 +0000
committerAndre Heinecke <[email protected]>2016-07-11 10:03:16 +0000
commit02babb29612d554c37b63a49f78acc45653b557e (patch)
tree5e057fb8b53ed4a662c43c7d47387c1c6e6bbc13 /lang/qt/tests
parentsrc: Fix error handling. (diff)
downloadgpgme-02babb29612d554c37b63a49f78acc45653b557e.tar.gz
gpgme-02babb29612d554c37b63a49f78acc45653b557e.zip
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.
Diffstat (limited to 'lang/qt/tests')
-rw-r--r--lang/qt/tests/t-tofuinfo.cpp6
1 files changed, 1 insertions, 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);