[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: =?utf-8?q?=5Bkdepimlibs=5D_syndication/tests=3A_fix_test_case=3A?=
From: Frank Osterfeld <frank.osterfeld () kdab ! com>
Date: 2011-03-21 20:42:51
Message-ID: 20110321204251.67246A60A9 () git ! kde ! org
[Download RAW message or body]
Git commit 176c5c0f5bed4f46ba692da69b36036bd825bc0c by Frank Osterfeld.
Committed on 21/03/2011 at 21:38.
Pushed by osterfeld into branch 'master'.
fix test case: compare attributes, not debug output
M +4 -1 syndication/tests/testpersonimpl.cpp
http://commits.kde.org/kdepimlibs/176c5c0f5bed4f46ba692da69b36036bd825bc0c
diff --git a/syndication/tests/testpersonimpl.cpp b/syndication/tests/testpersonimpl.cpp
index e3ee103..b0d14f2 100644
--- a/syndication/tests/testpersonimpl.cpp
+++ b/syndication/tests/testpersonimpl.cpp
@@ -90,7 +90,10 @@ void TestPersonImpl::fromString()
while (it != end)
{
PersonPtr q(Syndication::personFromString(*it));
- QCOMPARE(q->debugInfo(), (*pit)->debugInfo());
+ QCOMPARE(q->name(), (*pit)->name());
+ QCOMPARE(q->email(), (*pit)->email());
+ QCOMPARE(q->uri(), (*pit)->uri());
+
++it;
++pit;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic