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

Issue 24420003: Media Galleries: Run API tests in a temp directory with an injected common.js file. Avoid the need … (Closed)

Created:
7 years, 3 months ago by Lei Zhang
Modified:
7 years, 2 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, vandebo (ex-Chrome), Lei Zhang, Greg Billock, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

Media Galleries: Run API tests in a temp directory with an injected common.js file. Avoid the need for nested tests to share common JS code. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=225917

Patch Set 1 #

Total comments: 4

Patch Set 2 : Make it more obvious there's a JS file being injected into the test cases #

Patch Set 3 : Make it more obvious there's a JS file being injected into the test cases (try 2) #

Messages

Total messages: 13 (0 generated)
Lei Zhang
This applies on top of https://codereview.chromium.org/24242010/ and https://codereview.chromium.org/24356005/
7 years, 3 months ago (2013-09-24 23:06:41 UTC) #1
tommycli
What's currently there is a kludge. This might be still kind of a hack though. ...
7 years, 3 months ago (2013-09-24 23:26:10 UTC) #2
Lei Zhang
https://codereview.chromium.org/24420003/diff/1/chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc File chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc (right): https://codereview.chromium.org/24420003/diff/1/chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc#newcode109 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc:109: base::AutoReset<base::FilePath> reset(&test_data_dir_, temp_dir.path()); On 2013/09/24 23:26:10, tommycli wrote: > ...
7 years, 3 months ago (2013-09-24 23:41:57 UTC) #3
tommycli
On 2013/09/24 23:41:57, Lei Zhang wrote: > https://codereview.chromium.org/24420003/diff/1/chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc > File chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc > (right): > > ...
7 years, 2 months ago (2013-09-27 18:32:21 UTC) #4
tommycli
On 2013/09/27 18:32:21, tommycli wrote: > On 2013/09/24 23:41:57, Lei Zhang wrote: > > > ...
7 years, 2 months ago (2013-09-27 18:33:15 UTC) #5
Lei Zhang
I renamed common.js to common_injected.js. Is that more obvious? I don't want to have to ...
7 years, 2 months ago (2013-09-27 19:26:58 UTC) #6
tommycli
On 2013/09/27 19:26:58, Lei Zhang wrote: > I renamed common.js to common_injected.js. Is that more ...
7 years, 2 months ago (2013-09-27 19:30:03 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thestig@chromium.org/24420003/16001
7 years, 2 months ago (2013-09-27 22:16:32 UTC) #8
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=82764
7 years, 2 months ago (2013-09-28 01:55:28 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thestig@chromium.org/24420003/16001
7 years, 2 months ago (2013-09-28 04:19:09 UTC) #10
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=82937
7 years, 2 months ago (2013-09-28 08:11:15 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thestig@chromium.org/24420003/16001
7 years, 2 months ago (2013-09-30 03:02:37 UTC) #12
commit-bot: I haz the power
7 years, 2 months ago (2013-09-30 03:59:07 UTC) #13
Message was sent while issue was closed.
Change committed as 225917

Powered by Google App Engine
This is Rietveld 408576698