summaryrefslogtreecommitdiffstats
path: root/chromium/content/browser/frame_host/navigation_entry_impl_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/browser/frame_host/navigation_entry_impl_unittest.cc')
-rw-r--r--chromium/content/browser/frame_host/navigation_entry_impl_unittest.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chromium/content/browser/frame_host/navigation_entry_impl_unittest.cc b/chromium/content/browser/frame_host/navigation_entry_impl_unittest.cc
index 488106fefed..79768019179 100644
--- a/chromium/content/browser/frame_host/navigation_entry_impl_unittest.cc
+++ b/chromium/content/browser/frame_host/navigation_entry_impl_unittest.cc
@@ -11,6 +11,8 @@
#include "content/public/common/ssl_status.h"
#include "testing/gtest/include/gtest/gtest.h"
+using base::ASCIIToUTF16;
+
namespace content {
class NavigationEntryTest : public testing::Test {
@@ -173,11 +175,14 @@ TEST_F(NavigationEntryTest, NavigationEntryAccessors) {
// Restored
EXPECT_EQ(NavigationEntryImpl::RESTORE_NONE, entry1_->restore_type());
+ EXPECT_FALSE(entry1_->IsRestored());
EXPECT_EQ(NavigationEntryImpl::RESTORE_NONE, entry2_->restore_type());
+ EXPECT_FALSE(entry2_->IsRestored());
entry2_->set_restore_type(
NavigationEntryImpl::RESTORE_LAST_SESSION_EXITED_CLEANLY);
EXPECT_EQ(NavigationEntryImpl::RESTORE_LAST_SESSION_EXITED_CLEANLY,
entry2_->restore_type());
+ EXPECT_TRUE(entry2_->IsRestored());
// Original URL
EXPECT_EQ(GURL(), entry1_->GetOriginalRequestURL());