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

Side by Side Diff: chrome/test/data/extensions/api_test/networking_private/chromeos/test.js

Issue 1019033002: Add an ONC property for the third-party VPN provider extension ID (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 // The expectations in this test for the Chrome OS implementation. See 5 // The expectations in this test for the Chrome OS implementation. See
6 // networking_private_chromeos_apitest.cc for more info. 6 // networking_private_chromeos_apitest.cc for more info.
7 7
8 var callbackPass = chrome.test.callbackPass; 8 var callbackPass = chrome.test.callbackPass;
9 var callbackFail = chrome.test.callbackFail; 9 var callbackFail = chrome.test.callbackFail;
10 var assertTrue = chrome.test.assertTrue; 10 var assertTrue = chrome.test.assertTrue;
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 "WiFi": { 224 "WiFi": {
225 "Security": "WEP-PSK", 225 "Security": "WEP-PSK",
226 "SignalStrength": 40 226 "SignalStrength": 40
227 } 227 }
228 }, 228 },
229 { 229 {
230 "Connectable": true, 230 "Connectable": true,
231 "ConnectionState": "Connected", 231 "ConnectionState": "Connected",
232 "GUID": "stub_wimax_guid", 232 "GUID": "stub_wimax_guid",
233 "Name": "wimax", 233 "Name": "wimax",
234 "Source":"User", 234 "Source": "User",
235 "Type": "WiMAX", 235 "Type": "WiMAX",
236 "WiMAX": { 236 "WiMAX": {
237 "SignalStrength": 40 237 "SignalStrength": 40
238 } 238 }
239 }, 239 },
240 { 240 {
241 "ConnectionState": "Connected", 241 "ConnectionState": "Connected",
242 "GUID": "stub_vpn1_guid", 242 "GUID": "stub_vpn1_guid",
243 "Name": "vpn1", 243 "Name": "vpn1",
244 "Source":"User", 244 "Source": "User",
245 "Type": "VPN" 245 "Type": "VPN",
246 "VPN": {
247 "Type":"OpenVPN"
248 }
249 },
250 {
251 "ConnectionState": "Connected",
252 "GUID": "stub_vpn2_guid",
253 "Name": "vpn2",
254 "Source": "User",
255 "Type": "VPN",
256 "VPN": {
257 "Type": "OpenVPN",
pneubeck (no reviews) 2015/03/18 19:04:42 this is wrong. type should be "ThirdPartyVPN"
bartfab (slow) 2015/03/18 19:21:16 Done.
258 "ThirdPartyVPN": {
259 "ExtensionID": "third_party_provider_extension_id"
260 }
261 }
246 }, 262 },
247 { 263 {
248 "Connectable": true, 264 "Connectable": true,
249 "ConnectionState": "NotConnected", 265 "ConnectionState": "NotConnected",
250 "GUID": "stub_wifi2_guid", 266 "GUID": "stub_wifi2_guid",
251 "Name": "wifi2_PSK", 267 "Name": "wifi2_PSK",
252 "Source": "User", 268 "Source": "User",
253 "Type": "WiFi", 269 "Type": "WiFi",
254 "WiFi": { 270 "WiFi": {
255 "Security": "WPA-PSK", 271 "Security": "WPA-PSK",
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 new privateHelpers.watchForCaptivePortalState( 609 new privateHelpers.watchForCaptivePortalState(
594 'wifi_guid', 'Online', done); 610 'wifi_guid', 'Online', done);
595 chrome.test.sendMessage('notifyPortalDetectorObservers'); 611 chrome.test.sendMessage('notifyPortalDetectorObservers');
596 }, 612 },
597 ]; 613 ];
598 614
599 var testToRun = window.location.search.substring(1); 615 var testToRun = window.location.search.substring(1);
600 chrome.test.runTests(availableTests.filter(function(op) { 616 chrome.test.runTests(availableTests.filter(function(op) {
601 return op.name == testToRun; 617 return op.name == testToRun;
602 })); 618 }));
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698