| 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 d1654a8b489be0adb00f375153108c0fd53a776c..e2ce4896e97b0ef5c65b260da493fffad6e2c52e 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
|
| @@ -1,6 +1,8 @@
|
| {
|
| "functions": [
|
| {
|
| + "name": "get",
|
| + "parent_name": null,
|
| "callback": {
|
| "simple_type": {
|
| "simple_type": "function"
|
| @@ -12,9 +14,13 @@
|
| "functions": [],
|
| "last": true,
|
| "name": "results",
|
| + "parent_name": "callback",
|
| + "id": "property-callback-results",
|
| "array": {
|
| "functions": [],
|
| "name": "resultsElement",
|
| + "parent_name": "results",
|
| + "id": "property-results-resultsElement",
|
| "link": {
|
| "text": "TypeA",
|
| "href": "#type-TypeA"
|
| @@ -32,16 +38,19 @@
|
| "description": null
|
| },
|
| "returns": null,
|
| - "name": "get",
|
| "parameters": [
|
| {
|
| "functions": [],
|
| "name": "a",
|
| + "parent_name": "get",
|
| + "id": "property-get-a",
|
| "choices": [
|
| {
|
| "functions": [],
|
| - "name": "a",
|
| "simple_type": "string",
|
| + "name": "a",
|
| + "parent_name": "a",
|
| + "id": "property-a-a",
|
| "optional": true,
|
| "properties": [],
|
| "description": null
|
| @@ -50,10 +59,14 @@
|
| "functions": [],
|
| "last": true,
|
| "name": "a",
|
| + "parent_name": "a",
|
| + "id": "property-a-a",
|
| "array": {
|
| "functions": [],
|
| - "name": "aElement",
|
| "simple_type": "string",
|
| + "name": "aElement",
|
| + "parent_name": "a",
|
| + "id": "property-a-aElement",
|
| "optional": false,
|
| "properties": [],
|
| "description": null
|
| @@ -78,9 +91,13 @@
|
| "functions": [],
|
| "last": true,
|
| "name": "results",
|
| + "parent_name": "callback",
|
| + "id": "property-callback-results",
|
| "array": {
|
| "functions": [],
|
| "name": "resultsElement",
|
| + "parent_name": "results",
|
| + "id": "property-results-resultsElement",
|
| "link": {
|
| "text": "TypeA",
|
| "href": "#type-TypeA"
|
| @@ -98,6 +115,7 @@
|
| "description": null
|
| }
|
| ],
|
| + "id": "method-get",
|
| "description": "Gets stuff."
|
| }
|
| ],
|
| @@ -105,16 +123,17 @@
|
| "name": "tester",
|
| "types": [
|
| {
|
| - "functions": [],
|
| - "name": "TypeA",
|
| - "simple_type": "object",
|
| "properties": [
|
| {
|
| "functions": [],
|
| "name": "b",
|
| + "parent_name": "TypeA",
|
| + "id": "property-TypeA-b",
|
| "array": {
|
| "functions": [],
|
| "name": "bElement",
|
| + "parent_name": "b",
|
| + "id": "property-b-bElement",
|
| "link": {
|
| "text": "TypeA",
|
| "href": "#type-TypeA"
|
| @@ -128,19 +147,26 @@
|
| "description": "List of TypeA."
|
| }
|
| ],
|
| + "name": "TypeA",
|
| + "simple_type": "object",
|
| + "functions": [],
|
| "events": [],
|
| + "id": "type-TypeA",
|
| "description": "A cool thing."
|
| }
|
| ],
|
| "events": [
|
| {
|
| + "parent_name": null,
|
| "callback": null,
|
| "name": "EventA",
|
| "parameters": [
|
| {
|
| "functions": [],
|
| - "name": "id",
|
| "simple_type": "string",
|
| + "name": "id",
|
| + "parent_name": "EventA",
|
| + "id": "property-EventA-id",
|
| "optional": false,
|
| "properties": [],
|
| "description": null
|
| @@ -149,6 +175,8 @@
|
| "functions": [],
|
| "last": true,
|
| "name": "bookmark",
|
| + "parent_name": "EventA",
|
| + "id": "property-EventA-bookmark",
|
| "link": {
|
| "text": "TypeA",
|
| "href": "#type-TypeA"
|
| @@ -159,9 +187,10 @@
|
| }
|
| ],
|
| "supportsRules": false,
|
| - "actions": [],
|
| "filters": [],
|
| "conditions": [],
|
| + "id": "event-EventA",
|
| + "actions": [],
|
| "description": "A cool event."
|
| }
|
| ]
|
|
|