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.
This commit is contained in:
parent
de74fe59fe
commit
02babb2961
@ -100,14 +100,12 @@ class TofuInfoTest: public QObject
|
|||||||
Q_ASSERT(!strcmp(stats.fingerprint(), sig.fingerprint()));
|
Q_ASSERT(!strcmp(stats.fingerprint(), sig.fingerprint()));
|
||||||
Q_ASSERT(stats.signCount() == expected);
|
Q_ASSERT(stats.signCount() == expected);
|
||||||
}
|
}
|
||||||
/* FIXME: GnuPG-Bug-Id 2405 makes the wait necessary. */
|
|
||||||
QTest::qWait(1000);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QTemporaryDir mDir;
|
QTemporaryDir mDir;
|
||||||
|
|
||||||
private Q_SLOTS:
|
private /* FIXME Disabled until GnuPG-Bug-Id 2405 is fixed Q_SLOTS */:
|
||||||
void testTofuNull()
|
void testTofuNull()
|
||||||
{
|
{
|
||||||
TofuInfo tofu;
|
TofuInfo tofu;
|
||||||
@ -156,8 +154,6 @@ private Q_SLOTS:
|
|||||||
|
|
||||||
/* Another verify */
|
/* Another verify */
|
||||||
|
|
||||||
/* FIXME: GnuPG-Bug-Id 2405 makes the wait necessary. */
|
|
||||||
QTest::qWait(1000);
|
|
||||||
job = openpgp()->verifyOpaqueJob(true);
|
job = openpgp()->verifyOpaqueJob(true);
|
||||||
result = job->exec(data1, plaintext);
|
result = job->exec(data1, plaintext);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user