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

Unified Diff: remoting/protocol/client_video_dispatcher_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/channel_dispatcher_base.cc ('k') | remoting/protocol/connection_tester.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/client_video_dispatcher_unittest.cc
diff --git a/remoting/protocol/client_video_dispatcher_unittest.cc b/remoting/protocol/client_video_dispatcher_unittest.cc
index f847ef96c41fb363a02b714fe2700b3dd9ef4bcf..e26ca45d4bba9566b32911f525b6275d9525d704 100644
--- a/remoting/protocol/client_video_dispatcher_unittest.cc
+++ b/remoting/protocol/client_video_dispatcher_unittest.cc
@@ -34,6 +34,7 @@ class ClientVideoDispatcherTest : public testing::Test,
// ChannelDispatcherBase::EventHandler interface.
void OnChannelInitialized(ChannelDispatcherBase* channel_dispatcher) override;
+ void OnChannelClosed(ChannelDispatcherBase* channel_dispatcher) override;
protected:
void OnChannelError(int error);
@@ -96,6 +97,12 @@ void ClientVideoDispatcherTest::OnChannelInitialized(
initialized_ = true;
}
+void ClientVideoDispatcherTest::OnChannelClosed(
+ ChannelDispatcherBase* channel_dispatcher) {
+ // Don't expect channels to be closed.
+ FAIL();
+}
+
void ClientVideoDispatcherTest::OnChannelError(int error) {
// Don't expect channel creation to fail.
FAIL();
« no previous file with comments | « remoting/protocol/channel_dispatcher_base.cc ('k') | remoting/protocol/connection_tester.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698