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

Issue 292723003: Fix browser test to work with dynamic CLD (Closed)

Created:
6 years, 7 months ago by Andrew Hayden (chromium.org)
Modified:
6 years, 7 months ago
Reviewers:
msw
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@cld_browsertest
Visibility:
Public.

Description

Fix browser test to work with dynamic CLD BUG=367239 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272068

Patch Set 1 #

Patch Set 2 : Add call to Init() to workaround gtest macro issues #

Total comments: 1

Patch Set 3 : Simplify #

Patch Set 4 : Use InProcessBrowserTest::Setup #

Patch Set 5 : Fix test logic #

Total comments: 2

Patch Set 6 : Nits addressed #

Patch Set 7 : Delay Init() even later for PathService initialization #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -0 lines) Patch
M chrome/browser/ui/views/translate/translate_bubble_view_browsertest.cc View 1 2 3 4 5 6 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Andrew Hayden (chromium.org)
Dear owner: NB: This change depends upon https://codereview.chromium.org/285293004/. We are making it possible for the ...
6 years, 7 months ago (2014-05-19 12:55:36 UTC) #1
msw
https://codereview.chromium.org/292723003/diff/20001/chrome/browser/ui/views/translate/translate_bubble_view_browsertest.cc File chrome/browser/ui/views/translate/translate_bubble_view_browsertest.cc (right): https://codereview.chromium.org/292723003/diff/20001/chrome/browser/ui/views/translate/translate_bubble_view_browsertest.cc#newcode31 chrome/browser/ui/views/translate/translate_bubble_view_browsertest.cc:31: test::ScopedCLDDynamicDataHarness dynamic_data_scope; As I asked in https://codereview.chromium.org/285293004, can TranslateBubbleViewBrowserTest ...
6 years, 7 months ago (2014-05-19 18:56:42 UTC) #2
Andrew Hayden (chromium.org)
This is done. PTAL, the bots seem like they are happy with this version.
6 years, 7 months ago (2014-05-21 09:09:47 UTC) #3
Andrew Hayden (chromium.org)
Also FWIW I was curious as to whether ASSERT would work in SetUp. Indeed, it ...
6 years, 7 months ago (2014-05-21 09:14:42 UTC) #4
Andrew Hayden (chromium.org)
I had to make one more adjustment to get the setup work done correctly; we ...
6 years, 7 months ago (2014-05-21 14:23:08 UTC) #5
msw
lgtm with nits. https://codereview.chromium.org/292723003/diff/80001/chrome/browser/ui/views/translate/translate_bubble_view_browsertest.cc File chrome/browser/ui/views/translate/translate_bubble_view_browsertest.cc (right): https://codereview.chromium.org/292723003/diff/80001/chrome/browser/ui/views/translate/translate_bubble_view_browsertest.cc#newcode24 chrome/browser/ui/views/translate/translate_bubble_view_browsertest.cc:24: bool SetUpUserDataDirectory() OVERRIDE { nit: virtual ...
6 years, 7 months ago (2014-05-21 17:08:31 UTC) #6
Andrew Hayden (chromium.org)
Nits addressed, trybots cranking. Thanks.
6 years, 7 months ago (2014-05-21 17:46:55 UTC) #7
Andrew Hayden (chromium.org)
I have spawned https://codereview.chromium.org/296943002 to include some cleanup that I did in the test util ...
6 years, 7 months ago (2014-05-21 19:44:54 UTC) #8
Andrew Hayden (chromium.org)
The CQ bit was checked by andrewhayden@chromium.org
6 years, 7 months ago (2014-05-21 19:45:11 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/andrewhayden@chromium.org/292723003/120001
6 years, 7 months ago (2014-05-21 19:58:26 UTC) #10
commit-bot: I haz the power
6 years, 7 months ago (2014-05-22 03:20:35 UTC) #11
Message was sent while issue was closed.
Change committed as 272068

Powered by Google App Engine
This is Rietveld 408576698