Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(237)

Unified Diff: tools/json_schema_compiler/test/crossref.json

Issue 1100333006: Make the JSON Schema compiler handle enums declared in other namespaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: typo Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/json_schema_compiler/h_generator.py ('k') | tools/json_schema_compiler/test/crossref_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/json_schema_compiler/test/crossref.json
diff --git a/tools/json_schema_compiler/test/crossref.json b/tools/json_schema_compiler/test/crossref.json
index a1e994b625b78ade8f18213c1d59e5c2c4d186d2..ca67a46a309f134115117de05d4ac8afa3be4fea 100644
--- a/tools/json_schema_compiler/test/crossref.json
+++ b/tools/json_schema_compiler/test/crossref.json
@@ -9,7 +9,17 @@
"type": "object",
"properties": {
"testType": {
- "$ref": "simple_api.TestType",
+ "$ref": "simple_api.TestType"
+ },
+ "testEnumRequired": {
+ "$ref": "simple_api.TestEnum"
+ },
+ "testEnumOptional": {
+ "$ref": "simple_api.TestEnum",
+ "optional": true
+ },
+ "testEnumOptionalExtra": {
+ "$ref": "simple_api.TestEnum",
"optional": true
}
}
« no previous file with comments | « tools/json_schema_compiler/h_generator.py ('k') | tools/json_schema_compiler/test/crossref_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698