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

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: Fix rebase bug. 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
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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
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::StartTestServer ().",
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.", 46 "description": "The port on which the test server is lis tening.",
47 "minimum": 1024, 47 "minimum": 1024,
48 "maximum": 65535 48 "maximum": 65535
49 } 49 }
50 } 50 }
51 }, 51 },
52 "spawnedTestServer": { 52 "embeddedTestServer": {
53 "type": "object", 53 "type": "object",
54 "optional": true, 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().", 55 "description": "Details on the embedded test server used to mock network responses. Will be set only if test calls ExtensionApiTest::StartT estServer().",
56 "properties": { 56 "properties": {
57 "port": { 57 "port": {
58 "type": "integer", 58 "type": "integer",
59 "description": "The port on which the test server is lis tening.", 59 "description": "The port on which the test server is lis tening.",
60 "minimum": 1024, 60 "minimum": 1024,
61 "maximum": 65535 61 "maximum": 65535
62 } 62 }
63 } 63 }
64 }, 64 },
65 "testDataDirectory": { 65 "testDataDirectory": {
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 "properties": { 441 "properties": {
442 "data": { "type": "string", "description": "Additional information ." }, 442 "data": { "type": "string", "description": "Additional information ." },
443 "lastMessage": { "type": "boolean", "description": "True if this w as the last message for this test" } 443 "lastMessage": { "type": "boolean", "description": "True if this w as the last message for this test" }
444 } 444 }
445 } 445 }
446 ] 446 ]
447 } 447 }
448 ] 448 ]
449 } 449 }
450 ] 450 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698