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

Unified Diff: remoting/test/test_chromoting_client_unittest.cc

Issue 2542343004: Updating the Chromoting Test Driver to target the test environment (Closed)
Patch Set: Addressing feedback Created 4 years 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/test/test_chromoting_client.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/test/test_chromoting_client_unittest.cc
diff --git a/remoting/test/test_chromoting_client_unittest.cc b/remoting/test/test_chromoting_client_unittest.cc
index d39c8647fc0ac74f11d268a7e2258baa62f2272e..29a242ad7c78168345d2ec26f346697333fa8cef 100644
--- a/remoting/test/test_chromoting_client_unittest.cc
+++ b/remoting/test/test_chromoting_client_unittest.cc
@@ -109,7 +109,7 @@ void TestChromotingClientTest::ConnectionReady(bool ready) {
}
TEST_F(TestChromotingClientTest, StartConnectionAndDisconnect) {
- test_chromoting_client_->StartConnection(connection_setup_info_);
+ test_chromoting_client_->StartConnection(false, connection_setup_info_);
EXPECT_EQ(protocol::ConnectionToHost::State::CONNECTING, connection_state_);
EXPECT_EQ(protocol::OK, error_code_);
EXPECT_FALSE(is_connected_to_host_);
@@ -142,7 +142,7 @@ TEST_F(TestChromotingClientTest, StartConnectionAndDisconnect) {
TEST_F(TestChromotingClientTest,
StartConnectionThenFailWithAuthenticationError) {
- test_chromoting_client_->StartConnection(connection_setup_info_);
+ test_chromoting_client_->StartConnection(false, connection_setup_info_);
EXPECT_EQ(protocol::ConnectionToHost::State::CONNECTING, connection_state_);
EXPECT_EQ(protocol::OK, error_code_);
EXPECT_FALSE(is_connected_to_host_);
@@ -162,7 +162,7 @@ TEST_F(TestChromotingClientTest,
}
TEST_F(TestChromotingClientTest, StartConnectionThenFailWithUnknownError) {
- test_chromoting_client_->StartConnection(connection_setup_info_);
+ test_chromoting_client_->StartConnection(false, connection_setup_info_);
EXPECT_EQ(protocol::ConnectionToHost::State::CONNECTING, connection_state_);
EXPECT_EQ(protocol::OK, error_code_);
EXPECT_FALSE(is_connected_to_host_);
« no previous file with comments | « remoting/test/test_chromoting_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698