| Index: sync/protocol/proto_value_conversions_unittest.cc
|
| diff --git a/sync/protocol/proto_value_conversions_unittest.cc b/sync/protocol/proto_value_conversions_unittest.cc
|
| index 642037c631be7369fbbe2de2c9154daad7447c5e..3d3fc6b134c30bcc2763dd9ebdadde259ca6c8f2 100644
|
| --- a/sync/protocol/proto_value_conversions_unittest.cc
|
| +++ b/sync/protocol/proto_value_conversions_unittest.cc
|
| @@ -49,7 +49,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(20, MODEL_TYPE_COUNT);
|
| + EXPECT_EQ(21, 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
|
| @@ -170,6 +170,10 @@ TEST_F(ProtoValueConversionsTest, PreferenceSpecificsToValue) {
|
| TestSpecificsToValue(PreferenceSpecificsToValue);
|
| }
|
|
|
| +TEST_F(ProtoValueConversionsTest, PushNotificationsSpecificsToValue) {
|
| + TestSpecificsToValue(PushNotificationsSpecificsToValue);
|
| +}
|
| +
|
| TEST_F(ProtoValueConversionsTest, SearchEngineSpecificsToValue) {
|
| TestSpecificsToValue(SearchEngineSpecificsToValue);
|
| }
|
| @@ -206,6 +210,7 @@ TEST_F(ProtoValueConversionsTest, EntitySpecificsToValue) {
|
| SET_FIELD(history_delete_directive);
|
| SET_FIELD(nigori);
|
| SET_FIELD(password);
|
| + SET_FIELD(push_notifications);
|
| SET_FIELD(device_info);
|
| SET_FIELD(preference);
|
| SET_FIELD(search_engine);
|
|
|