Add enum support to json_schema_compiler
commit2111fff9b9b9cb753c2041bb101d91a5288ec642
authorcalamity@chromium.org <calamity@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 22 Feb 2012 12:06:51 +0000 (22 12:06 +0000)
committercalamity@chromium.org <calamity@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 22 Feb 2012 12:06:51 +0000 (22 12:06 +0000)
treeaf944382f924324f9a85b578efc44c4272cdec6c
parent800892e772f745e18f0a57058e9dc2696bc6a167
Add enum support to json_schema_compiler

json_schema_compiler: add support for enum properties and tests for enums

BUG=
TEST=

Review URL: http://codereview.chromium.org/9424045

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123026 0039d316-1c4b-4281-b951-d872f2087c98
chrome/chrome_tests.gypi
tools/json_schema_compiler/cc_generator.py
tools/json_schema_compiler/compiler.py
tools/json_schema_compiler/cpp_type_generator.py
tools/json_schema_compiler/cpp_util.py
tools/json_schema_compiler/h_generator.py
tools/json_schema_compiler/model.py
tools/json_schema_compiler/test/enums.json [new file with mode: 0644]
tools/json_schema_compiler/test/enums_unittest.cc [new file with mode: 0644]
tools/json_schema_compiler/test/json_schema_compiler_tests.gyp