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

Issue 5543001: Tests for incognito app install, plus some cleanup. (Closed)

Created:
10 years ago by Tessa MacDuff
Modified:
9 years, 7 months ago
Reviewers:
Aaron Boodman
CC:
chromium-reviews, Erik does not do reviews, pam+watch_chromium.org, ben+cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Tests for incognito app install, plus some cleanup. BUG=62752 TEST=browser_tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72192

Patch Set 1 #

Patch Set 2 : refernce bug which will make apps panel available in incognito #

Patch Set 3 : Add tests #

Patch Set 4 : add app permissions file #

Total comments: 4

Patch Set 5 : "Check URL after install" #

Patch Set 6 : Remove pem file #

Patch Set 7 : Pack extension in test, remove crx #

Patch Set 8 : Use FILE_PATH_LITERAL #

Total comments: 9

Patch Set 9 : make PackExtension return FilePath and change ASSERTs to ADD_FAILURES #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -3 lines) Patch
M chrome/browser/extensions/extension_browsertest.h View 1 2 3 4 5 6 7 8 3 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_browsertest.cc View 1 2 3 4 5 6 7 8 4 chunks +70 lines, -3 lines 0 comments Download
M chrome/browser/extensions/extension_install_ui_browsertest.cc View 1 2 3 4 5 6 2 chunks +39 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Tessa MacDuff
I'm playing with extension_install_ui_browsertest.cc to see if I can add a useful test for this. ...
10 years ago (2010-12-03 23:33:41 UTC) #1
Aaron Boodman
Ah, nice easy fix. LGTM.
10 years ago (2010-12-04 00:43:19 UTC) #2
Aaron Boodman
If you can find a good way to test, hooray, but it's not critical for ...
10 years ago (2010-12-04 00:43:39 UTC) #3
Tessa MacDuff
I've uploaded my browsertest. The thing I was most concerned about was the changes to ...
10 years ago (2010-12-14 23:02:11 UTC) #4
Aaron Boodman
This seems pretty good. http://codereview.chromium.org/5543001/diff/10001/chrome/browser/extensions/extension_browsertest.cc File chrome/browser/extensions/extension_browsertest.cc (right): http://codereview.chromium.org/5543001/diff/10001/chrome/browser/extensions/extension_browsertest.cc#newcode125 chrome/browser/extensions/extension_browsertest.cc:125: MockAutoConfirmExtensionInstallUI(Profile* profile) : ExtensionInstallUI(profile) {} ...
10 years ago (2010-12-14 23:21:44 UTC) #5
Tessa MacDuff
Do I need to worry about the app-id? Can it change? http://codereview.chromium.org/5543001/diff/10001/chrome/browser/extensions/extension_browsertest.cc File chrome/browser/extensions/extension_browsertest.cc (right): ...
10 years ago (2010-12-15 00:38:55 UTC) #6
Aaron Boodman
LGTM On 2010/12/15 00:38:55, Tessa MacDuff wrote: > Do I need to worry about the ...
10 years ago (2010-12-15 00:46:15 UTC) #7
Tessa MacDuff
Per discussion last night (try failure when CL contains new crx file), I removed the ...
10 years ago (2010-12-15 21:00:24 UTC) #8
Aaron Boodman
http://codereview.chromium.org/5543001/diff/26001/chrome/browser/extensions/extension_browsertest.cc File chrome/browser/extensions/extension_browsertest.cc (right): http://codereview.chromium.org/5543001/diff/26001/chrome/browser/extensions/extension_browsertest.cc#newcode111 chrome/browser/extensions/extension_browsertest.cc:111: ASSERT_TRUE(file_util::Delete(*crx_path, false)); You should double-check that this returns true ...
10 years ago (2010-12-15 22:29:18 UTC) #9
Tessa MacDuff
http://codereview.chromium.org/5543001/diff/26001/chrome/browser/extensions/extension_browsertest.cc File chrome/browser/extensions/extension_browsertest.cc (right): http://codereview.chromium.org/5543001/diff/26001/chrome/browser/extensions/extension_browsertest.cc#newcode111 chrome/browser/extensions/extension_browsertest.cc:111: ASSERT_TRUE(file_util::Delete(*crx_path, false)); On 2010/12/15 22:29:18, Aaron Boodman wrote: > ...
10 years ago (2010-12-16 00:08:04 UTC) #10
Aaron Boodman
Sorry, what ASSERTs do you mean here?
9 years, 11 months ago (2011-01-14 20:57:39 UTC) #11
Aaron Boodman
Picking up ancient change that seems to have fallen through the cracks. Doing the changes ...
9 years, 11 months ago (2011-01-14 20:58:43 UTC) #12
Tessa MacDuff
Ready for another look. http://codereview.chromium.org/5543001/diff/26001/chrome/browser/extensions/extension_browsertest.h File chrome/browser/extensions/extension_browsertest.h (right): http://codereview.chromium.org/5543001/diff/26001/chrome/browser/extensions/extension_browsertest.h#newcode34 chrome/browser/extensions/extension_browsertest.h:34: void PackExtension(const FilePath& dir_path, FilePath* ...
9 years, 11 months ago (2011-01-20 22:20:24 UTC) #13
Aaron Boodman
9 years, 11 months ago (2011-01-20 23:00:17 UTC) #14
lgtm

Powered by Google App Engine
This is Rietveld 408576698