[git] GPGME - branch, master, updated. gpgme-1.6.0-330-g7b9e6ea

by Justus Winter cvs at cvs.gnupg.org
Mon Sep 12 10:27:35 CEST 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GnuPG Made Easy".

The branch, master has been updated
       via  7b9e6ea376d04fb4694ed22369abaae92ce3ec86 (commit)
      from  120b14783c0312d782dc08ce4949a6209d5ccc7b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

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

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

-----------------------------------------------------------------------

Summary of changes:
 lang/qt/tests/t-tofuinfo.cpp | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
GnuPG Made Easy
http://git.gnupg.org




More information about the Gnupg-commits mailing list