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

Unified Diff: chrome/browser/search/search_unittest.cc

Issue 2142083002: Remove search::ShouldShowGoogleLocalNTP ("google_local_ntp" field trial flag) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/search/search.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search/search_unittest.cc
diff --git a/chrome/browser/search/search_unittest.cc b/chrome/browser/search/search_unittest.cc
index baa191526ce14a085aae0e4f910096025cc457af..72b12f4a9897d745d1b4033e06829fa73474a4ad 100644
--- a/chrome/browser/search/search_unittest.cc
+++ b/chrome/browser/search/search_unittest.cc
@@ -596,23 +596,6 @@ TEST_F(SearchTest,
}
-TEST_F(SearchTest, ShouldShowGoogleLocalNTP_Default) {
- EXPECT_TRUE(ShouldShowGoogleLocalNTP());
-}
-
-TEST_F(SearchTest, ShouldShowGoogleLocalNTP_EnabledViaFinch) {
- ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial(
- "EmbeddedSearch", "Group1 espv:2 google_local_ntp:1"));
- EXPECT_TRUE(ShouldShowGoogleLocalNTP());
-}
-
-TEST_F(SearchTest, ShouldShowGoogleLocalNTP_DisabledViaFinch) {
- ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial(
- "EmbeddedSearch", "Group1 espv:2 google_local_ntp:0"));
- EXPECT_FALSE(ShouldShowGoogleLocalNTP());
-}
-
-
TEST_F(SearchTest, IsNTPURL) {
GURL invalid_url;
GURL ntp_url(chrome::kChromeUINewTabURL);
« no previous file with comments | « chrome/browser/search/search.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698