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

Issue 8565032: Fixing ProfileManagerTest to use the TestingProfile instead of a real profile. This will allow ea... (Closed)

Created:
9 years, 1 month ago by rpetterson
Modified:
9 years ago
CC:
chromium-reviews, rginda+watch_chromium.org, achuith+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Fixing ProfileManagerTest to use the TestingProfile instead of a real profile. This will allow easier testing of ProfileManager-specific functionality as well as not creating problems in the future when changes to Profile are made that should not affect the testing of ProfileManager. BUG=101434 TEST=Passes all existing ProfileManager tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112124 reverted (r112155) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112617

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 10

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 14

Patch Set 8 : '' #

Patch Set 9 : '' #

Total comments: 2

Patch Set 10 : '' #

Patch Set 11 : '' #

Patch Set 12 : '' #

Patch Set 13 : '' #

Patch Set 14 : '' #

Patch Set 15 : '' #

Patch Set 16 : '' #

Patch Set 17 : '' #

Patch Set 18 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -20 lines) Patch
M chrome/browser/profiles/profile_manager.h View 1 2 3 4 5 6 7 8 9 1 chunk +10 lines, -2 lines 0 comments Download
M chrome/browser/profiles/profile_manager.cc View 1 2 3 4 5 6 7 8 9 16 17 3 chunks +8 lines, -3 lines 0 comments Download
M chrome/browser/profiles/profile_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 8 chunks +46 lines, -12 lines 0 comments Download
M chrome/test/base/testing_profile.h View 1 2 3 4 5 6 7 8 9 3 chunks +13 lines, -0 lines 0 comments Download
M chrome/test/base/testing_profile.cc View 1 2 3 4 5 6 7 8 9 3 chunks +30 lines, -2 lines 0 comments Download
M chrome/test/base/testing_profile_manager.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (0 generated)
rpetterson
9 years, 1 month ago (2011-11-18 23:21:09 UTC) #1
Paweł Hajdan Jr.
Drive-by, and see chrome/test/OWNERS. http://codereview.chromium.org/8565032/diff/5002/chrome/test/base/testing_profile.cc File chrome/test/base/testing_profile.cc (right): http://codereview.chromium.org/8565032/diff/5002/chrome/test/base/testing_profile.cc#newcode135 chrome/test/base/testing_profile.cc:135: enable_lazy_service_initialization_(false), This new variable is ...
9 years, 1 month ago (2011-11-21 12:19:37 UTC) #2
Miranda Callahan
http://codereview.chromium.org/8565032/diff/5002/chrome/browser/profiles/profile_manager.h File chrome/browser/profiles/profile_manager.h (right): http://codereview.chromium.org/8565032/diff/5002/chrome/browser/profiles/profile_manager.h#newcode207 chrome/browser/profiles/profile_manager.h:207: virtual Profile* CreateAsyncProfile(const FilePath& path, I think making an ...
9 years, 1 month ago (2011-11-21 15:31:31 UTC) #3
rpetterson
Pawel, thanks for adding on as a test owner. http://codereview.chromium.org/8565032/diff/5002/chrome/browser/profiles/profile_manager.h File chrome/browser/profiles/profile_manager.h (right): http://codereview.chromium.org/8565032/diff/5002/chrome/browser/profiles/profile_manager.h#newcode207 chrome/browser/profiles/profile_manager.h:207: ...
9 years, 1 month ago (2011-11-21 22:59:30 UTC) #4
Miranda Callahan
On 2011/11/21 22:59:30, rpetterson wrote: > Pawel, thanks for adding on as a test owner. ...
9 years, 1 month ago (2011-11-21 23:15:00 UTC) #5
willchan no longer on Chromium
I'm fine with Miranda's approval. I don't think you need to wait on me. On ...
9 years, 1 month ago (2011-11-21 23:21:12 UTC) #6
Paweł Hajdan Jr.
http://codereview.chromium.org/8565032/diff/27001/chrome/test/base/testing_profile.cc File chrome/test/base/testing_profile.cc (right): http://codereview.chromium.org/8565032/diff/27001/chrome/test/base/testing_profile.cc#newcode417 chrome/test/base/testing_profile.cc:417: // Always lazily initialize so no check for I ...
9 years, 1 month ago (2011-11-22 09:18:41 UTC) #7
rpetterson
http://codereview.chromium.org/8565032/diff/27001/chrome/test/base/testing_profile.cc File chrome/test/base/testing_profile.cc (right): http://codereview.chromium.org/8565032/diff/27001/chrome/test/base/testing_profile.cc#newcode417 chrome/test/base/testing_profile.cc:417: // Always lazily initialize so no check for On ...
9 years, 1 month ago (2011-11-22 21:43:25 UTC) #8
Paweł Hajdan Jr.
LGTM with a comment, thank you. This is much better. http://codereview.chromium.org/8565032/diff/37001/chrome/test/base/testing_profile_manager.cc File chrome/test/base/testing_profile_manager.cc (right): http://codereview.chromium.org/8565032/diff/37001/chrome/test/base/testing_profile_manager.cc#newcode24 ...
9 years, 1 month ago (2011-11-23 09:45:33 UTC) #9
rpetterson
http://codereview.chromium.org/8565032/diff/37001/chrome/test/base/testing_profile_manager.cc File chrome/test/base/testing_profile_manager.cc (right): http://codereview.chromium.org/8565032/diff/37001/chrome/test/base/testing_profile_manager.cc#newcode24 chrome/test/base/testing_profile_manager.cc:24: virtual Profile* CreateProfileHelper(const FilePath& file_path) { On 2011/11/23 09:45:33, ...
9 years ago (2011-11-29 00:54:30 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlp@chromium.org/8565032/43001
9 years ago (2011-11-29 00:54:46 UTC) #11
commit-bot: I haz the power
Presubmit check for 8565032-43001 failed and returned exit status 1. Running presubmit commit checks ...
9 years ago (2011-11-29 00:54:50 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlp@chromium.org/8565032/48001
9 years ago (2011-11-30 00:08:43 UTC) #13
commit-bot: I haz the power
Change committed as 112124
9 years ago (2011-11-30 04:39:11 UTC) #14
rpetterson
@mirandac, I had to tweak some bits in profile_manager_unittest to handle some cros stuff. Do ...
9 years ago (2011-12-01 21:17:07 UTC) #15
Miranda Callahan
On 2011/12/01 21:17:07, rpetterson wrote: > @mirandac, I had to tweak some bits in profile_manager_unittest ...
9 years ago (2011-12-01 21:23:59 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlp@chromium.org/8565032/61003
9 years ago (2011-12-02 00:10:31 UTC) #17
commit-bot: I haz the power
9 years ago (2011-12-02 02:37:19 UTC) #18
Change committed as 112617

Powered by Google App Engine
This is Rietveld 408576698