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

Issue 63153009: Use RegistryOverrideManager properly in RLZ tests. (Closed)

Created:
7 years, 1 month ago by grt (UTC plus 2)
Modified:
7 years, 1 month ago
CC:
chromium-reviews
Visibility:
Public.

Description

Use RegistryOverrideManager properly in RLZ tests. Previously, rlz/test/rlz_test_helpers.cc and chrome/browser/rlz/rlz_unittest.cc each did somewhat different things to prepare the registry for tests. Now, rlz_test_helpers.cc does the prep the right way using RegistryOverrideManager and rlz_unittests.cc uses rlz_test_helpers.cc. This unblocks the refactor in r234367 that was reverted in r234627. BUG=314800 R=rogerta@chromium.org, tommycli@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=235090

Patch Set 1 #

Patch Set 2 : added doc comment for InitializeRegistryOverridesForTesting #

Total comments: 9

Patch Set 3 : comment fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -222 lines) Patch
M chrome/browser/rlz/rlz_unittest.cc View 5 chunks +5 lines, -69 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M rlz/lib/rlz_lib.h View 1 chunk +16 lines, -0 lines 0 comments Download
M rlz/rlz.gyp View 3 chunks +15 lines, -3 lines 0 comments Download
M rlz/test/rlz_test_helpers.h View 1 chunk +10 lines, -3 lines 0 comments Download
M rlz/test/rlz_test_helpers.cc View 1 2 2 chunks +102 lines, -37 lines 0 comments Download
M rlz/win/dll/exports.cc View 1 chunk +1 line, -1 line 0 comments Download
M rlz/win/lib/machine_deal.h View 1 chunk +1 line, -1 line 0 comments Download
D rlz/win/lib/rlz_lib.h View 1 chunk +0 lines, -56 lines 0 comments Download
M rlz/win/lib/rlz_lib_win.cc View 3 chunks +1 line, -52 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
grt (UTC plus 2)
tryjobs are running on patchset 1. https://codereview.chromium.org/63153009/diff/40001/rlz/lib/rlz_lib.h File rlz/lib/rlz_lib.h (right): https://codereview.chromium.org/63153009/diff/40001/rlz/lib/rlz_lib.h#newcode55 rlz/lib/rlz_lib.h:55: // All functions ...
7 years, 1 month ago (2013-11-13 04:23:47 UTC) #1
tommycli
lgtm except below: https://codereview.chromium.org/63153009/diff/40001/rlz/test/rlz_test_helpers.cc File rlz/test/rlz_test_helpers.cc (right): https://codereview.chromium.org/63153009/diff/40001/rlz/test/rlz_test_helpers.cc#newcode46 rlz/test/rlz_test_helpers.cc:46: void ReadRegistryTree(const base::win::RegKey& src, RegistryKeyData* data) ...
7 years, 1 month ago (2013-11-13 16:50:32 UTC) #2
Roger Tawa OOO till Jul 10th
lgtm https://codereview.chromium.org/63153009/diff/40001/rlz/lib/rlz_lib.h File rlz/lib/rlz_lib.h (right): https://codereview.chromium.org/63153009/diff/40001/rlz/lib/rlz_lib.h#newcode55 rlz/lib/rlz_lib.h:55: // All functions return true on success and ...
7 years, 1 month ago (2013-11-13 18:39:31 UTC) #3
tommycli
https://codereview.chromium.org/63153009/diff/40001/rlz/test/rlz_test_helpers.cc File rlz/test/rlz_test_helpers.cc (right): https://codereview.chromium.org/63153009/diff/40001/rlz/test/rlz_test_helpers.cc#newcode46 rlz/test/rlz_test_helpers.cc:46: void ReadRegistryTree(const base::win::RegKey& src, RegistryKeyData* data) { On 2013/11/13 ...
7 years, 1 month ago (2013-11-13 18:53:20 UTC) #4
grt (UTC plus 2)
Thanks for the reviews. https://codereview.chromium.org/63153009/diff/40001/rlz/test/rlz_test_helpers.cc File rlz/test/rlz_test_helpers.cc (right): https://codereview.chromium.org/63153009/diff/40001/rlz/test/rlz_test_helpers.cc#newcode46 rlz/test/rlz_test_helpers.cc:46: void ReadRegistryTree(const base::win::RegKey& src, RegistryKeyData* ...
7 years, 1 month ago (2013-11-14 05:22:14 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grt@chromium.org/63153009/150001
7 years, 1 month ago (2013-11-14 05:22:45 UTC) #6
commit-bot: I haz the power
7 years, 1 month ago (2013-11-14 07:43:25 UTC) #7
Message was sent while issue was closed.
Change committed as 235090

Powered by Google App Engine
This is Rietveld 408576698