|
json_schema_compiler: Added wider support for OBJECTs and ENUMs. Used the new 'dependencies' property in the jsons. Refactored to avoid code duplication. Added tests for new features and where tests were lacking.
BUG=
TEST=unit_tests --gtest_filter=JsonSchemaCompiler*
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=123909
Total comments: 37
Total comments: 15
Total comments: 11
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+539 lines, -532 lines) |
Patch |
|
M |
build/json_schema_compile.gypi
|
View
|
1
2
3
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/chrome_tests.gypi
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/common/extensions/api/extension.json
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
tools/json_schema_compiler/cc_generator.py
|
View
|
1
2
3
4
|
10 chunks |
+139 lines, -99 lines |
0 comments
|
Download
|
|
M |
tools/json_schema_compiler/compiler.py
|
View
|
|
2 chunks |
+13 lines, -10 lines |
0 comments
|
Download
|
|
M |
tools/json_schema_compiler/cpp_type_generator.py
|
View
|
2
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
tools/json_schema_compiler/cpp_type_generator_test.py
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
tools/json_schema_compiler/cpp_util.py
|
View
|
1
2
|
1 chunk |
+3 lines, -27 lines |
0 comments
|
Download
|
|
M |
tools/json_schema_compiler/h_generator.py
|
View
|
1
2
3
|
10 chunks |
+79 lines, -52 lines |
0 comments
|
Download
|
|
M |
tools/json_schema_compiler/model.py
|
View
|
1
2
3
|
6 chunks |
+39 lines, -12 lines |
0 comments
|
Download
|
|
D |
tools/json_schema_compiler/test/array.json
|
View
|
|
1 chunk |
+0 lines, -120 lines |
0 comments
|
Download
|
|
D |
tools/json_schema_compiler/test/array_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -143 lines |
0 comments
|
Download
|
|
A + |
tools/json_schema_compiler/test/arrays.json
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
A + |
tools/json_schema_compiler/test/arrays_unittest.cc
|
View
|
1
2
3
|
6 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
tools/json_schema_compiler/test/choices_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
tools/json_schema_compiler/test/crossref.json
|
View
|
|
2 chunks |
+33 lines, -2 lines |
0 comments
|
Download
|
|
M |
tools/json_schema_compiler/test/crossref_unittest.cc
|
View
|
1
|
2 chunks |
+59 lines, -2 lines |
0 comments
|
Download
|
|
M |
tools/json_schema_compiler/test/json_schema_compiler_tests.gyp
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
A |
tools/json_schema_compiler/test/objects.json
|
View
|
|
1 chunk |
+60 lines, -0 lines |
0 comments
|
Download
|
|
A |
tools/json_schema_compiler/test/objects_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+59 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/json_schema_compiler/test/simple_api_unittest.cc
|
View
|
|
2 chunks |
+18 lines, -1 line |
0 comments
|
Download
|
|
M |
tools/json_schema_compiler/util.h
|
View
|
|
1 chunk |
+7 lines, -15 lines |
0 comments
|
Download
|
|
M |
tools/json_schema_compiler/util_cc_helper.py
|
View
|
|
1 chunk |
+4 lines, -30 lines |
0 comments
|
Download
|
Total messages: 20 (0 generated)
|