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

Issue 12257013: Add unit tests for base::GetSystemMemoryInfo (Closed)

Created:
7 years, 10 months ago by James Cook
Modified:
7 years, 10 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org
Visibility:
Public.

Description

Add unit tests for base::GetSystemMemoryInfo BUG=176044 TEST=base_unittests ProcessUtilTest Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182540

Patch Set 1 #

Patch Set 2 : don't do hardware-specific tests #

Total comments: 1

Patch Set 3 : fix nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -0 lines) Patch
M base/process_util_unittest.cc View 1 2 1 chunk +34 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
James Cook
davemoore, PTAL This also leaves a place to add tests for gem_objects when that starts ...
7 years, 10 months ago (2013-02-13 19:18:33 UTC) #1
DaveMoore
lgtm
7 years, 10 months ago (2013-02-13 19:24:26 UTC) #2
James Cook
will, can I get OWNERS approval for this test?
7 years, 10 months ago (2013-02-13 19:26:04 UTC) #3
willchan no longer on Chromium
I almost thought I could do this review, but I'm too sick to consider any ...
7 years, 10 months ago (2013-02-13 19:33:15 UTC) #4
James Cook
jar, can I get OWNERS approval for this test? will, thanks for the comments. I ...
7 years, 10 months ago (2013-02-13 19:52:07 UTC) #5
jar (doing other things)
7 years, 10 months ago (2013-02-14 02:26:11 UTC) #6
LGTM with nit

https://codereview.chromium.org/12257013/diff/8001/base/process_util_unittest.cc
File base/process_util_unittest.cc (right):

https://codereview.chromium.org/12257013/diff/8001/base/process_util_unittest...
base/process_util_unittest.cc:385: base::SystemMemoryInfoKB info1;
nit: how about using the name |info|.

I assume you used to have others.

Powered by Google App Engine
This is Rietveld 408576698