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

Unified Diff: remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc

Issue 580243003: Cleanup Fake* classes in remoting/protocol (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sctp
Patch Set: Created 6 years, 3 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/message_reader_unittest.cc ('k') | remoting/remoting_test.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc
diff --git a/remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc b/remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc
index c6348da561a2aa4d2f01b37e5beeb4d80082ff74..37fee4592af59d38a3e8a89eb24ff823dc4826b4 100644
--- a/remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc
+++ b/remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc
@@ -70,8 +70,8 @@ class SslHmacChannelAuthenticatorTest : public testing::Test {
}
void RunChannelAuth(bool expected_fail) {
- client_fake_socket_.reset(new FakeSocket());
- host_fake_socket_.reset(new FakeSocket());
+ client_fake_socket_.reset(new FakeStreamSocket());
+ host_fake_socket_.reset(new FakeStreamSocket());
client_fake_socket_->PairWith(host_fake_socket_.get());
client_auth_->SecureAndAuthenticate(
@@ -131,8 +131,8 @@ class SslHmacChannelAuthenticatorTest : public testing::Test {
scoped_refptr<RsaKeyPair> key_pair_;
std::string host_cert_;
- scoped_ptr<FakeSocket> client_fake_socket_;
- scoped_ptr<FakeSocket> host_fake_socket_;
+ scoped_ptr<FakeStreamSocket> client_fake_socket_;
+ scoped_ptr<FakeStreamSocket> host_fake_socket_;
scoped_ptr<ChannelAuthenticator> client_auth_;
scoped_ptr<ChannelAuthenticator> host_auth_;
MockChannelDoneCallback client_callback_;
« no previous file with comments | « remoting/protocol/message_reader_unittest.cc ('k') | remoting/remoting_test.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698