| 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 1366dd58900514806371053879da5da17c3b8337..986c7a9466269332cec976bdfd3cfcd1e1fb0188 100644
|
| --- a/sync/protocol/proto_value_conversions_unittest.cc
|
| +++ b/sync/protocol/proto_value_conversions_unittest.cc
|
| @@ -24,6 +24,8 @@
|
| #include "sync/protocol/favicon_image_specifics.pb.h"
|
| #include "sync/protocol/favicon_tracking_specifics.pb.h"
|
| #include "sync/protocol/managed_user_setting_specifics.pb.h"
|
| +#include "sync/protocol/managed_user_shared_setting_specifics.pb.h"
|
| +#include "sync/protocol/managed_user_specifics.pb.h"
|
| #include "sync/protocol/nigori_specifics.pb.h"
|
| #include "sync/protocol/password_specifics.pb.h"
|
| #include "sync/protocol/preference_specifics.pb.h"
|
| @@ -53,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(30, MODEL_TYPE_COUNT);
|
| + EXPECT_EQ(31, 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
|
| @@ -210,6 +212,10 @@ TEST_F(ProtoValueConversionsTest, ManagedUserSpecificsToValue) {
|
| TestSpecificsToValue(ManagedUserSpecificsToValue);
|
| }
|
|
|
| +TEST_F(ProtoValueConversionsTest, ManagedUserSharedSettingSpecificsToValue) {
|
| + TestSpecificsToValue(ManagedUserSharedSettingSpecificsToValue);
|
| +}
|
| +
|
| TEST_F(ProtoValueConversionsTest, NigoriSpecificsToValue) {
|
| TestSpecificsToValue(NigoriSpecificsToValue);
|
| }
|
| @@ -275,6 +281,7 @@ TEST_F(ProtoValueConversionsTest, EntitySpecificsToValue) {
|
| SET_FIELD(favicon_tracking);
|
| SET_FIELD(history_delete_directive);
|
| SET_FIELD(managed_user_setting);
|
| + SET_FIELD(managed_user_shared_setting);
|
| SET_FIELD(managed_user);
|
| SET_FIELD(nigori);
|
| SET_FIELD(password);
|
|
|