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

Issue 10910232: SearchViewController needs more tests (Closed)

Created:
8 years, 3 months ago by dhollowa
Modified:
8 years, 3 months ago
Reviewers:
sky, kuan
CC:
chromium-reviews, dhollowa+watch_chromium.org, tfarina
Visibility:
Public.

Description

SearchViewController needs more tests Adds tests to verify the transition from NTP to when suggestions are shown, both for "native" suggestions, and "instant" (html) suggestions. BUG=145827 TEST=SearchViewControllerTest.* browser tests. R=sky@chromium.org, kuan@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=156679

Patch Set 1 #

Total comments: 2

Patch Set 2 : Header order. #

Total comments: 2

Patch Set 3 : Encapsulation violations #

Patch Set 4 : Deflakify #

Total comments: 1

Patch Set 5 : Spelling #

Unified diffs Side-by-side diffs Delta from patch set Stats (+203 lines, -8 lines) Patch
M chrome/browser/ui/search/search_model.h View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/frame/contents_container.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/search_view_controller.h View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/search_view_controller.cc View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/search_view_controller_browsertest.cc View 1 2 3 6 chunks +187 lines, -4 lines 0 comments Download
M chrome/common/chrome_notification_types.h View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
dhollowa
8 years, 3 months ago (2012-09-12 17:52:55 UTC) #1
kuan
lgtm, just nit. http://codereview.chromium.org/10910232/diff/1/chrome/browser/ui/views/search_view_controller_browsertest.cc File chrome/browser/ui/views/search_view_controller_browsertest.cc (right): http://codereview.chromium.org/10910232/diff/1/chrome/browser/ui/views/search_view_controller_browsertest.cc#newcode26 chrome/browser/ui/views/search_view_controller_browsertest.cc:26: #include "chrome/common/chrome_notification_types.h" nit: this shld be ...
8 years, 3 months ago (2012-09-12 18:27:43 UTC) #2
dhollowa
http://codereview.chromium.org/10910232/diff/1/chrome/browser/ui/views/search_view_controller_browsertest.cc File chrome/browser/ui/views/search_view_controller_browsertest.cc (right): http://codereview.chromium.org/10910232/diff/1/chrome/browser/ui/views/search_view_controller_browsertest.cc#newcode26 chrome/browser/ui/views/search_view_controller_browsertest.cc:26: #include "chrome/common/chrome_notification_types.h" On 2012/09/12 18:27:43, kuan wrote: > nit: ...
8 years, 3 months ago (2012-09-12 18:49:22 UTC) #3
sky
LGTM http://codereview.chromium.org/10910232/diff/4002/chrome/browser/ui/views/frame/contents_container.h File chrome/browser/ui/views/frame/contents_container.h (right): http://codereview.chromium.org/10910232/diff/4002/chrome/browser/ui/views/frame/contents_container.h#newcode33 chrome/browser/ui/views/frame/contents_container.h:33: views::WebView* active() const { return active_; } const ...
8 years, 3 months ago (2012-09-12 21:28:49 UTC) #4
dhollowa
http://codereview.chromium.org/10910232/diff/4002/chrome/browser/ui/views/frame/contents_container.h File chrome/browser/ui/views/frame/contents_container.h (right): http://codereview.chromium.org/10910232/diff/4002/chrome/browser/ui/views/frame/contents_container.h#newcode33 chrome/browser/ui/views/frame/contents_container.h:33: views::WebView* active() const { return active_; } On 2012/09/12 ...
8 years, 3 months ago (2012-09-12 22:12:01 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dhollowa@chromium.org/10910232/6002
8 years, 3 months ago (2012-09-12 22:13:06 UTC) #6
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test. Builder is ...
8 years, 3 months ago (2012-09-13 01:12:17 UTC) #7
dhollowa
Hi Folks, small update to de-flake the tests. Added a notification to signal the ntp->suggestion ...
8 years, 3 months ago (2012-09-13 20:10:10 UTC) #8
kuan
lgtm, just nit. http://codereview.chromium.org/10910232/diff/5004/chrome/common/chrome_notification_types.h File chrome/common/chrome_notification_types.h (right): http://codereview.chromium.org/10910232/diff/5004/chrome/common/chrome_notification_types.h#newcode1256 chrome/common/chrome_notification_types.h:1256: // The source is the SearchViewController ...
8 years, 3 months ago (2012-09-13 20:16:51 UTC) #9
dhollowa
TBR'ing since this is such a small delta.
8 years, 3 months ago (2012-09-13 21:01:05 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dhollowa@chromium.org/10910232/10009
8 years, 3 months ago (2012-09-13 21:02:43 UTC) #11
commit-bot: I haz the power
8 years, 3 months ago (2012-09-13 23:43:28 UTC) #12
Change committed as 156679

Powered by Google App Engine
This is Rietveld 408576698