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

Unified Diff: chrome/browser/ui/search/search_model_unittest.cc

Issue 2888553002: Instant: small cleanups (Closed)
Patch Set: . Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/search/search_model.cc ('k') | chrome/common/search/search_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/search/search_model_unittest.cc
diff --git a/chrome/browser/ui/search/search_model_unittest.cc b/chrome/browser/ui/search/search_model_unittest.cc
index d2d2a3819058b257ce223b0175b7c0ac9a9bb9ed..27e0ad3da6096e416d5277c651eda595c01dc329 100644
--- a/chrome/browser/ui/search/search_model_unittest.cc
+++ b/chrome/browser/ui/search/search_model_unittest.cc
@@ -91,7 +91,7 @@ void SearchModelTest::TearDown() {
TEST_F(SearchModelTest, UpdateSearchModelInstantSupport) {
mock_observer.VerifyNotificationCount(0);
- EXPECT_TRUE(model->instant_support() == INSTANT_SUPPORT_UNKNOWN);
+ EXPECT_TRUE(model->instant_support() == INSTANT_SUPPORT_NO);
SearchModel::State expected_old_state = model->state();
SearchModel::State expected_new_state(model->state());
expected_new_state.instant_support = INSTANT_SUPPORT_YES;
@@ -136,7 +136,7 @@ TEST_F(SearchModelTest, UpdateSearchModelMode) {
TEST_F(SearchModelTest, UpdateSearchModelState) {
SearchModel::State expected_new_state(model->state());
- expected_new_state.instant_support = INSTANT_SUPPORT_NO;
+ expected_new_state.instant_support = INSTANT_SUPPORT_YES;
EXPECT_FALSE(model->state() == expected_new_state);
model->SetState(expected_new_state);
mock_observer.VerifyNotificationCount(1);
« no previous file with comments | « chrome/browser/ui/search/search_model.cc ('k') | chrome/common/search/search_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698