diff options
author | joaodasilva@chromium.org <joaodasilva@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-06 10:50:56 +0000 |
---|---|---|
committer | joaodasilva@chromium.org <joaodasilva@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-06 10:50:56 +0000 |
commit | fe857a052b8e3528f83fc80ecc19ed7c0f29db47 (patch) | |
tree | 374f738d8676512add26cbb21f60a4f8e2bc2837 /tools/json_schema_compiler/test | |
parent | b560539c1fabaf41e75050e93cf3474d6c30cd8c (diff) | |
download | chromium_src-fe857a052b8e3528f83fc80ecc19ed7c0f29db47.zip chromium_src-fe857a052b8e3528f83fc80ecc19ed7c0f29db47.tar.gz chromium_src-fe857a052b8e3528f83fc80ecc19ed7c0f29db47.tar.bz2 |
Added the "unmodifiable" property to chrome.bookmarks.BookmarkTreeNode.
This optional property indicates the reason why this BookmarkTreeNode can't
be modified by the user nor the extension. For now the only value defined is
"managed", indicating that this bookmark was configured by the system
administrator.
If the property is not present then the bookmark is modifiable (default).
BUG=49598
R=kalman@chromium.org
Review URL: https://codereview.chromium.org/320473002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275387 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/json_schema_compiler/test')
-rw-r--r-- | tools/json_schema_compiler/test/enums_unittest.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/json_schema_compiler/test/enums_unittest.cc b/tools/json_schema_compiler/test/enums_unittest.cc index 0a2d5d1..9bbadd9 100644 --- a/tools/json_schema_compiler/test/enums_unittest.cc +++ b/tools/json_schema_compiler/test/enums_unittest.cc @@ -42,6 +42,11 @@ TEST(JsonSchemaCompilerEnumsTest, EnumsAsTypes) { } { HasEnumeration enumeration; + EXPECT_EQ(ENUMERATION_NONE, enumeration.enumeration); + EXPECT_EQ(ENUMERATION_NONE, enumeration.optional_enumeration); + } + { + HasEnumeration enumeration; base::DictionaryValue value; ASSERT_FALSE(HasEnumeration::Populate(value, &enumeration)); |