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

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

Issue 10206034: JSON schema compiler can't handle strings as types (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Small style change Created 8 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/model.py ('k') | tools/json_schema_compiler/test/fontSettings.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/json_schema_compiler/test/dependencyTester.json
diff --git a/tools/json_schema_compiler/test/dependencyTester.json b/tools/json_schema_compiler/test/dependencyTester.json
new file mode 100644
index 0000000000000000000000000000000000000000..43b145a34aad738152cd32a161d087ed8bfde61e
--- /dev/null
+++ b/tools/json_schema_compiler/test/dependencyTester.json
@@ -0,0 +1,32 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+[
+ {
+ "namespace": "dependencyTester",
+ "dependencies": [ "browserAction", "fontSettings" ],
+ "types": [],
+ "functions": [
+ {
+ "name": "setTitle",
+ "type": "function",
+ "description": "hi",
+ "parameters": [
+ {
+ "name": "details",
+ "type": "object",
+ "properties": {
+ "color": {
+ "$ref": "ColorArray"
+ },
+ "scriptCode": {
+ "$ref": "ScriptCode"
+ }
+ }
+ }
+ ]
+ }
+ ]
+ }
+]
« no previous file with comments | « tools/json_schema_compiler/model.py ('k') | tools/json_schema_compiler/test/fontSettings.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698