From 5e3ef73cc312d0d79504faa3e0adf4de9bf836c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Mon, 14 Sep 2009 17:27:21 +0200 Subject: Fixed broken unit test. 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(parser.getPayload().get()); std::vector conferences = payload->getConferences(); - CPPUNIT_ASSERT_EQUAL(1U, conferences.size()); + CPPUNIT_ASSERT_EQUAL(1, static_cast(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(parser.getPayload().get()); std::vector conferences = payload->getConferences(); - CPPUNIT_ASSERT_EQUAL(2U, conferences.size()); + CPPUNIT_ASSERT_EQUAL(2, static_cast(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); -- cgit v0.10.2-6-g49f6