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

Unified Diff: components/reading_list/reading_list_entry_unittest.cc

Issue 2514333003: Componentize Reading List (Closed)
Patch Set: rebase Created 4 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
« no previous file with comments | « components/reading_list/reading_list_entry.cc ('k') | components/reading_list/reading_list_model.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/reading_list/reading_list_entry_unittest.cc
diff --git a/ios/chrome/browser/reading_list/reading_list_entry_unittest.cc b/components/reading_list/reading_list_entry_unittest.cc
similarity index 98%
rename from ios/chrome/browser/reading_list/reading_list_entry_unittest.cc
rename to components/reading_list/reading_list_entry_unittest.cc
index ff756d3a1adaf559c4378a83cd2abac3de152414..eeedf09e9e8ece7e6afc2f233638368e743bffab 100644
--- a/ios/chrome/browser/reading_list/reading_list_entry_unittest.cc
+++ b/components/reading_list/reading_list_entry_unittest.cc
@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ios/chrome/browser/reading_list/reading_list_entry.h"
+#include "components/reading_list/reading_list_entry.h"
#include "base/memory/ptr_util.h"
#include "base/test/simple_test_tick_clock.h"
+#include "components/reading_list/proto/reading_list.pb.h"
#include "components/sync/protocol/reading_list_specifics.pb.h"
-#include "ios/chrome/browser/reading_list/proto/reading_list.pb.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
@@ -52,7 +52,6 @@ TEST(ReadingListEntry, DistilledPathAndURL) {
const base::FilePath distilled_path("distilled/page.html");
e.SetDistilledPath(distilled_path);
EXPECT_EQ(distilled_path, e.DistilledPath());
- EXPECT_EQ(GURL("chrome://offline/distilled/page.html"), e.DistilledURL());
}
TEST(ReadingListEntry, DistilledState) {
« no previous file with comments | « components/reading_list/reading_list_entry.cc ('k') | components/reading_list/reading_list_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698