Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / sync / protocol / proto_value_conversions_unittest.cc
index 11c9674..33615f2 100644 (file)
@@ -55,7 +55,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(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
@@ -236,6 +236,10 @@ TEST_F(ProtoValueConversionsTest, SessionSpecificsToValue) {
   TestSpecificsToValue(SessionSpecificsToValue);
 }
 
+TEST_F(ProtoValueConversionsTest, SyncedNotificationAppInfoSpecificsToValue) {
+  TestSpecificsToValue(SyncedNotificationAppInfoSpecificsToValue);
+}
+
 TEST_F(ProtoValueConversionsTest, SyncedNotificationSpecificsToValue) {
   TestSpecificsToValue(SyncedNotificationSpecificsToValue);
 }
@@ -290,6 +294,7 @@ TEST_F(ProtoValueConversionsTest, EntitySpecificsToValue) {
   SET_FIELD(search_engine);
   SET_FIELD(session);
   SET_FIELD(synced_notification);
+  SET_FIELD(synced_notification_app_info);
   SET_FIELD(theme);
   SET_FIELD(typed_url);
 
@@ -363,8 +368,8 @@ TEST_F(ProtoValueConversionsTest, ClientToServerResponseToValue) {
                                  "get_updates.entries"));
 }
 
-TEST_F(ProtoValueConversionsTest, SyncAttachmentIdToValue) {
-  TestSpecificsToValue(SyncAttachmentIdToValue);
+TEST_F(ProtoValueConversionsTest, AttachmentIdToValue) {
+  TestSpecificsToValue(AttachmentIdToValue);
 }
 
 }  // namespace