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

Issue 1237883002: Added chromoting test environment for the tests to share data. (Closed)

Created:
5 years, 5 months ago by tonychun
Modified:
5 years, 5 months ago
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Added chromoting test environment for the chromoting tests to share data. I've refactored out the fake_refresh_token_store to a shared class so that both chromoting test environment and app remoting test environment can use it. I've also added a new class called fake_host_list_fetcher to fake retrieving a host list. Added a new test and made some cleanups. BUG= Committed: https://crrev.com/ed3010ac30028a8126b9e80b2c6dcfd8b4d7b111 Cr-Commit-Position: refs/heads/master@{#340283}

Patch Set 1 #

Total comments: 24

Patch Set 2 : Cleaned up environment code. #

Total comments: 22

Patch Set 3 : Clarified comments, removed unused headers, and fixed unit tests. #

Total comments: 6

Patch Set 4 : Merged and made changes to comments. #

Total comments: 8

Patch Set 5 : Fixed Merge Errors. #

Total comments: 6

Patch Set 6 : Fixed merge errors, comments, and BUILD.gn. #

Total comments: 8

Patch Set 7 : Added files to BUILD.gn and synced with connect to localhost changes. #

Total comments: 6

Patch Set 8 : Added unittest, display connection stats ability, and error check for transition delay. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+749 lines, -62 lines) Patch
M remoting/remoting_test.gypi View 1 2 3 4 5 6 7 2 chunks +7 lines, -0 lines 0 comments Download
M remoting/test/BUILD.gn View 1 2 3 4 5 6 7 2 chunks +7 lines, -0 lines 0 comments Download
M remoting/test/app_remoting_test_driver_environment_unittest.cc View 3 chunks +1 line, -62 lines 0 comments Download
A remoting/test/chromoting_test_driver_environment.h View 1 2 3 4 5 6 7 1 chunk +125 lines, -0 lines 0 comments Download
A remoting/test/chromoting_test_driver_environment.cc View 1 2 3 4 5 6 7 1 chunk +269 lines, -0 lines 0 comments Download
A remoting/test/chromoting_test_driver_environment_unittest.cc View 1 2 3 4 5 6 1 chunk +189 lines, -0 lines 0 comments Download
A remoting/test/fake_host_list_fetcher.h View 1 1 chunk +37 lines, -0 lines 0 comments Download
A remoting/test/fake_host_list_fetcher.cc View 1 chunk +22 lines, -0 lines 0 comments Download
A remoting/test/fake_refresh_token_store.h View 1 chunk +55 lines, -0 lines 0 comments Download
A remoting/test/fake_refresh_token_store.cc View 1 chunk +37 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (14 generated)
tonychun
Created chromoting test driver environment to share data between tests.
5 years, 5 months ago (2015-07-14 22:02:46 UTC) #2
joedow
https://codereview.chromium.org/1237883002/diff/1/remoting/remoting_test.gypi File remoting/remoting_test.gypi (right): https://codereview.chromium.org/1237883002/diff/1/remoting/remoting_test.gypi#newcode156 remoting/remoting_test.gypi:156: nit: remove extra newline https://codereview.chromium.org/1237883002/diff/1/remoting/test/chromoting_test_driver_environment.h File remoting/test/chromoting_test_driver_environment.h (right): https://codereview.chromium.org/1237883002/diff/1/remoting/test/chromoting_test_driver_environment.h#newcode12 ...
5 years, 5 months ago (2015-07-15 03:04:53 UTC) #3
tonychun
Cleaned up environment code. https://codereview.chromium.org/1237883002/diff/1/remoting/remoting_test.gypi File remoting/remoting_test.gypi (right): https://codereview.chromium.org/1237883002/diff/1/remoting/remoting_test.gypi#newcode156 remoting/remoting_test.gypi:156: On 2015/07/15 03:04:53, joedow wrote: ...
5 years, 5 months ago (2015-07-15 17:24:49 UTC) #4
anandc
https://codereview.chromium.org/1237883002/diff/40001/remoting/test/chromoting_test_driver_environment.h File remoting/test/chromoting_test_driver_environment.h (right): https://codereview.chromium.org/1237883002/diff/40001/remoting/test/chromoting_test_driver_environment.h#newcode95 remoting/test/chromoting_test_driver_environment.h:95: // Used to find remote host in host lost. ...
5 years, 5 months ago (2015-07-15 23:51:58 UTC) #6
joedow
https://codereview.chromium.org/1237883002/diff/40001/remoting/remoting_test.gypi File remoting/remoting_test.gypi (right): https://codereview.chromium.org/1237883002/diff/40001/remoting/remoting_test.gypi#newcode59 remoting/remoting_test.gypi:59: 'test/chromoting_test_driver_environment.h', You will want to coordinate the landing of ...
5 years, 5 months ago (2015-07-16 03:00:39 UTC) #7
tonychun
Finished touching up the comments and removed the unnecessary header files from my unit test ...
5 years, 5 months ago (2015-07-16 18:46:53 UTC) #8
joedow
https://codereview.chromium.org/1237883002/diff/80001/remoting/remoting_test.gypi File remoting/remoting_test.gypi (right): https://codereview.chromium.org/1237883002/diff/80001/remoting/remoting_test.gypi#newcode59 remoting/remoting_test.gypi:59: 'test/chromoting_test_driver_environment.h', please sync sergey's changes in and include in ...
5 years, 5 months ago (2015-07-16 21:32:58 UTC) #9
tonychun
Merged and added comments. https://codereview.chromium.org/1237883002/diff/80001/remoting/remoting_test.gypi File remoting/remoting_test.gypi (right): https://codereview.chromium.org/1237883002/diff/80001/remoting/remoting_test.gypi#newcode59 remoting/remoting_test.gypi:59: 'test/chromoting_test_driver_environment.h', On 2015/07/16 21:32:58, joedow ...
5 years, 5 months ago (2015-07-16 23:07:43 UTC) #11
joedow
https://codereview.chromium.org/1237883002/diff/120001/remoting/BUILD.gn File remoting/BUILD.gn (right): https://codereview.chromium.org/1237883002/diff/120001/remoting/BUILD.gn#newcode78 remoting/BUILD.gn:78: sources = [ Sergey had removed these files and ...
5 years, 5 months ago (2015-07-16 23:15:38 UTC) #12
tonychun
Fixed merge errors. https://codereview.chromium.org/1237883002/diff/120001/remoting/BUILD.gn File remoting/BUILD.gn (right): https://codereview.chromium.org/1237883002/diff/120001/remoting/BUILD.gn#newcode78 remoting/BUILD.gn:78: sources = [ On 2015/07/16 23:15:38, ...
5 years, 5 months ago (2015-07-16 23:47:56 UTC) #13
tonychun
Fixed merge errors.
5 years, 5 months ago (2015-07-17 00:46:20 UTC) #18
tonychun
Missed one repeated test case.
5 years, 5 months ago (2015-07-17 00:50:49 UTC) #19
tonychun
Missed one repeated test case.
5 years, 5 months ago (2015-07-17 00:50:50 UTC) #20
joedow
lgtm https://codereview.chromium.org/1237883002/diff/240001/remoting/test/chromoting_test_driver_environment.cc File remoting/test/chromoting_test_driver_environment.cc (right): https://codereview.chromium.org/1237883002/diff/240001/remoting/test/chromoting_test_driver_environment.cc#newcode7 remoting/test/chromoting_test_driver_environment.cc:7: #include <map> Are you using a map here? ...
5 years, 5 months ago (2015-07-17 02:35:49 UTC) #22
tonychun
Fixed merge errors, comments, and BUILD.gn. https://codereview.chromium.org/1237883002/diff/240001/remoting/test/chromoting_test_driver_environment.cc File remoting/test/chromoting_test_driver_environment.cc (right): https://codereview.chromium.org/1237883002/diff/240001/remoting/test/chromoting_test_driver_environment.cc#newcode7 remoting/test/chromoting_test_driver_environment.cc:7: #include <map> On ...
5 years, 5 months ago (2015-07-17 16:29:16 UTC) #26
Sergey Ulanov
https://codereview.chromium.org/1237883002/diff/280001/remoting/test/BUILD.gn File remoting/test/BUILD.gn (right): https://codereview.chromium.org/1237883002/diff/280001/remoting/test/BUILD.gn#newcode26 remoting/test/BUILD.gn:26: "fake_refresh_token_store.h", Please add here all other files that you ...
5 years, 5 months ago (2015-07-20 19:37:14 UTC) #27
tonychun
Merged with changes to connect to localhost and removed global pointer. I will use Sergey's ...
5 years, 5 months ago (2015-07-22 23:07:42 UTC) #28
Sergey Ulanov
lgtm after my comments are addressed https://codereview.chromium.org/1237883002/diff/300001/remoting/remoting_test.gypi File remoting/remoting_test.gypi (right): https://codereview.chromium.org/1237883002/diff/300001/remoting/remoting_test.gypi#newcode330 remoting/remoting_test.gypi:330: 'test/chromoting_test_driver_environment_unittest.cc', please add ...
5 years, 5 months ago (2015-07-23 19:12:43 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1237883002/340001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1237883002/340001
5 years, 5 months ago (2015-07-24 16:16:47 UTC) #33
tonychun
https://codereview.chromium.org/1237883002/diff/300001/remoting/remoting_test.gypi File remoting/remoting_test.gypi (right): https://codereview.chromium.org/1237883002/diff/300001/remoting/remoting_test.gypi#newcode330 remoting/remoting_test.gypi:330: 'test/chromoting_test_driver_environment_unittest.cc', On 2015/07/23 19:12:43, Sergey Ulanov wrote: > please ...
5 years, 5 months ago (2015-07-24 16:16:48 UTC) #34
commit-bot: I haz the power
Committed patchset #8 (id:340001)
5 years, 5 months ago (2015-07-24 16:22:21 UTC) #35
commit-bot: I haz the power
5 years, 5 months ago (2015-07-24 16:23:28 UTC) #36
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/ed3010ac30028a8126b9e80b2c6dcfd8b4d7b111
Cr-Commit-Position: refs/heads/master@{#340283}

Powered by Google App Engine
This is Rietveld 408576698