Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Unified Diff: remoting/host/chromoting_host_unittest.cc

Issue 10538091: [Chromoting] Make ChromotingHost's dependency on libjingle injected, instead of hard-coded. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/host/chromoting_host_unittest.cc
diff --git a/remoting/host/chromoting_host_unittest.cc b/remoting/host/chromoting_host_unittest.cc
index b2b1bae8b65a137d3cd3bea356f56f8efab6148a..0f7637446e4a4df038166fb0fe4d072d4157f87d 100644
--- a/remoting/host/chromoting_host_unittest.cc
+++ b/remoting/host/chromoting_host_unittest.cc
@@ -92,9 +92,12 @@ class ChromotingHostTest : public testing::Test {
&context_,
capturer.Pass(),
event_executor.Pass());
+ scoped_ptr<SessionManagerFactory> session_manager_factory(
+ new MockSessionManagerFactory());
host_ = new ChromotingHost(
&context_, &signal_strategy_, desktop_environment_.get(),
+ session_manager_factory.Pass(),
Wez 2012/06/11 22:17:06 Do you need to assign the Mock to a temporary, abo
simonmorris 2012/06/11 23:08:59 The mock will need more setting up when the unit t
NetworkSettings());
disconnect_window_ = new MockDisconnectWindow();

Powered by Google App Engine
This is Rietveld 408576698