summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-04-04 13:15:49 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-04-04 13:15:49 (GMT)
commit48bd1cb6af499732d545199a5f45177537295017 (patch)
tree5697153524913e5cee2f4958eab573fa48967a95 /Swift/Controllers/Chat
parentf1675c651a08c294447389176262ab890cc6e7b5 (diff)
downloadswift-contrib-48bd1cb6af499732d545199a5f45177537295017.zip
swift-contrib-48bd1cb6af499732d545199a5f45177537295017.tar.bz2
Fix unit test
Diffstat (limited to 'Swift/Controllers/Chat')
-rw-r--r--Swift/Controllers/Chat/UnitTest/ChatsManagerTest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/Controllers/Chat/UnitTest/ChatsManagerTest.cpp b/Swift/Controllers/Chat/UnitTest/ChatsManagerTest.cpp
index acc96db..bcae52b 100644
--- a/Swift/Controllers/Chat/UnitTest/ChatsManagerTest.cpp
+++ b/Swift/Controllers/Chat/UnitTest/ChatsManagerTest.cpp
@@ -56,6 +56,7 @@ public:
presenceSender_ = NULL;
uiEventStream_ = new UIEventStream();
chatListWindowFactory_ = mocks_->InterfaceMock<ChatListWindowFactory>();
+ mocks_->ExpectCall(chatListWindowFactory_, ChatListWindowFactory::createWindow).With(uiEventStream_).Return(NULL);
manager_ = new ChatsManager(jid_, stanzaChannel_, iqRouter_, eventController_, chatWindowFactory_, treeWidgetFactory_, nickResolver_, presenceOracle_, serverDiscoInfo_, presenceSender_, uiEventStream_, chatListWindowFactory_);
avatarManager_ = new MockAvatarManager();
manager_->setAvatarManager(avatarManager_);