Updated latency fixture to match internal classes and refactored
connection helper.
1. Moved the Open new document logic to the SetUp function to enforce
a fresh document for tests.
2. Refactored connection helper to make it as minimum as possible, and
moved the ping response verify logic to the connected client fixture.
BUG=
Committed: https://crrev.com/4d6371eaba0106a6051282b86ef59ccd121e6bc5
Cr-Commit-Position: refs/heads/master@{#340588}
Hey Joe, Sergey, Anand, Please review a changelist from liaoyuke. Thank you very much!
5 years, 5 months ago
(2015-07-23 01:43:47 UTC)
#2
Hey Joe, Sergey, Anand,
Please review a changelist from liaoyuke.
Thank you very much!
Sergey Ulanov
https://codereview.chromium.org/1253613002/diff/1/remoting/test/app_remoting_connected_client_fixture.cc File remoting/test/app_remoting_connected_client_fixture.cc (right): https://codereview.chromium.org/1253613002/diff/1/remoting/test/app_remoting_connected_client_fixture.cc#newcode65 remoting/test/app_remoting_connected_client_fixture.cc:65: test_chromoting_client_->RemoveRemoteConnectionObserver(this); Before dereferencing a weak pointer you need to ...
5 years, 5 months ago
(2015-07-23 19:36:55 UTC)
#3
https://codereview.chromium.org/1253613002/diff/1/remoting/test/app_remoting_connected_client_fixture.cc File remoting/test/app_remoting_connected_client_fixture.cc (right): https://codereview.chromium.org/1253613002/diff/1/remoting/test/app_remoting_connected_client_fixture.cc#newcode74 remoting/test/app_remoting_connected_client_fixture.cc:74: base::ResetAndReturn(&host_message_received_callback_).Run(message); To add on to Sergey's comments, you could ...
5 years, 5 months ago
(2015-07-23 20:26:57 UTC)
#4
Almost there! Please address the comments and fix the try-bot errors. https://codereview.chromium.org/1253613002/diff/60001/remoting/test/app_remoting_connected_client_fixture.cc File remoting/test/app_remoting_connected_client_fixture.cc (right): ...
5 years, 5 months ago
(2015-07-24 13:50:58 UTC)
#7
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1253613002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1253613002/80001
5 years, 5 months ago
(2015-07-25 01:39:22 UTC)
#9
https://codereview.chromium.org/1253613002/diff/80001/remoting/test/app_remoting_latency_test_fixture.cc File remoting/test/app_remoting_latency_test_fixture.cc (right): https://codereview.chromium.org/1253613002/diff/80001/remoting/test/app_remoting_latency_test_fixture.cc#newcode52 remoting/test/app_remoting_latency_test_fixture.cc:52: LOG(ERROR) << "New document could not be created."; Please ...
5 years, 5 months ago
(2015-07-25 02:13:34 UTC)
#14
Hey Joe, Sergey, Anand, Please take another look. Thank you very much! https://codereview.chromium.org/1253613002/diff/100001/remoting/test/app_remoting_connection_helper.h File remoting/test/app_remoting_connection_helper.h ...
5 years, 4 months ago
(2015-07-27 17:40:45 UTC)
#17
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1253613002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1253613002/160001
5 years, 4 months ago
(2015-07-27 21:14:34 UTC)
#24
Issue 1253613002: Updated latency fixture and refactored connection helper
(Closed)
Created 5 years, 5 months ago by liaoyuke
Modified 5 years, 4 months ago
Reviewers: joedow, Sergey Ulanov, anandc
Base URL: https://chromium.googlesource.com/chromium/src.git@master
Comments: 53