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

Unified Diff: tools/json_schema_compiler/json_schema_test.py

Issue 16876004: Updating JSON Schema Compiler to add description field to schemas. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (kalman) rebase Created 7 years, 6 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/idl_schema.py ('k') | tools/json_schema_compiler/model.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/json_schema_compiler/json_schema_test.py
diff --git a/tools/json_schema_compiler/json_schema_test.py b/tools/json_schema_compiler/json_schema_test.py
index ffba6539e00b9f5e0700d1a7d1e9b44b580ffaa2..11ba61e443a6907cb451752f64e86e231f52d5ba 100755
--- a/tools/json_schema_compiler/json_schema_test.py
+++ b/tools/json_schema_compiler/json_schema_test.py
@@ -12,12 +12,14 @@ class JsonSchemaUnittest(unittest.TestCase):
compiled = [
{
"namespace": "compile",
+ "description": "The compile API.",
"functions": [],
"types": {}
},
{
"namespace": "functions",
+ "description": "The functions API.",
"functions": [
{
"id": "two"
@@ -34,6 +36,7 @@ class JsonSchemaUnittest(unittest.TestCase):
{
"namespace": "types",
+ "description": "The types API.",
"functions": [
{ "id": "one" }
],
@@ -49,6 +52,7 @@ class JsonSchemaUnittest(unittest.TestCase):
{
"namespace": "nested",
+ "description": "The nested API.",
"properties": {
"sync": {
"functions": [
« no previous file with comments | « tools/json_schema_compiler/idl_schema.py ('k') | tools/json_schema_compiler/model.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698