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

Issue 12481028: base: Move the rest of JSONValueSerializer unit tests from c/common to base/json. (Closed)

Created:
7 years, 9 months ago by tfarina
Modified:
7 years, 8 months ago
CC:
chromium-reviews, bulach+watch_chromium.org, yfriedman+watch_chromium.org, klundberg+watch_chromium.org, erikwright+watch_chromium.org, ilevy+watch_chromium.org, frankf+watch_chromium.org, Vadim Sh., csharp
Visibility:
Public.

Description

base: Move the rest of JSONValueSerializer unit tests from c/common to base/json. This is the follow up patch to r189315 - https://codereview.chromium.org/12910004 where we moved the half of tests that didn't depend on json test files. json_value_serializer_perftest.cc was not moved yet because it depends on chrome/common/logging_chrome.h TEST=base_unittests --gtest_filter=*JSON* TEST=perf_tests --gtest_filter=JSONValueSerializerTests* R=darin@chromium.org,bulach@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=191077

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Patch Set 3 : exclude it from ios build #

Patch Set 4 : does this please/fix ios? #

Patch Set 5 : add it back #

Patch Set 6 : fix ios? run it there too? #

Total comments: 2

Patch Set 7 : re-format #

Patch Set 8 : change the extension to json #

Patch Set 9 : change the extension to json #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+140 lines, -168 lines) Patch
M base/base.gyp View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M base/base_paths.h View 1 2 3 4 5 6 1 chunk +14 lines, -11 lines 0 comments Download
M base/base_paths.cc View 1 chunk +14 lines, -5 lines 1 comment Download
M base/json/json_value_serializer_unittest.cc View 1 2 3 4 5 6 7 2 chunks +99 lines, -0 lines 0 comments Download
A + base/test/data/serializer_nested_test.json View 1 2 3 4 5 6 7 8 0 chunks +-1 lines, --1 lines 0 comments Download
A + base/test/data/serializer_test.json View 1 2 3 4 5 6 7 8 0 chunks +-1 lines, --1 lines 0 comments Download
A + base/test/data/serializer_test_nowhitespace.json View 1 2 3 4 5 6 7 8 0 chunks +-1 lines, --1 lines 0 comments Download
M build/android/pylib/gtest/test_runner.py View 1 2 3 4 5 6 7 3 chunks +7 lines, -3 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/json_value_serializer_perftest.cc View 1 2 3 4 5 6 7 1 chunk +7 lines, -6 lines 0 comments Download
D chrome/common/json_value_serializer_unittest.cc View 1 chunk +0 lines, -118 lines 0 comments Download
D chrome/test/data/serializer_nested_test.js View 1 chunk +0 lines, -17 lines 0 comments Download
D chrome/test/data/serializer_test.js View 1 chunk +0 lines, -8 lines 0 comments Download
D chrome/test/data/serializer_test_nowhitespace.js View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
tfarina
Hi Darin, could you review this to me? Marcus, please review test_runner.py Thanks, https://codereview.chromium.org/12481028/diff/1/build/android/pylib/gtest/test_runner.py File ...
7 years, 9 months ago (2013-03-23 18:46:00 UTC) #1
tfarina
Avi, could you take a look at this change and may be help me understand ...
7 years, 9 months ago (2013-03-23 20:15:41 UTC) #2
tfarina
-avi base_unittests in ios_dbg_simulator was fixed by patch set 6!
7 years, 9 months ago (2013-03-23 22:39:31 UTC) #3
bulach
hmm, android lgtm, but...there's already "base/data" (which contains $TEST_SUITE/ subdirectories) and prefs/test/data (that is, $TEST_SUITE/test/data..).. ...
7 years, 9 months ago (2013-03-25 11:57:27 UTC) #4
tfarina
On Monday, March 25, 2013, wrote: > hmm, android lgtm, but...there's already "base/data" (which contains ...
7 years, 9 months ago (2013-03-25 12:54:19 UTC) #5
bulach
lgtm for android, sorry, I missed your comment :) I agree, so feel free to ...
7 years, 9 months ago (2013-03-25 18:18:01 UTC) #6
tfarina
Darin, friendly ping. I need your OWNERS approval. ;) Thanks,
7 years, 9 months ago (2013-03-26 15:33:38 UTC) #7
tfarina
Darin, do you have time to look at this? If not, could you let me ...
7 years, 8 months ago (2013-03-27 20:39:52 UTC) #8
darin (slow to review)
LGTM https://codereview.chromium.org/12481028/diff/3017/base/base_paths.h File base/base_paths.h (right): https://codereview.chromium.org/12481028/diff/3017/base/base_paths.h#newcode30 base/base_paths.h:30: DIR_CURRENT, // current directory nit: it might be ...
7 years, 8 months ago (2013-03-27 20:57:26 UTC) #9
tfarina
https://codereview.chromium.org/12481028/diff/3017/base/base_paths.h File base/base_paths.h (right): https://codereview.chromium.org/12481028/diff/3017/base/base_paths.h#newcode30 base/base_paths.h:30: DIR_CURRENT, // current directory On 2013/03/27 20:57:26, darin wrote: ...
7 years, 8 months ago (2013-03-27 21:07:59 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tfarina@chromium.org/12481028/21001
7 years, 8 months ago (2013-03-27 21:48:14 UTC) #11
commit-bot: I haz the power
Presubmit check for 12481028-21001 failed and returned exit status 1. INFO:root:Found 10 file(s). INFO:PRESUBMIT:Skipping pylint: ...
7 years, 8 months ago (2013-03-27 21:48:23 UTC) #12
tfarina
Changed the extension from js to json
7 years, 8 months ago (2013-03-27 22:08:58 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tfarina@chromium.org/12481028/34001
7 years, 8 months ago (2013-03-27 22:12:50 UTC) #14
commit-bot: I haz the power
Change committed as 191077
7 years, 8 months ago (2013-03-28 00:40:06 UTC) #15
M-A Ruel
7 years, 8 months ago (2013-04-04 14:48:06 UTC) #16
Message was sent while issue was closed.
https://chromiumcodereview.appspot.com/12481028/diff/34001/base/base_paths.cc
File base/base_paths.cc (right):

https://chromiumcodereview.appspot.com/12481028/diff/34001/base/base_paths.cc...
base/base_paths.cc:30: case DIR_TEST_DATA:
This broke isolated testing. I'll send a follow up patch.

Powered by Google App Engine
This is Rietveld 408576698