// 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(31, MODEL_TYPE_COUNT);
+ EXPECT_EQ(32, 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
TestSpecificsToValue(SessionSpecificsToValue);
}
+TEST_F(ProtoValueConversionsTest, SyncedNotificationAppInfoSpecificsToValue) {
+ TestSpecificsToValue(SyncedNotificationAppInfoSpecificsToValue);
+}
+
TEST_F(ProtoValueConversionsTest, SyncedNotificationSpecificsToValue) {
TestSpecificsToValue(SyncedNotificationSpecificsToValue);
}
SET_FIELD(search_engine);
SET_FIELD(session);
SET_FIELD(synced_notification);
+ SET_FIELD(synced_notification_app_info);
SET_FIELD(theme);
SET_FIELD(typed_url);
"get_updates.entries"));
}
-TEST_F(ProtoValueConversionsTest, SyncAttachmentIdToValue) {
- TestSpecificsToValue(SyncAttachmentIdToValue);
+TEST_F(ProtoValueConversionsTest, AttachmentIdToValue) {
+ TestSpecificsToValue(AttachmentIdToValue);
}
} // namespace