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

Unified Diff: components/sync/protocol/proto_value_conversions_unittest.cc

Issue 2241583003: Creating protobuf for reading list sync (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/sync/protocol/proto_value_conversions.cc ('k') | components/sync/protocol/protocol_sources.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/protocol/proto_value_conversions_unittest.cc
diff --git a/components/sync/protocol/proto_value_conversions_unittest.cc b/components/sync/protocol/proto_value_conversions_unittest.cc
index fe94e75a46c0b196a719222bb525b9d0f2c737b4..ee46001b1eeeac83285e0a1c08d9339cab9d3b95 100644
--- a/components/sync/protocol/proto_value_conversions_unittest.cc
+++ b/components/sync/protocol/proto_value_conversions_unittest.cc
@@ -60,7 +60,7 @@ TEST_F(ProtoValueConversionsTest, ProtoChangeCheck) {
// If this number changes, that means we added or removed a data
// type. Don't forget to add a unit test for {New
// type}SpecificsToValue below.
- EXPECT_EQ(38, MODEL_TYPE_COUNT);
+ EXPECT_EQ(39, MODEL_TYPE_COUNT);
// We'd also like to check if we changed any field in our messages.
// However, that's hard to do: sizeof could work, but it's
@@ -262,6 +262,10 @@ TEST_F(ProtoValueConversionsTest, PrinterSpecificsToValue) {
TestSpecificsToValue(PrinterSpecificsToValue);
}
+TEST_F(ProtoValueConversionsTest, ReadingListSpecificsToValue) {
+ TestSpecificsToValue(ReadingListSpecificsToValue);
+}
+
TEST_F(ProtoValueConversionsTest, SearchEngineSpecificsToValue) {
TestSpecificsToValue(SearchEngineSpecificsToValue);
}
@@ -332,6 +336,7 @@ TEST_F(ProtoValueConversionsTest, EntitySpecificsToValue) {
SET_FIELD(preference);
SET_FIELD(printer);
SET_FIELD(priority_preference);
+ SET_FIELD(reading_list);
SET_FIELD(search_engine);
SET_FIELD(session);
SET_FIELD(synced_notification);
« no previous file with comments | « components/sync/protocol/proto_value_conversions.cc ('k') | components/sync/protocol/protocol_sources.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698