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

Issue 2355993002: [Sync] Restructure ModelTypeWorkerTest to match SMTP test. (Closed)

Created:
4 years, 3 months ago by maxbogue
Modified:
4 years, 3 months ago
Reviewers:
skym
CC:
chromium-reviews, sync-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Sync] Restructure ModelTypeWorkerTest to match SMTP test. - Move function definitions inside the class declaration. - Move static functions to an anonymous namespace. - Introduce kTagN, kValueN, and kHashN constants. - Remove 14 methods that were simply forwards to calls on the processor or server and add direct accessors to those classes instead. BUG=648705 Committed: https://crrev.com/260ea4c5badff5adfd768dd6d51085d78c239885 Cr-Commit-Position: refs/heads/master@{#419861}

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+477 lines, -664 lines) Patch
M components/sync/engine_impl/model_type_worker_unittest.cc View 27 chunks +471 lines, -654 lines 4 comments Download
M components/sync/test/engine/mock_model_type_processor.h View 2 chunks +3 lines, -4 lines 0 comments Download
M components/sync/test/engine/mock_model_type_processor.cc View 3 chunks +3 lines, -6 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
maxbogue
Sky, PTAL!
4 years, 3 months ago (2016-09-20 21:04:01 UTC) #4
skym
lgtm https://codereview.chromium.org/2355993002/diff/1/components/sync/engine_impl/model_type_worker_unittest.cc File components/sync/engine_impl/model_type_worker_unittest.cc (right): https://codereview.chromium.org/2355993002/diff/1/components/sync/engine_impl/model_type_worker_unittest.cc#newcode189 components/sync/engine_impl/model_type_worker_unittest.cc:189: DCHECK(!worker_); Should we change all these unittest DCHECKs ...
4 years, 3 months ago (2016-09-20 21:13:50 UTC) #5
maxbogue
https://codereview.chromium.org/2355993002/diff/1/components/sync/engine_impl/model_type_worker_unittest.cc File components/sync/engine_impl/model_type_worker_unittest.cc (right): https://codereview.chromium.org/2355993002/diff/1/components/sync/engine_impl/model_type_worker_unittest.cc#newcode189 components/sync/engine_impl/model_type_worker_unittest.cc:189: DCHECK(!worker_); On 2016/09/20 21:13:49, skym wrote: > Should we ...
4 years, 3 months ago (2016-09-20 21:32:44 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2355993002/1
4 years, 3 months ago (2016-09-20 21:40:30 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-20 21:53:33 UTC) #10
commit-bot: I haz the power
4 years, 3 months ago (2016-09-20 21:55:14 UTC) #12
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/260ea4c5badff5adfd768dd6d51085d78c239885
Cr-Commit-Position: refs/heads/master@{#419861}

Powered by Google App Engine
This is Rietveld 408576698