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

Side by Side Diff: components/dom_distiller/core/article_entry_unittest.cc

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/dom_distiller/core/article_entry.h" 5 #include "components/dom_distiller/core/article_entry.h"
6 6
7 #include "sync/protocol/sync.pb.h" 7 #include "components/sync/protocol/sync.pb.h"
8 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
9 9
10 using sync_pb::EntitySpecifics; 10 using sync_pb::EntitySpecifics;
11 using sync_pb::ArticlePage; 11 using sync_pb::ArticlePage;
12 using sync_pb::ArticleSpecifics; 12 using sync_pb::ArticleSpecifics;
13 using testing::AssertionResult; 13 using testing::AssertionResult;
14 using testing::AssertionSuccess; 14 using testing::AssertionSuccess;
15 using testing::AssertionFailure; 15 using testing::AssertionFailure;
16 16
17 namespace dom_distiller { 17 namespace dom_distiller {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 EXPECT_FALSE(AreEntriesEqual(left, right)); 55 EXPECT_FALSE(AreEntriesEqual(left, right));
56 56
57 right = left; 57 right = left;
58 EXPECT_TRUE(AreEntriesEqual(left, right)); 58 EXPECT_TRUE(AreEntriesEqual(left, right));
59 59
60 *right.add_pages() = right_page; 60 *right.add_pages() = right_page;
61 EXPECT_FALSE(AreEntriesEqual(left, right)); 61 EXPECT_FALSE(AreEntriesEqual(left, right));
62 } 62 }
63 63
64 } // namespace dom_distiller 64 } // namespace dom_distiller
OLDNEW
« no previous file with comments | « components/dom_distiller/core/article_entry.cc ('k') | components/dom_distiller/core/dom_distiller_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698