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

Unified Diff: chrome/common/extensions/docs/server2/test_data/test_json/expected_test_file.json

Issue 11018003: Extensions Docs Server: Server code for showing properties of properties (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 8 years, 2 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
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."
}
]
« no previous file with comments | « chrome/common/extensions/docs/server2/handlebar_dict_generator_test.py ('k') | tools/json_schema_compiler/model.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698