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

Issue 78893002: Extract unit tests from the mixed bag process_util_unittest.cc into proper files. (Closed)

Created:
7 years, 1 month ago by M-A Ruel
Modified:
7 years ago
Reviewers:
Nico
CC:
chromium-reviews, erikwright+watch_chromium.org
Visibility:
Public.

Description

Extract unit tests from the mixed bag process_util_unittest.cc into proper files. It is a first step of multiple CLs. Rename process_metrics_unittests.cc to process_metrics_unittest.cc to be consistent with the rest of the project. Rename process_util_unittest_ios.cc to process_metrics_unittest_ios.cc since it is just about process_metrics.h. Extract a few process_metrics.h specific unit tests from process_util_unittest.cc into process_metrics_unittest.cc. R=thakis@chromium.org BUG=324546 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238009

Patch Set 1 #

Patch Set 2 : Trying to make sense out of it #

Patch Set 3 : Revert launch stuff to keep it simple #

Patch Set 4 : Cleaner #

Patch Set 5 : Now compiles locally #

Patch Set 6 : Fix OSX #

Patch Set 7 : GetNumberOfThreads is linux only #

Total comments: 9

Patch Set 8 : Address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -414 lines) Patch
M base/base.gyp View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
A + base/process/process_metrics_unittest.cc View 1 2 3 4 5 6 7 2 chunks +124 lines, -0 lines 0 comments Download
A + base/process/process_metrics_unittest_ios.cc View 1 chunk +3 lines, -2 lines 0 comments Download
D base/process/process_metrics_unittests.cc View 1 chunk +0 lines, -273 lines 0 comments Download
M base/process/process_util_unittest.cc View 1 2 3 4 5 6 7 3 chunks +2 lines, -122 lines 0 comments Download
D base/process/process_util_unittest_ios.cc View 1 chunk +0 lines, -15 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
M-A Ruel
I have a long standing CL to change process_iterator and the current mess makes it ...
7 years, 1 month ago (2013-11-20 17:06:41 UTC) #1
Nico
lgtm, but please remove the "Win" suffixes you added. https://codereview.chromium.org/78893002/diff/190001/base/process/process_metrics_unittest.cc File base/process/process_metrics_unittest.cc (right): https://codereview.chromium.org/78893002/diff/190001/base/process/process_metrics_unittest.cc#newcode274 base/process/process_metrics_unittest.cc:274: ...
7 years, 1 month ago (2013-11-21 00:19:25 UTC) #2
M-A Ruel
Added bug. It's related to python upgrade. (I know it's far fetched but it's true) ...
7 years ago (2013-11-30 01:07:15 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maruel@chromium.org/78893002/290001
7 years ago (2013-11-30 01:07:32 UTC) #4
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=230294
7 years ago (2013-11-30 05:46:50 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maruel@chromium.org/78893002/290001
7 years ago (2013-12-02 00:04:29 UTC) #6
commit-bot: I haz the power
7 years ago (2013-12-02 01:01:04 UTC) #7
Message was sent while issue was closed.
Change committed as 238009

Powered by Google App Engine
This is Rietveld 408576698