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

Unified Diff: chrome/browser/policy/policy_browsertest.cc

Issue 58903004: InstantExtended: update tests for Instant Extended (part 2). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 1 month 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
Index: chrome/browser/policy/policy_browsertest.cc
diff --git a/chrome/browser/policy/policy_browsertest.cc b/chrome/browser/policy/policy_browsertest.cc
index 5aaa078244b70050da9d3252f15b93aae4826f86..b7b9484d1132254799d09a621c3c82b01eb76b3c 100644
--- a/chrome/browser/policy/policy_browsertest.cc
+++ b/chrome/browser/policy/policy_browsertest.cc
@@ -1714,7 +1714,7 @@ IN_PROC_BROWSER_TEST_F(PolicyTest, HomepageLocation) {
UpdateProviderPolicy(policies);
EXPECT_TRUE(chrome::ExecuteCommand(browser(), IDC_HOME));
content::WaitForLoadStop(contents);
- EXPECT_TRUE(chrome::IsNTPURL(contents->GetURL(),browser()->profile()));
+ EXPECT_EQ(GURL(chrome::kChromeUINewTabURL), contents->GetURL());
sky 2013/11/13 21:19:36 I'm pretty sure the failure for GURL comparisons i
samarth 2013/11/13 21:41:42 I was curious, so I just ran a unit test with: G
}
IN_PROC_BROWSER_TEST_F(PolicyTest, IncognitoEnabled) {

Powered by Google App Engine
This is Rietveld 408576698