Branch 'libkolabxml-0.8' - tests/bindingstest.cpp

Christian Mollekopf mollekopf at kolabsys.com
Mon Apr 15 16:31:13 CEST 2013


 tests/bindingstest.cpp |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 05022b34c7db441e65b8593a99a4bcba27821094
Author: Christian Mollekopf <mollekopf at kolabsys.com>
Date:   Mon Apr 15 16:31:04 2013 +0200

    Fixed unittest.

diff --git a/tests/bindingstest.cpp b/tests/bindingstest.cpp
index c639ab0..c48929c 100644
--- a/tests/bindingstest.cpp
+++ b/tests/bindingstest.cpp
@@ -571,7 +571,6 @@ void BindingsTest::contactCompletness()
     emails.push_back(Kolab::Email("email2 at example.org", Kolab::Email::Work));
     emails.push_back(Kolab::Email("email3 at example.org", Kolab::Email::Work|Kolab::Email::Home));
     c.setEmailAddressesWithType(emails,1);
-    c.setEmailAddresses(stringlist,1);
     c.setTitles(stringlist);
     
     std::vector<Kolab::Affiliation> list;
@@ -676,7 +675,6 @@ void BindingsTest::contactCompletness()
     QCOMPARE(e.imAddresses(), c.imAddresses());
     QCOMPARE(e.imAddressPreferredIndex(), c.imAddressPreferredIndex());
     QCOMPARE(e.emailAddressesWithType(), c.emailAddressesWithType());
-    QCOMPARE(e.emailAddresses(), c.emailAddresses());
     QCOMPARE(e.emailAddressPreferredIndex(), c.emailAddressPreferredIndex());
     QCOMPARE(e.gpsPos(), c.gpsPos());
     QCOMPARE(e.keys(), c.keys());





More information about the commits mailing list