Index: chrome/browser/sync/syncable/model_type_unittest.cc |
diff --git a/chrome/browser/sync/syncable/model_type_unittest.cc b/chrome/browser/sync/syncable/model_type_unittest.cc |
index f946f95fdba2e23075aa0dc92744d9fbd78c4c91..5461f76de113f9e8bcd1f0edb3f690b2edf581e0 100644 |
--- a/chrome/browser/sync/syncable/model_type_unittest.cc |
+++ b/chrome/browser/sync/syncable/model_type_unittest.cc |
@@ -78,5 +78,14 @@ TEST_F(ModelTypeTest, ModelTypeBitSetFromString) { |
EXPECT_FALSE(ModelTypeBitSetFromString(input_string, &output)); |
} |
+TEST_F(ModelTypeTest, IsRealDataType) { |
+ EXPECT_FALSE(IsRealDataType(UNSPECIFIED)); |
+ EXPECT_FALSE(IsRealDataType(MODEL_TYPE_COUNT)); |
+ EXPECT_FALSE(IsRealDataType(TOP_LEVEL_FOLDER)); |
+ EXPECT_TRUE(IsRealDataType(FIRST_REAL_MODEL_TYPE)); |
+ EXPECT_TRUE(IsRealDataType(BOOKMARKS)); |
+ EXPECT_TRUE(IsRealDataType(APPS)); |
+} |
+ |
} // namespace |
} // namespace syncable |