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

Unified Diff: chrome/browser/tab_contents/navigation_entry_unittest.cc

Issue 4200007: Refactor automation messages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: chrome_frame no longer depends on tab_contents.h Created 10 years, 2 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/tab_contents/navigation_entry.h ('k') | chrome/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/navigation_entry_unittest.cc
diff --git a/chrome/browser/tab_contents/navigation_entry_unittest.cc b/chrome/browser/tab_contents/navigation_entry_unittest.cc
index db59464361e45884ec158c2dac0274df45259945..e28cf1c29577d5a1ed5f610ede4fa9aca39f09d9 100644
--- a/chrome/browser/tab_contents/navigation_entry_unittest.cc
+++ b/chrome/browser/tab_contents/navigation_entry_unittest.cc
@@ -134,10 +134,10 @@ TEST_F(NavigationEntryTest, NavigationEntryAccessors) {
EXPECT_EQ(instance_, entry1_.get()->site_instance());
// Page type
- EXPECT_EQ(NavigationEntry::NORMAL_PAGE, entry1_.get()->page_type());
- EXPECT_EQ(NavigationEntry::NORMAL_PAGE, entry2_.get()->page_type());
- entry2_.get()->set_page_type(NavigationEntry::INTERSTITIAL_PAGE);
- EXPECT_EQ(NavigationEntry::INTERSTITIAL_PAGE, entry2_.get()->page_type());
+ EXPECT_EQ(NORMAL_PAGE, entry1_.get()->page_type());
+ EXPECT_EQ(NORMAL_PAGE, entry2_.get()->page_type());
+ entry2_.get()->set_page_type(INTERSTITIAL_PAGE);
+ EXPECT_EQ(INTERSTITIAL_PAGE, entry2_.get()->page_type());
// Referrer
EXPECT_EQ(GURL(), entry1_.get()->referrer());
« no previous file with comments | « chrome/browser/tab_contents/navigation_entry.h ('k') | chrome/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698