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

Unified Diff: remoting/protocol/connection_unittest.cc

Issue 2146213002: Add support for dynamic channels in WebrtcTransport. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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
« no previous file with comments | « remoting/protocol/connection_tester.cc ('k') | remoting/protocol/ice_connection_to_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/connection_unittest.cc
diff --git a/remoting/protocol/connection_unittest.cc b/remoting/protocol/connection_unittest.cc
index be04b6c7e1546b065414818d36cbe649ac0f3bd9..aba7ba3e1735ac60f0ac3aa887a738f8d9ef7875 100644
--- a/remoting/protocol/connection_unittest.cc
+++ b/remoting/protocol/connection_unittest.cc
@@ -100,6 +100,11 @@ class ConnectionTest : public testing::Test,
public:
ConnectionTest() {}
+ void DestroyHost() {
+ host_connection_.reset();
+ run_loop_->Quit();
+ }
+
protected:
bool is_using_webrtc() { return GetParam(); }
@@ -311,7 +316,7 @@ TEST_P(ConnectionTest, Events) {
EXPECT_CALL(host_input_stub_, InjectKeyEvent(EqualsKeyEvent(event)))
.WillOnce(QuitRunLoop(&run_loop));
- // Send capabilities from the client.
+ // Send key event from the client.
client_connection_->input_stub()->InjectKeyEvent(event);
run_loop.Run();
« no previous file with comments | « remoting/protocol/connection_tester.cc ('k') | remoting/protocol/ice_connection_to_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698