| 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
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f011b22e5511dfdf344fb07668f55a9084418a94
|
| --- /dev/null
|
| +++ b/chrome/common/extensions/docs/server2/test_data/test_json/expected_test_file.json
|
| @@ -0,0 +1,86 @@
|
| +{
|
| + "functions": [
|
| + {
|
| + "callback": {
|
| + "name": "callback",
|
| + "parameters": [
|
| + {
|
| + "name": "results",
|
| + "type": "ARRAY",
|
| + "array": {
|
| + "name": "resultsElement",
|
| + "ref": "TypeA",
|
| + "type": "REF",
|
| + "optional": false,
|
| + "properties": [],
|
| + "description": null
|
| + },
|
| + "optional": false,
|
| + "properties": [],
|
| + "description": null
|
| + }
|
| + ]
|
| + },
|
| + "name": "get",
|
| + "parameters": [
|
| + {
|
| + "name": "a",
|
| + "type": "CHOICES",
|
| + "choices": [
|
| + {
|
| + "optional": true,
|
| + "properties": [],
|
| + "type": "STRING",
|
| + "name": "a",
|
| + "description": null
|
| + },
|
| + {
|
| + "name": "a",
|
| + "type": "ARRAY",
|
| + "array": {
|
| + "optional": false,
|
| + "properties": [],
|
| + "type": "STRING",
|
| + "name": "aElement",
|
| + "description": null
|
| + },
|
| + "optional": true,
|
| + "properties": [],
|
| + "description": null
|
| + }
|
| + ],
|
| + "optional": false,
|
| + "properties": [],
|
| + "description": "a param"
|
| + }
|
| + ],
|
| + "description": "Gets stuff."
|
| + }
|
| + ],
|
| + "name": "tester",
|
| + "types": [
|
| + {
|
| + "properties": [
|
| + {
|
| + "name": "b",
|
| + "type": "ARRAY",
|
| + "array": {
|
| + "name": "bElement",
|
| + "ref": "TypeA",
|
| + "type": "REF",
|
| + "optional": false,
|
| + "properties": [],
|
| + "description": null
|
| + },
|
| + "optional": true,
|
| + "properties": [],
|
| + "description": "List of TypeA."
|
| + }
|
| + ],
|
| + "functions": [],
|
| + "type": "OBJECT",
|
| + "name": "TypeA",
|
| + "description": "A cool thing."
|
| + }
|
| + ]
|
| +}
|
|
|