[Pkg-gnupg-commit] [gpgme] 330/412: qt: Fix tofu test.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Thu Sep 22 21:27:13 UTC 2016


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch master
in repository gpgme.

commit 7b9e6ea376d04fb4694ed22369abaae92ce3ec86
Author: Justus Winter <justus at g10code.com>
Date:   Mon Sep 12 10:11:44 2016 +0200

    qt: Fix tofu test.
    
    * lang/qt/tests/t-tofuinfo.cpp: Adjust member names.
    
    Fixes-commit: 120b1478
    Signed-off-by: Justus Winter <justus at g10code.com>
---
 lang/qt/tests/t-tofuinfo.cpp | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/lang/qt/tests/t-tofuinfo.cpp b/lang/qt/tests/t-tofuinfo.cpp
index 5646f70..2e1f1f8 100644
--- a/lang/qt/tests/t-tofuinfo.cpp
+++ b/lang/qt/tests/t-tofuinfo.cpp
@@ -69,7 +69,7 @@ class TofuInfoTest: public QGpgMETest
     {
         Q_ASSERT(!orig.isNull());
         Q_ASSERT(!other.isNull());
-        Q_ASSERT(orig.lastSeen() == other.lastSeen());
+        Q_ASSERT(orig.signLast() == other.signLast());
         Q_ASSERT(orig.signCount() == other.signCount());
         Q_ASSERT(orig.validity() == other.validity());
         Q_ASSERT(orig.policy() == other.policy());
@@ -132,8 +132,8 @@ private Q_SLOTS:
         Q_ASSERT(tofu.isNull());
         Q_ASSERT(!tofu.description());
         Q_ASSERT(!tofu.signCount());
-        Q_ASSERT(!tofu.lastSeen());
-        Q_ASSERT(!tofu.firstSeen());
+        Q_ASSERT(!tofu.signLast());
+        Q_ASSERT(!tofu.signFirst());
         Q_ASSERT(tofu.validity() == TofuInfo::ValidityUnknown);
         Q_ASSERT(tofu.policy() == TofuInfo::PolicyUnknown);
     }
@@ -164,7 +164,7 @@ private Q_SLOTS:
         Q_ASSERT(sig.key().primaryFingerprint());
         Q_ASSERT(sig.fingerprint());
         Q_ASSERT(!strcmp(sig.key().primaryFingerprint(), sig.fingerprint()));
-        Q_ASSERT(stats.firstSeen() == stats.lastSeen());
+        Q_ASSERT(stats.signFirst() == stats.signLast());
         Q_ASSERT(stats.signCount() == 1);
         Q_ASSERT(stats.policy() == TofuInfo::PolicyAuto);
         Q_ASSERT(stats.validity() == TofuInfo::LittleHistory);
@@ -188,7 +188,7 @@ private Q_SLOTS:
         stats = sig.key().userID(0).tofuInfo();
         Q_ASSERT(!stats.isNull());
         Q_ASSERT(!strcmp(sig.key().primaryFingerprint(), sig.fingerprint()));
-        Q_ASSERT(stats.firstSeen() == stats.lastSeen());
+        Q_ASSERT(stats.signFirst() == stats.signLast());
         Q_ASSERT(stats.signCount() == 1);
         Q_ASSERT(stats.policy() == TofuInfo::PolicyAuto);
         Q_ASSERT(stats.validity() == TofuInfo::LittleHistory);
@@ -209,7 +209,7 @@ private Q_SLOTS:
         stats = sig.key().userID(0).tofuInfo();
         Q_ASSERT(!stats.isNull());
         Q_ASSERT(!strcmp(sig.key().primaryFingerprint(), sig.fingerprint()));
-        Q_ASSERT(stats.firstSeen() == stats.lastSeen());
+        Q_ASSERT(stats.signFirst() == stats.signLast());
         Q_ASSERT(stats.signCount() == 1);
         Q_ASSERT(stats.policy() == TofuInfo::PolicyAuto);
         Q_ASSERT(stats.validity() == TofuInfo::LittleHistory);

-- 
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