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

Issue 529293003: Extract ResultCatcher from ExtensionApiTest. Use it in ShellApiTest. (Closed)

Created:
6 years, 3 months ago by Yoyo Zhou
Modified:
6 years, 3 months ago
Reviewers:
James Cook, jam
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src@master
Project:
chromium
Visibility:
Public.

Description

Extract ResultCatcher from ExtensionApiTest. Use it in ShellApiTest, which is separated out from AppShellTest. Move the remaining DnsApiTest to app_shell_browsertests. BUG=388893 Committed: https://crrev.com/d6f2fa209bab91490944004b5189cd4191e09024 Cr-Commit-Position: refs/heads/master@{#293517}

Patch Set 1 : #

Total comments: 19

Patch Set 2 : jamescook #

Total comments: 2

Patch Set 3 : deprecate #

Unified diffs Side-by-side diffs Delta from patch set Stats (+245 lines, -117 lines) Patch
D chrome/browser/extensions/api/dns/dns_apitest.cc View 1 chunk +0 lines, -37 lines 0 comments Download
M chrome/browser/extensions/extension_apitest.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 chunk +0 lines, -1 line 0 comments Download
D chrome/test/data/extensions/api_test/dns/api/background.js View 1 1 chunk +0 lines, -34 lines 0 comments Download
D chrome/test/data/extensions/api_test/dns/api/manifest.json View 1 1 chunk +0 lines, -13 lines 0 comments Download
M extensions/browser/api/dns/dns_apitest.cc View 3 chunks +11 lines, -4 lines 0 comments Download
M extensions/extensions.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
M extensions/shell/app_shell.gyp View 1 chunk +3 lines, -1 line 0 comments Download
M extensions/shell/browser/shell_browsertest.cc View 1 chunk +3 lines, -16 lines 0 comments Download
A extensions/shell/test/shell_apitest.h View 1 1 chunk +37 lines, -0 lines 0 comments Download
A extensions/shell/test/shell_apitest.cc View 1 1 chunk +41 lines, -0 lines 0 comments Download
M extensions/shell/test/shell_test.h View 1 chunk +1 line, -5 lines 0 comments Download
M extensions/shell/test/shell_test.cc View 2 chunks +0 lines, -8 lines 0 comments Download
M extensions/test/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
A + extensions/test/data/api_test/dns/api/background.js View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + extensions/test/data/api_test/dns/api/manifest.json View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A extensions/test/result_catcher.h View 1 1 chunk +67 lines, -0 lines 0 comments Download
A extensions/test/result_catcher.cc View 1 1 chunk +80 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (6 generated)
Yoyo Zhou
jamescook: please review jam: please review extensions/test/DEPS addition https://chromiumcodereview.appspot.com/529293003/diff/20001/extensions/test/DEPS File extensions/test/DEPS (right): https://chromiumcodereview.appspot.com/529293003/diff/20001/extensions/test/DEPS#newcode2 extensions/test/DEPS:2: "+content/public/browser", ...
6 years, 3 months ago (2014-09-03 02:10:16 UTC) #4
James Cook
Looking good, mostly curious about ExtensionApiTest::ResultCatcher https://chromiumcodereview.appspot.com/529293003/diff/20001/extensions/shell/test/shell_apitest.cc File extensions/shell/test/shell_apitest.cc (right): https://chromiumcodereview.appspot.com/529293003/diff/20001/extensions/shell/test/shell_apitest.cc#newcode31 extensions/shell/test/shell_apitest.cc:31: return false; nit: ...
6 years, 3 months ago (2014-09-03 18:08:42 UTC) #5
jam
lgtm
6 years, 3 months ago (2014-09-04 16:14:31 UTC) #6
Yoyo Zhou
https://chromiumcodereview.appspot.com/529293003/diff/20001/extensions/shell/test/shell_apitest.cc File extensions/shell/test/shell_apitest.cc (right): https://chromiumcodereview.appspot.com/529293003/diff/20001/extensions/shell/test/shell_apitest.cc#newcode31 extensions/shell/test/shell_apitest.cc:31: return false; On 2014/09/03 18:08:41, James Cook wrote: > ...
6 years, 3 months ago (2014-09-04 21:57:42 UTC) #7
James Cook
LGTM https://chromiumcodereview.appspot.com/529293003/diff/60001/extensions/test/result_catcher.h File extensions/test/result_catcher.h (right): https://chromiumcodereview.appspot.com/529293003/diff/60001/extensions/test/result_catcher.h#newcode26 extensions/test/result_catcher.h:26: // TODO(yoz): Replace the version in ExtensionApiTest with ...
6 years, 3 months ago (2014-09-04 22:08:59 UTC) #8
Yoyo Zhou
https://chromiumcodereview.appspot.com/529293003/diff/60001/extensions/test/result_catcher.h File extensions/test/result_catcher.h (right): https://chromiumcodereview.appspot.com/529293003/diff/60001/extensions/test/result_catcher.h#newcode26 extensions/test/result_catcher.h:26: // TODO(yoz): Replace the version in ExtensionApiTest with this. ...
6 years, 3 months ago (2014-09-04 22:42:55 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoz@chromium.org/529293003/80001
6 years, 3 months ago (2014-09-04 22:47:02 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/5513)
6 years, 3 months ago (2014-09-05 04:20:23 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoz@chromium.org/529293003/80001
6 years, 3 months ago (2014-09-05 13:12:54 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:80001) as 3844dea19678bf76437ede844d1c7194c7b9fa3b
6 years, 3 months ago (2014-09-05 14:19:00 UTC) #16
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:39:28 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d6f2fa209bab91490944004b5189cd4191e09024
Cr-Commit-Position: refs/heads/master@{#293517}

Powered by Google App Engine
This is Rietveld 408576698