Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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 Loading... | |
| 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 })); |
| OLD | NEW |