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

Issue 1366093003: Improve HostOptions unit tests (Closed)

Created:
5 years, 2 months ago by Jamie
Modified:
5 years, 2 months ago
Reviewers:
kelvinp
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

Improve HostOptions unit tests One of the design considerations in https://codereview.chromium.org/1358173005/ was that using base.copyWithoutNullFields made the code future-proof if new options are added. This unit test ensures that that holds true and also improves some of the existing unit tests to catch some obvious errors. Committed: https://crrev.com/379d57418093504170fd83182011c6f36554b71a Cr-Commit-Position: refs/heads/master@{#351180}

Patch Set 1 #

Patch Set 2 : Improve unit tests. #

Total comments: 6

Patch Set 3 : Reviewer feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -3 lines) Patch
M remoting/webapp/base/js/host_options_unittest.js View 1 2 3 chunks +19 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
Jamie
ptal https://codereview.chromium.org/1366093003/diff/20001/remoting/webapp/base/js/host_options_unittest.js File remoting/webapp/base/js/host_options_unittest.js (right): https://codereview.chromium.org/1366093003/diff/20001/remoting/webapp/base/js/host_options_unittest.js#newcode59 remoting/webapp/base/js/host_options_unittest.js:59: var optionsNew = new remoting.HostOptions('host-id'); Loading into the ...
5 years, 2 months ago (2015-09-26 00:40:41 UTC) #2
kelvinp
lgtm https://codereview.chromium.org/1366093003/diff/20001/remoting/webapp/base/js/host_options_unittest.js File remoting/webapp/base/js/host_options_unittest.js (right): https://codereview.chromium.org/1366093003/diff/20001/remoting/webapp/base/js/host_options_unittest.js#newcode59 remoting/webapp/base/js/host_options_unittest.js:59: var optionsNew = new remoting.HostOptions('host-id'); Nit: optionsLoaded may ...
5 years, 2 months ago (2015-09-28 18:36:41 UTC) #3
Jamie
FYI https://codereview.chromium.org/1366093003/diff/20001/remoting/webapp/base/js/host_options_unittest.js File remoting/webapp/base/js/host_options_unittest.js (right): https://codereview.chromium.org/1366093003/diff/20001/remoting/webapp/base/js/host_options_unittest.js#newcode59 remoting/webapp/base/js/host_options_unittest.js:59: var optionsNew = new remoting.HostOptions('host-id'); On 2015/09/28 18:36:40, ...
5 years, 2 months ago (2015-09-28 21:33:48 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1366093003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1366093003/40001
5 years, 2 months ago (2015-09-28 21:34:41 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 2 months ago (2015-09-28 22:42:34 UTC) #8
commit-bot: I haz the power
5 years, 2 months ago (2015-09-28 22:43:46 UTC) #9
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/379d57418093504170fd83182011c6f36554b71a
Cr-Commit-Position: refs/heads/master@{#351180}

Powered by Google App Engine
This is Rietveld 408576698