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

Side by Side Diff: extensions/common/api/test.json

Issue 1409163006: Migrating tests to use EmbeddedTestServer (/chrome/browser misc) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « chrome/test/data/redirect-loop.html.mock-http-headers ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 ]
OLDNEW
« no previous file with comments | « chrome/test/data/redirect-loop.html.mock-http-headers ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698