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

Side by Side Diff: components/sessions/ios/ios_serialized_navigation_builder_unittest.cc

Issue 1361613002: Move all core files in //components/sessions into core/ subdir (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/sessions/ios/ios_serialized_navigation_builder.h" 5 #include "components/sessions/ios/ios_serialized_navigation_builder.h"
6 6
7 #include "components/sessions/serialized_navigation_entry.h" 7 #include "components/sessions/core/serialized_navigation_entry.h"
8 #include "components/sessions/serialized_navigation_entry_test_helper.h" 8 #include "components/sessions/core/serialized_navigation_entry_test_helper.h"
9 #include "ios/web/public/favicon_status.h" 9 #include "ios/web/public/favicon_status.h"
10 #include "ios/web/public/navigation_item.h" 10 #include "ios/web/public/navigation_item.h"
11 #include "ios/web/public/referrer.h" 11 #include "ios/web/public/referrer.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 13
14 namespace sessions { 14 namespace sessions {
15 15
16 namespace { 16 namespace {
17 // Creates a NavigationItem from the test_data constants in 17 // Creates a NavigationItem from the test_data constants in
18 // serialized_navigation_entry_test_helper.h. 18 // serialized_navigation_entry_test_helper.h.
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 new_navigation_item->GetVirtualURL()); 95 new_navigation_item->GetVirtualURL());
96 EXPECT_EQ(old_navigation_item->GetTitle(), 96 EXPECT_EQ(old_navigation_item->GetTitle(),
97 new_navigation_item->GetTitle()); 97 new_navigation_item->GetTitle());
98 EXPECT_EQ(ui::PAGE_TRANSITION_RELOAD, 98 EXPECT_EQ(ui::PAGE_TRANSITION_RELOAD,
99 new_navigation_item->GetTransitionType()); 99 new_navigation_item->GetTransitionType());
100 EXPECT_EQ(old_navigation_item->GetTimestamp(), 100 EXPECT_EQ(old_navigation_item->GetTimestamp(),
101 new_navigation_item->GetTimestamp()); 101 new_navigation_item->GetTimestamp());
102 } 102 }
103 103
104 } // namespace sessions 104 } // namespace sessions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698