diff options
author | nyquist@chromium.org <nyquist@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-27 00:19:08 +0000 |
---|---|---|
committer | nyquist@chromium.org <nyquist@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-27 00:19:08 +0000 |
commit | b29e03312a805c9a788bafb5c46a1c37d9bd6359 (patch) | |
tree | c0bb59e942c7e3a2618607dc2270f02ab5677514 /sync/protocol/proto_value_conversions_unittest.cc | |
parent | c021a01fdffeb06b9d830e360a5548b229a92e86 (diff) | |
download | chromium_src-b29e03312a805c9a788bafb5c46a1c37d9bd6359.zip chromium_src-b29e03312a805c9a788bafb5c46a1c37d9bd6359.tar.gz chromium_src-b29e03312a805c9a788bafb5c46a1c37d9bd6359.tar.bz2 |
Add DOM Distiller sync datatype.
This adds a new sync datatype for articles.
BUG=288015
Review URL: https://codereview.chromium.org/24109005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225613 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/protocol/proto_value_conversions_unittest.cc')
-rw-r--r-- | sync/protocol/proto_value_conversions_unittest.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sync/protocol/proto_value_conversions_unittest.cc b/sync/protocol/proto_value_conversions_unittest.cc index 718a78a..3275eb0 100644 --- a/sync/protocol/proto_value_conversions_unittest.cc +++ b/sync/protocol/proto_value_conversions_unittest.cc @@ -53,7 +53,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(28, MODEL_TYPE_COUNT); + EXPECT_EQ(29, 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 @@ -219,6 +219,10 @@ TEST_F(ProtoValueConversionsTest, DictionarySpecificsToValue) { TestSpecificsToValue(DictionarySpecificsToValue); } +TEST_F(ProtoValueConversionsTest, ArticleSpecificsToValue) { + TestSpecificsToValue(ArticleSpecificsToValue); +} + // TODO(akalin): Figure out how to better test EntitySpecificsToValue. TEST_F(ProtoValueConversionsTest, EntitySpecificsToValue) { @@ -230,6 +234,7 @@ TEST_F(ProtoValueConversionsTest, EntitySpecificsToValue) { SET_FIELD(app); SET_FIELD(app_notification); SET_FIELD(app_setting); + SET_FIELD(article); SET_FIELD(autofill); SET_FIELD(autofill_profile); SET_FIELD(bookmark); |