diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-04-04 13:15:49 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-04-04 13:15:49 (GMT) |
commit | 48bd1cb6af499732d545199a5f45177537295017 (patch) | |
tree | 5697153524913e5cee2f4958eab573fa48967a95 /Swift/Controllers | |
parent | f1675c651a08c294447389176262ab890cc6e7b5 (diff) | |
download | swift-48bd1cb6af499732d545199a5f45177537295017.zip swift-48bd1cb6af499732d545199a5f45177537295017.tar.bz2 |
Fix unit test
Diffstat (limited to 'Swift/Controllers')
-rw-r--r-- | Swift/Controllers/Chat/UnitTest/ChatsManagerTest.cpp | 1 |
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_); |