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

Issue 461273003: Rework ExtensionApiUnittest to run in extensions_unittests, removing its Chrome dependencies. (Closed)

Created:
6 years, 4 months ago by Yoyo Zhou
Modified:
6 years, 3 months ago
Reviewers:
James Cook, gab
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, Bernhard Bauer, jam
Project:
chromium
Visibility:
Public.

Description

Rework ExtensionApiUnittest to run in extensions_unittests, removing its Chrome dependencies. Move SocketsTcpUnitTest as the first test to use it. BUG=397164 Committed: https://crrev.com/b6272ef2f62c82478c53f93eb42f2cabed2a21d0 Cr-Commit-Position: refs/heads/master@{#292296}

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Total comments: 17

Patch Set 4 : jamescook #

Total comments: 2

Patch Set 5 : prefs->test deps #

Total comments: 2

Patch Set 6 : #

Patch Set 7 : include #

Patch Set 8 : rebase #

Patch Set 9 : content_app_both #

Patch Set 10 : rebase #

Patch Set 11 : rebase! #

Patch Set 12 : content_plugin #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+187 lines, -95 lines) Patch
D chrome/browser/extensions/api/sockets_tcp/sockets_tcp_api_unittest.cc View 1 chunk +0 lines, -56 lines 0 comments Download
M chrome/browser/extensions/extension_api_unittest.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_function_test_utils.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -1 line 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 1 comment Download
M extensions/browser/DEPS View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
A + extensions/browser/api/sockets_tcp/sockets_tcp_api_unittest.cc View 1 2 3 2 chunks +5 lines, -8 lines 0 comments Download
M extensions/browser/api_test_utils.h View 1 2 3 4 5 6 7 1 chunk +11 lines, -0 lines 0 comments Download
M extensions/browser/api_test_utils.cc View 1 2 3 4 5 6 7 1 chunk +21 lines, -0 lines 0 comments Download
A + extensions/browser/api_unittest.h View 1 2 3 5 chunks +28 lines, -30 lines 0 comments Download
A extensions/browser/api_unittest.cc View 1 2 3 1 chunk +106 lines, -0 lines 0 comments Download
M extensions/extensions.gyp View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 49 (0 generated)
Yoyo Zhou
https://codereview.chromium.org/461273003/diff/40001/chrome/browser/extensions/extension_api_unittest.h File chrome/browser/extensions/extension_api_unittest.h (right): https://codereview.chromium.org/461273003/diff/40001/chrome/browser/extensions/extension_api_unittest.h#newcode40 chrome/browser/extensions/extension_api_unittest.h:40: class ExtensionApiUnittest : public BrowserWithTestWindowTest { Unfortunately, this is ...
6 years, 4 months ago (2014-08-13 01:54:28 UTC) #1
James Cook
https://codereview.chromium.org/461273003/diff/60001/extensions/browser/api/sockets_tcp/sockets_tcp_api_unittest.cc File extensions/browser/api/sockets_tcp/sockets_tcp_api_unittest.cc (right): https://codereview.chromium.org/461273003/diff/60001/extensions/browser/api/sockets_tcp/sockets_tcp_api_unittest.cc#newcode6 extensions/browser/api/sockets_tcp/sockets_tcp_api_unittest.cc:6: #include "content/public/test/test_browser_context.h" Not for this CL: I wonder if ...
6 years, 4 months ago (2014-08-13 16:11:36 UTC) #2
Yoyo Zhou
https://codereview.chromium.org/461273003/diff/60001/extensions/browser/api/sockets_tcp/sockets_tcp_api_unittest.cc File extensions/browser/api/sockets_tcp/sockets_tcp_api_unittest.cc (right): https://codereview.chromium.org/461273003/diff/60001/extensions/browser/api/sockets_tcp/sockets_tcp_api_unittest.cc#newcode6 extensions/browser/api/sockets_tcp/sockets_tcp_api_unittest.cc:6: #include "content/public/test/test_browser_context.h" On 2014/08/13 16:11:35, James Cook wrote: > ...
6 years, 4 months ago (2014-08-13 22:53:43 UTC) #3
Yoyo Zhou
+gab for DEPS (adding a dependency on components/user_prefs to extensions/browser)
6 years, 4 months ago (2014-08-13 23:11:30 UTC) #4
James Cook
LGTM https://codereview.chromium.org/461273003/diff/80001/extensions/browser/api_unittest.h File extensions/browser/api_unittest.h (right): https://codereview.chromium.org/461273003/diff/80001/extensions/browser/api_unittest.h#newcode37 extensions/browser/api_unittest.h:37: class ApiUnitTest : public ExtensionsTest { Yeah, I ...
6 years, 4 months ago (2014-08-13 23:14:56 UTC) #5
gab
+Bernhard for his opinion on the DEPS addition. https://codereview.chromium.org/461273003/diff/80001/extensions/browser/DEPS File extensions/browser/DEPS (right): https://codereview.chromium.org/461273003/diff/80001/extensions/browser/DEPS#newcode4 extensions/browser/DEPS:4: "+components/user_prefs", ...
6 years, 4 months ago (2014-08-14 13:37:02 UTC) #6
James Cook
On 2014/08/14 13:37:02, gab wrote: > +Bernhard for his opinion on the DEPS addition. > ...
6 years, 4 months ago (2014-08-14 14:51:53 UTC) #7
gab
On 2014/08/14 14:51:53, James Cook wrote: > On 2014/08/14 13:37:02, gab wrote: > > +Bernhard ...
6 years, 4 months ago (2014-08-14 15:22:45 UTC) #8
James Cook
On 2014/08/14 15:22:45, gab wrote: > On 2014/08/14 14:51:53, James Cook wrote: > > On ...
6 years, 4 months ago (2014-08-14 15:29:49 UTC) #9
Yoyo Zhou
I don't mind making it a test-only DEP. James: I've run across problems before where ...
6 years, 4 months ago (2014-08-14 19:55:15 UTC) #10
James Cook
On 2014/08/14 19:55:15, Yoyo Zhou wrote: > I don't mind making it a test-only DEP. ...
6 years, 4 months ago (2014-08-14 20:02:04 UTC) #11
gab
DEPS addition lgtm w/ suggestion https://codereview.chromium.org/461273003/diff/100001/extensions/browser/DEPS File extensions/browser/DEPS (right): https://codereview.chromium.org/461273003/diff/100001/extensions/browser/DEPS#newcode16 extensions/browser/DEPS:16: ".*test\.(cc|h)$": [ I think ...
6 years, 4 months ago (2014-08-15 14:28:36 UTC) #12
Yoyo Zhou
https://codereview.chromium.org/461273003/diff/100001/extensions/browser/DEPS File extensions/browser/DEPS (right): https://codereview.chromium.org/461273003/diff/100001/extensions/browser/DEPS#newcode16 extensions/browser/DEPS:16: ".*test\.(cc|h)$": [ On 2014/08/15 14:28:36, gab wrote: > I ...
6 years, 4 months ago (2014-08-15 18:30:55 UTC) #13
Yoyo Zhou
The CQ bit was checked by yoz@chromium.org
6 years, 4 months ago (2014-08-15 18:31:00 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoz@chromium.org/461273003/120001
6 years, 4 months ago (2014-08-15 18:32:26 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_chromium_compile_dbg on tryserver.chromium.mac ...
6 years, 4 months ago (2014-08-15 20:17:42 UTC) #16
Yoyo Zhou
The CQ bit was unchecked by yoz@chromium.org
6 years, 4 months ago (2014-08-15 20:19:55 UTC) #17
Yoyo Zhou
The CQ bit was checked by yoz@chromium.org
6 years, 4 months ago (2014-08-15 21:12:48 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoz@chromium.org/461273003/140001
6 years, 4 months ago (2014-08-15 21:15:19 UTC) #19
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win8_chromium_rel on tryserver.chromium.win ...
6 years, 4 months ago (2014-08-15 22:58:15 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-15 23:21:17 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_rel on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_rel/builds/4558)
6 years, 4 months ago (2014-08-15 23:21:18 UTC) #22
Yoyo Zhou
The CQ bit was checked by yoz@chromium.org
6 years, 4 months ago (2014-08-17 08:29:05 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoz@chromium.org/461273003/140001
6 years, 4 months ago (2014-08-17 08:29:24 UTC) #24
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win8_chromium_rel on tryserver.chromium.win ...
6 years, 4 months ago (2014-08-17 08:33:34 UTC) #25
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-17 08:36:20 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_rel on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_rel/builds/4677)
6 years, 4 months ago (2014-08-17 08:36:21 UTC) #27
Yoyo Zhou
Adding content_app_both to extensions_unittests DEPS per jam's advice. If that doesn't work, I'll look at ...
6 years, 3 months ago (2014-08-26 23:49:54 UTC) #28
Yoyo Zhou
The CQ bit was checked by yoz@chromium.org
6 years, 3 months ago (2014-08-26 23:50:16 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoz@chromium.org/461273003/180001
6 years, 3 months ago (2014-08-26 23:52:28 UTC) #30
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 3 months ago (2014-08-27 00:04:03 UTC) #31
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 3 months ago (2014-08-27 00:05:22 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator/builds/9297) mac_chromium_rel_swarming on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_swarming/builds/7259)
6 years, 3 months ago (2014-08-27 00:05:23 UTC) #33
Yoyo Zhou
The CQ bit was checked by yoz@chromium.org
6 years, 3 months ago (2014-08-27 00:23:35 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoz@chromium.org/461273003/200001
6 years, 3 months ago (2014-08-27 00:25:04 UTC) #35
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win8_chromium_rel on tryserver.chromium.win ...
6 years, 3 months ago (2014-08-27 01:27:06 UTC) #36
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 3 months ago (2014-08-27 01:38:46 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_swarming on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_swarming/builds/3316)
6 years, 3 months ago (2014-08-27 01:38:47 UTC) #38
Yoyo Zhou
The CQ bit was checked by yoz@chromium.org
6 years, 3 months ago (2014-08-27 20:08:36 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoz@chromium.org/461273003/220001
6 years, 3 months ago (2014-08-27 20:09:46 UTC) #40
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win8_chromium_rel on tryserver.chromium.win ...
6 years, 3 months ago (2014-08-27 21:12:18 UTC) #41
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 3 months ago (2014-08-27 21:21:43 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_swarming on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_swarming/builds/3688)
6 years, 3 months ago (2014-08-27 21:21:44 UTC) #43
Yoyo Zhou
https://chromiumcodereview.appspot.com/461273003/diff/240001/content/content_tests.gypi File content/content_tests.gypi (right): https://chromiumcodereview.appspot.com/461273003/diff/240001/content/content_tests.gypi#newcode268 content/content_tests.gypi:268: 'content.gyp:content_plugin', jam: FYI, I think adding this fixes the ...
6 years, 3 months ago (2014-08-27 23:27:33 UTC) #44
Yoyo Zhou
The CQ bit was checked by yoz@chromium.org
6 years, 3 months ago (2014-08-27 23:27:56 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoz@chromium.org/461273003/240001
6 years, 3 months ago (2014-08-27 23:29:28 UTC) #46
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_rel_swarming on tryserver.chromium.linux ...
6 years, 3 months ago (2014-08-28 01:41:11 UTC) #47
commit-bot: I haz the power
Committed patchset #12 (id:240001) as 4fb70dbcf3456b9f27a733c4130b8abcc533166d
6 years, 3 months ago (2014-08-28 02:23:21 UTC) #48
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:56:37 UTC) #49
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/b6272ef2f62c82478c53f93eb42f2cabed2a21d0
Cr-Commit-Position: refs/heads/master@{#292296}

Powered by Google App Engine
This is Rietveld 408576698