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

Issue 11879023: base: Add a couple Pref unit tests to base_unittests target. (Closed)

Created:
7 years, 11 months ago by tfarina
Modified:
7 years, 11 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org, darin (slow to review)
Visibility:
Public.

Description

base: Add a couple Pref unit tests to base_unittests target. The added unit tests does not depend on anything but base, so we can run the on base_unittests right now. BUG=155525 TEST=base_unittests --gtest_filter=*Pref* R=joi@chromium.org TBR=darin@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=177139

Patch Set 1 #

Patch Set 2 : base_prefs_test_support #

Patch Set 3 : run them in base_unittests instead #

Patch Set 4 : remove them from unit_tests #

Patch Set 5 : move json_pref_store_unittest.cc back to unit_tests - ios_dbg_simulator is not happy with it #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -10 lines) Patch
M base/base.gyp View 1 2 3 4 3 chunks +18 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 3 chunks +2 lines, -10 lines 2 comments Download

Messages

Total messages: 18 (0 generated)
tfarina
Is this fine?
7 years, 11 months ago (2013-01-14 21:26:12 UTC) #1
Jói
Hi Thiago, The intent is to add the Prefs unit tests to the base_unittests target ...
7 years, 11 months ago (2013-01-14 21:28:29 UTC) #2
tfarina
Does patch set 3 works for you?
7 years, 11 months ago (2013-01-14 21:37:58 UTC) #3
Jói
On 2013/01/14 21:37:58, tfarina wrote: > Does patch set 3 works for you? Yes, except ...
7 years, 11 months ago (2013-01-14 21:45:46 UTC) #4
tfarina
Done. PTAL. TBRing Darin for base.gyp changes.
7 years, 11 months ago (2013-01-14 22:14:18 UTC) #5
Jói
LGTM, thanks Thiago.
7 years, 11 months ago (2013-01-14 22:22:06 UTC) #6
darin (slow to review)
LGTM
7 years, 11 months ago (2013-01-14 22:38:39 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tfarina@chromium.org/11879023/9001
7 years, 11 months ago (2013-01-15 23:10:36 UTC) #8
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) base_unittests
7 years, 11 months ago (2013-01-15 23:51:25 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tfarina@chromium.org/11879023/9001
7 years, 11 months ago (2013-01-16 00:22:28 UTC) #10
tfarina
ios_dbg_simulator (base_unittests) is playing dirty games on me! I don't know why the hell he ...
7 years, 11 months ago (2013-01-16 00:35:25 UTC) #11
tfarina
Looks like ios_dbg_simulator isn't running/doesn't run unit_tests yet, so I'm going to move json_pref_store_unittest.cc back ...
7 years, 11 months ago (2013-01-16 00:50:03 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tfarina@chromium.org/11879023/24005
7 years, 11 months ago (2013-01-16 00:58:45 UTC) #13
commit-bot: I haz the power
Retried try job too often on win for step(s) compile
7 years, 11 months ago (2013-01-16 03:16:11 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tfarina@chromium.org/11879023/24005
7 years, 11 months ago (2013-01-16 11:28:45 UTC) #15
commit-bot: I haz the power
Change committed as 177139
7 years, 11 months ago (2013-01-16 13:11:37 UTC) #16
tfarina
https://codereview.chromium.org/11879023/diff/24005/chrome/chrome_tests_unit.gypi File chrome/chrome_tests_unit.gypi (right): https://codereview.chromium.org/11879023/diff/24005/chrome/chrome_tests_unit.gypi#newcode1590 chrome/chrome_tests_unit.gypi:1590: '../base/prefs/json_pref_store_unittest.cc', We can move it back to base_unittests and ...
7 years, 11 months ago (2013-01-19 20:50:59 UTC) #17
Jói
7 years, 11 months ago (2013-01-21 10:33:22 UTC) #18
Message was sent while issue was closed.
https://codereview.chromium.org/11879023/diff/24005/chrome/chrome_tests_unit....
File chrome/chrome_tests_unit.gypi (right):

https://codereview.chromium.org/11879023/diff/24005/chrome/chrome_tests_unit....
chrome/chrome_tests_unit.gypi:1590: '../base/prefs/json_pref_store_unittest.cc',
On 2013/01/19 20:50:59, tfarina wrote:
> We can move it back to base_unittests and exclude it when OS equal ios.
> 
> Would be that fine, Joi?

If that passes all bots then I have no issue with it.

Powered by Google App Engine
This is Rietveld 408576698