[Pkg-gnupg-commit] [gpgme] 34/132: qt: Use QVERIFY instead of Q_ASSERT in conf test
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Wed Apr 26 01:01:19 UTC 2017
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch experimental
in repository gpgme.
commit abfd241d1a1ae8e30e18b7c5e0658b8c54d89544
Author: Andre Heinecke <aheinecke at intevation.de>
Date: Mon Jan 16 14:16:20 2017 +0100
qt: Use QVERIFY instead of Q_ASSERT in conf test
* lang/qt/tests/t-config.cpp: Use QVERIFY instead of Q_ASSERT.
---
lang/qt/tests/t-config.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lang/qt/tests/t-config.cpp b/lang/qt/tests/t-config.cpp
index 046147c..0a7df22 100644
--- a/lang/qt/tests/t-config.cpp
+++ b/lang/qt/tests/t-config.cpp
@@ -54,11 +54,11 @@ private Q_SLOTS:
// unit test.
for (int i = 0; i < 10; i++) {
auto conf = cryptoConfig();
- Q_ASSERT (conf);
+ QVERIFY(conf);
auto entry = conf->entry(QStringLiteral("gpg"),
QStringLiteral("Keyserver"),
QStringLiteral("keyserver"));
- Q_ASSERT(entry);
+ QVERIFY(entry);
const QString url(QStringLiteral("hkp://foo.bar.baz"));
entry->setStringValue(url);
conf->sync(false);
@@ -82,7 +82,7 @@ private Q_SLOTS:
QGpgMETest::initTestCase();
const QString gpgHome = qgetenv("GNUPGHOME");
qputenv("GNUPGHOME", mDir.path().toUtf8());
- Q_ASSERT(mDir.isValid());
+ QVERIFY(mDir.isValid());
}
private:
QTemporaryDir mDir;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gpgme.git
More information about the Pkg-gnupg-commit
mailing list