Index: chrome/common/extensions/docs/server2/test_data/test_json/expected_test_file.json |
diff --git a/chrome/common/extensions/docs/server2/test_data/test_json/expected_test_file.json b/chrome/common/extensions/docs/server2/test_data/test_json/expected_test_file.json |
index 30cd8629d2f560ed25563ea00b6b2ac86c9820d2..67d0a8ff9e35ff30c604d4df928c5d9f399ea6c5 100644 |
--- a/chrome/common/extensions/docs/server2/test_data/test_json/expected_test_file.json |
+++ b/chrome/common/extensions/docs/server2/test_data/test_json/expected_test_file.json |
@@ -4,160 +4,161 @@ |
"callback": { |
"simple_type": { |
"simple_type": "function" |
- }, |
- "last": true, |
- "name": "callback", |
+ }, |
+ "last": true, |
+ "name": "callback", |
"parameters": [ |
{ |
- "functions": [], |
- "last": true, |
- "name": "results", |
+ "functions": [], |
+ "last": true, |
+ "name": "results", |
"array": { |
- "functions": [], |
- "name": "resultsElement", |
+ "functions": [], |
+ "name": "resultsElement", |
"link": { |
- "text": "TypeA", |
+ "text": "TypeA", |
"href": "tester.html#type-TypeA" |
- }, |
- "optional": false, |
- "properties": [], |
+ }, |
+ "optional": false, |
+ "properties": [], |
"description": null |
- }, |
- "optional": false, |
- "properties": [], |
+ }, |
+ "optional": false, |
+ "properties": [], |
"description": null |
} |
- ], |
- "optional": false, |
+ ], |
+ "optional": false, |
"description": null |
- }, |
- "returns": null, |
- "name": "get", |
+ }, |
+ "returns": null, |
+ "name": "get", |
"parameters": [ |
{ |
- "functions": [], |
- "name": "a", |
+ "functions": [], |
+ "name": "a", |
"choices": [ |
{ |
- "functions": [], |
- "name": "a", |
- "simple_type": "string", |
- "optional": true, |
- "properties": [], |
+ "functions": [], |
+ "name": "a", |
+ "simple_type": "string", |
+ "optional": true, |
+ "properties": [], |
"description": null |
- }, |
+ }, |
{ |
- "functions": [], |
- "last": true, |
- "name": "a", |
+ "functions": [], |
+ "last": true, |
+ "name": "a", |
"array": { |
- "functions": [], |
- "name": "aElement", |
- "simple_type": "string", |
- "optional": false, |
- "properties": [], |
+ "functions": [], |
+ "name": "aElement", |
+ "simple_type": "string", |
+ "optional": false, |
+ "properties": [], |
"description": null |
- }, |
- "optional": true, |
- "properties": [], |
+ }, |
+ "optional": true, |
+ "properties": [], |
"description": null |
} |
- ], |
- "optional": false, |
- "properties": [], |
+ ], |
+ "optional": false, |
+ "properties": [], |
"description": "a param" |
- }, |
+ }, |
{ |
"simple_type": { |
"simple_type": "function" |
- }, |
- "last": true, |
- "name": "callback", |
+ }, |
+ "last": true, |
+ "name": "callback", |
"parameters": [ |
{ |
- "functions": [], |
- "last": true, |
- "name": "results", |
+ "functions": [], |
+ "last": true, |
+ "name": "results", |
"array": { |
- "functions": [], |
- "name": "resultsElement", |
+ "functions": [], |
+ "name": "resultsElement", |
"link": { |
- "text": "TypeA", |
+ "text": "TypeA", |
"href": "tester.html#type-TypeA" |
- }, |
- "optional": false, |
- "properties": [], |
+ }, |
+ "optional": false, |
+ "properties": [], |
"description": null |
- }, |
- "optional": false, |
- "properties": [], |
+ }, |
+ "optional": false, |
+ "properties": [], |
"description": null |
} |
- ], |
- "optional": false, |
+ ], |
+ "optional": false, |
"description": null |
} |
- ], |
+ ], |
"description": "Gets stuff." |
} |
- ], |
- "properties": [], |
- "name": "tester", |
+ ], |
+ "name": "tester", |
+ "events": [ |
+ { |
+ "name": "EventA", |
+ "parameters": [ |
+ { |
+ "functions": [], |
+ "name": "id", |
+ "simple_type": "string", |
+ "optional": false, |
+ "properties": [], |
+ "description": null |
+ }, |
+ { |
+ "functions": [], |
+ "last": true, |
+ "name": "bookmark", |
+ "link": { |
+ "text": "TypeA", |
+ "href": "tester.html#type-TypeA" |
+ }, |
+ "optional": false, |
+ "properties": [], |
+ "description": null |
+ } |
+ ], |
+ "description": "A cool event." |
+ } |
+ ], |
+ "samples": [], |
+ "properties": [], |
"types": [ |
{ |
+ "functions": [], |
+ "name": "TypeA", |
+ "simple_type": "object", |
"properties": [ |
{ |
- "functions": [], |
- "name": "b", |
+ "functions": [], |
+ "name": "b", |
"array": { |
- "functions": [], |
- "name": "bElement", |
+ "functions": [], |
+ "name": "bElement", |
"link": { |
- "text": "TypeA", |
+ "text": "TypeA", |
"href": "tester.html#type-TypeA" |
- }, |
- "optional": false, |
- "properties": [], |
+ }, |
+ "optional": false, |
+ "properties": [], |
"description": null |
- }, |
- "optional": true, |
- "properties": [], |
+ }, |
+ "optional": true, |
+ "properties": [], |
"description": "List of TypeA." |
} |
- ], |
+ ], |
"events": [], |
- "functions": [], |
- "name": "TypeA", |
- "simple_type": "object", |
"description": "A cool thing." |
} |
- ], |
- "events": [ |
- { |
- "name": "EventA", |
- "parameters": [ |
- { |
- "functions": [], |
- "name": "id", |
- "simple_type": "string", |
- "optional": false, |
- "properties": [], |
- "description": null |
- }, |
- { |
- "functions": [], |
- "last": true, |
- "name": "bookmark", |
- "link": { |
- "text": "TypeA", |
- "href": "tester.html#type-TypeA" |
- }, |
- "optional": false, |
- "properties": [], |
- "description": null |
- } |
- ], |
- "description": "A cool event." |
- } |
] |
} |