diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-09-14 15:27:21 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-09-14 15:27:21 (GMT) |
commit | 5e3ef73cc312d0d79504faa3e0adf4de9bf836c2 (patch) | |
tree | ba7d50a40f875383368200ecda5187c34887b40f /Swiften/Parser/PayloadParsers/UnitTest | |
parent | c8df1f88f43b5f467cd8d3725a477c6532ce7f4d (diff) | |
download | swift-5e3ef73cc312d0d79504faa3e0adf4de9bf836c2.zip swift-5e3ef73cc312d0d79504faa3e0adf4de9bf836c2.tar.bz2 |
Fixed broken unit test.
Diffstat (limited to 'Swiften/Parser/PayloadParsers/UnitTest')
-rw-r--r-- | Swiften/Parser/PayloadParsers/UnitTest/StorageParserTest.cpp | 4 |
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); |