| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 [ | 5 [ |
| 6 { | 6 { |
| 7 "namespace": "test", | 7 "namespace": "test", |
| 8 "description": "none", | 8 "description": "none", |
| 9 "functions": [ | 9 "functions": [ |
| 10 { | 10 { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 "type": "integer", | 32 "type": "integer", |
| 33 "description": "The port on which the FTP server is list
ening.", | 33 "description": "The port on which the FTP server is list
ening.", |
| 34 "minimum": 1024, | 34 "minimum": 1024, |
| 35 "maximum": 65535 | 35 "maximum": 65535 |
| 36 } | 36 } |
| 37 } | 37 } |
| 38 }, | 38 }, |
| 39 "testServer": { | 39 "testServer": { |
| 40 "type": "object", | 40 "type": "object", |
| 41 "optional": true, | 41 "optional": true, |
| 42 "description": "Details on the test server used to mock netw
ork responses. Will be set only if test calls ExtensionApiTest::StartTestServer
().", | 42 "description": "Details on the test server used to mock netw
ork responses. Will be set only if test calls ExtensionApiTest::StartEmbeddedTe
stServer().", |
| 43 "properties": { | 43 "properties": { |
| 44 "port": { | 44 "port": { |
| 45 "type": "integer", | 45 "type": "integer", |
| 46 "description": "The port on which the test server is lis
tening.", | |
| 47 "minimum": 1024, | |
| 48 "maximum": 65535 | |
| 49 } | |
| 50 } | |
| 51 }, | |
| 52 "spawnedTestServer": { | |
| 53 "type": "object", | |
| 54 "optional": true, | |
| 55 "description": "Details on the spawned test server used to m
ock network responses. Will be set only if test calls ExtensionApiTest::StartSp
awnedTestServer().", | |
| 56 "properties": { | |
| 57 "port": { | |
| 58 "type": "integer", | |
| 59 "description": "The port on which the test server is lis
tening.", | 46 "description": "The port on which the test server is lis
tening.", |
| 60 "minimum": 1024, | 47 "minimum": 1024, |
| 61 "maximum": 65535 | 48 "maximum": 65535 |
| 62 } | 49 } |
| 63 } | 50 } |
| 64 }, | 51 }, |
| 65 "testDataDirectory": { | 52 "testDataDirectory": { |
| 66 "type": "string", | 53 "type": "string", |
| 67 "description": "file:/// URL for the API test data directory
." | 54 "description": "file:/// URL for the API test data directory
." |
| 68 }, | 55 }, |
| (...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 441 "properties": { | 428 "properties": { |
| 442 "data": { "type": "string", "description": "Additional information
." }, | 429 "data": { "type": "string", "description": "Additional information
." }, |
| 443 "lastMessage": { "type": "boolean", "description": "True if this w
as the last message for this test" } | 430 "lastMessage": { "type": "boolean", "description": "True if this w
as the last message for this test" } |
| 444 } | 431 } |
| 445 } | 432 } |
| 446 ] | 433 ] |
| 447 } | 434 } |
| 448 ] | 435 ] |
| 449 } | 436 } |
| 450 ] | 437 ] |
| OLD | NEW |