diff options
Diffstat (limited to 'chrome/browser/tab_contents/navigation_entry_unittest.cc')
-rw-r--r-- | chrome/browser/tab_contents/navigation_entry_unittest.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/tab_contents/navigation_entry_unittest.cc b/chrome/browser/tab_contents/navigation_entry_unittest.cc index 0353de2..4461cd5 100644 --- a/chrome/browser/tab_contents/navigation_entry_unittest.cc +++ b/chrome/browser/tab_contents/navigation_entry_unittest.cc @@ -174,8 +174,8 @@ TEST_F(NavigationEntryTest, NavigationEntryAccessors) { EXPECT_TRUE(entry2_.get()->has_post_data()); // Restored - EXPECT_FALSE(entry1_.get()->restored()); - EXPECT_FALSE(entry2_.get()->restored()); - entry2_.get()->set_restored(true); - EXPECT_TRUE(entry2_.get()->restored()); + EXPECT_EQ(NavigationEntry::RESTORE_NONE, entry1_->restore_type()); + EXPECT_EQ(NavigationEntry::RESTORE_NONE, entry2_->restore_type()); + entry2_->set_restore_type(NavigationEntry::RESTORE_LAST_SESSION); + EXPECT_EQ(NavigationEntry::RESTORE_LAST_SESSION, entry2_->restore_type()); } |