diff options
author | Andre Heinecke <[email protected]> | 2017-01-11 15:20:31 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2017-01-11 15:20:31 +0000 |
commit | 56926c9b5012e8135541a933af1d69c5a81f02b3 (patch) | |
tree | 76c854dd686084103c5d35ce4e56c95c23bb544d /lang/qt/tests/t-verify.cpp | |
parent | qt: Add test for uid functions (diff) | |
download | gpgme-56926c9b5012e8135541a933af1d69c5a81f02b3.tar.gz gpgme-56926c9b5012e8135541a933af1d69c5a81f02b3.zip |
qt: Clean up test dirs on failure
* t-encrypt.cpp,
t-keylist.cpp,
t-keylocate.cpp,
t-ownertrust.cpp,
t-tofuinfo.cpp,
t-various.cpp,
t-verify.cpp,
t-wkspublish.cpp: Use QVERIFY instead of Q_ASSERT
Diffstat (limited to 'lang/qt/tests/t-verify.cpp')
-rw-r--r-- | lang/qt/tests/t-verify.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lang/qt/tests/t-verify.cpp b/lang/qt/tests/t-verify.cpp index aedfc19a..7caed28f 100644 --- a/lang/qt/tests/t-verify.cpp +++ b/lang/qt/tests/t-verify.cpp @@ -70,14 +70,14 @@ private Q_SLOTS: QByteArray verified; auto result = verifyJob->exec(signedData, verified); - Q_ASSERT(!result.error()); + QVERIFY(!result.error()); delete verifyJob; - Q_ASSERT(result.numSignatures() == 1); + QVERIFY(result.numSignatures() == 1); auto sig = result.signatures()[0]; const auto key = sig.key(true, false); - Q_ASSERT(!key.isNull()); + QVERIFY(!key.isNull()); bool found = false; for (const auto subkey: key.subkeys()) { @@ -85,7 +85,7 @@ private Q_SLOTS: found = true; } } - Q_ASSERT(found); + QVERIFY(found); } }; |