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

Unified Diff: remoting/protocol/webrtc_transport_unittest.cc

Issue 2808283002: Improve tests for Mixed-Case JIDs. (Closed)
Patch Set: fix tests Created 3 years, 8 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/jingle_session_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/webrtc_transport_unittest.cc
diff --git a/remoting/protocol/webrtc_transport_unittest.cc b/remoting/protocol/webrtc_transport_unittest.cc
index a2200c03cff9380d4f97d92415c7caea48412b1e..fc0b96b2f95e92891d5fdb8ba35c6a26dbc74ac4 100644
--- a/remoting/protocol/webrtc_transport_unittest.cc
+++ b/remoting/protocol/webrtc_transport_unittest.cc
@@ -183,16 +183,15 @@ class WebrtcTransportTest : public testing::Test {
new WebrtcTransport(jingle_glue::JingleThreadWrapper::current(),
TransportContext::ForTests(TransportRole::SERVER),
&host_event_handler_));
- host_authenticator_.reset(new FakeAuthenticator(
- FakeAuthenticator::HOST, 0, FakeAuthenticator::ACCEPT, false));
+ host_authenticator_.reset(new FakeAuthenticator(FakeAuthenticator::ACCEPT));
host_authenticator_->set_auth_key(kAuthKey);
client_transport_.reset(
new WebrtcTransport(jingle_glue::JingleThreadWrapper::current(),
TransportContext::ForTests(TransportRole::CLIENT),
&client_event_handler_));
- client_authenticator_.reset(new FakeAuthenticator(
- FakeAuthenticator::CLIENT, 0, FakeAuthenticator::ACCEPT, false));
+ client_authenticator_.reset(
+ new FakeAuthenticator(FakeAuthenticator::ACCEPT));
client_authenticator_->set_auth_key(kAuthKey);
}
« no previous file with comments | « remoting/protocol/jingle_session_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698