summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2009-11-09 08:14:56 (GMT)
committerKevin Smith <git@kismith.co.uk>2009-11-09 08:14:56 (GMT)
commitfcfac59db5cb4503554f2b30854b2e91928296f6 (patch)
tree98c64156cc6f741241db9f5a02cba7a5a691fb6c /Swift/Controllers/UnitTest
parente77d80d9258699295ad793a8a94e369be5e31a36 (diff)
downloadswift-contrib-fcfac59db5cb4503554f2b30854b2e91928296f6.zip
swift-contrib-fcfac59db5cb4503554f2b30854b2e91928296f6.tar.bz2
Trivial test of RosterController
Diffstat (limited to 'Swift/Controllers/UnitTest')
-rw-r--r--Swift/Controllers/UnitTest/RosterControllerTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/UnitTest/RosterControllerTest.cpp b/Swift/Controllers/UnitTest/RosterControllerTest.cpp
index 84a1063..0296cdc 100644
--- a/Swift/Controllers/UnitTest/RosterControllerTest.cpp
+++ b/Swift/Controllers/UnitTest/RosterControllerTest.cpp
@@ -53,7 +53,7 @@ class RosterControllerTest : public CppUnit::TestFixture
groups.push_back("testGroup2");
xmppRoster_->addContact(JID("test@testdomain.com/bob"), "name", groups);
- //CPPUNIT_ASSERT(treeWidgetFactory_->);
+ CPPUNIT_ASSERT_EQUAL(2, (int)treeWidgetFactory_->getGroups().size());
//CPPUNIT_ASSERT_EQUAL(String("Bob"), xmppRoster_->getNameForJID(JID("foo@bar.com")));
};