summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-09-14 15:27:21 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-09-14 15:27:21 (GMT)
commit5e3ef73cc312d0d79504faa3e0adf4de9bf836c2 (patch)
treeba7d50a40f875383368200ecda5187c34887b40f /Swiften/Parser
parentc8df1f88f43b5f467cd8d3725a477c6532ce7f4d (diff)
downloadswift-contrib-5e3ef73cc312d0d79504faa3e0adf4de9bf836c2.zip
swift-contrib-5e3ef73cc312d0d79504faa3e0adf4de9bf836c2.tar.bz2
Fixed broken unit test.
Diffstat (limited to 'Swiften/Parser')
-rw-r--r--Swiften/Parser/PayloadParsers/UnitTest/StorageParserTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/Parser/PayloadParsers/UnitTest/StorageParserTest.cpp b/Swiften/Parser/PayloadParsers/UnitTest/StorageParserTest.cpp
index 384a0e9..0cd0100 100644
--- a/Swiften/Parser/PayloadParsers/UnitTest/StorageParserTest.cpp
+++ b/Swiften/Parser/PayloadParsers/UnitTest/StorageParserTest.cpp
@@ -31,7 +31,7 @@ class StorageParserTest : public CppUnit::TestFixture
Storage* payload = dynamic_cast<Storage*>(parser.getPayload().get());
std::vector<Storage::Conference> conferences = payload->getConferences();
- CPPUNIT_ASSERT_EQUAL(1U, conferences.size());
+ CPPUNIT_ASSERT_EQUAL(1, static_cast<int>(conferences.size()));
CPPUNIT_ASSERT_EQUAL(String("Council of Oberon"), conferences[0].name);
CPPUNIT_ASSERT_EQUAL(JID("council@conference.underhill.org"), conferences[0].jid);
CPPUNIT_ASSERT(conferences[0].autoJoin);
@@ -54,7 +54,7 @@ class StorageParserTest : public CppUnit::TestFixture
Storage* payload = dynamic_cast<Storage*>(parser.getPayload().get());
std::vector<Storage::Conference> conferences = payload->getConferences();
- CPPUNIT_ASSERT_EQUAL(2U, conferences.size());
+ CPPUNIT_ASSERT_EQUAL(2, static_cast<int>(conferences.size()));
CPPUNIT_ASSERT_EQUAL(String("Council of Oberon"), conferences[0].name);
CPPUNIT_ASSERT_EQUAL(JID("council@conference.underhill.org"), conferences[0].jid);
CPPUNIT_ASSERT_EQUAL(String("Tea party"), conferences[1].name);