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

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

Issue 949783003: Add WiMAX to ONC validation list (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix browser_tests 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
« no previous file with comments | « no previous file | chromeos/dbus/fake_shill_manager_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 function getPropertiesCellular() { 324 function getPropertiesCellular() {
325 chrome.networkingPrivate.getProperties( 325 chrome.networkingPrivate.getProperties(
326 "stub_cellular1_guid", 326 "stub_cellular1_guid",
327 callbackPass(function(result) { 327 callbackPass(function(result) {
328 assertEq({ "Cellular": { 328 assertEq({ "Cellular": {
329 "ActivationState": "NotActivated", 329 "ActivationState": "NotActivated",
330 "AllowRoaming": false, 330 "AllowRoaming": false,
331 "AutoConnect": true, 331 "AutoConnect": true,
332 "Carrier": "Cellular1_Carrier", 332 "Carrier": "Cellular1_Carrier",
333 "HomeProvider": { 333 "HomeProvider": {
334 "country": "us", 334 "Country": "us",
335 "name": "Cellular1_Provider" 335 "Name": "Cellular1_Provider"
336 }, 336 },
337 "NetworkTechnology": "GSM", 337 "NetworkTechnology": "GSM",
338 "RoamingState": "Home" 338 "RoamingState": "Home"
339 }, 339 },
340 "ConnectionState": "NotConnected", 340 "ConnectionState": "NotConnected",
341 "GUID": "stub_cellular1_guid", 341 "GUID": "stub_cellular1_guid",
342 "Name": "cellular1", 342 "Name": "cellular1",
343 "Type": "Cellular" 343 "Type": "Cellular"
344 }, result); 344 }, result);
345 })); 345 }));
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 new privateHelpers.watchForCaptivePortalState( 580 new privateHelpers.watchForCaptivePortalState(
581 'wifi_guid', 'Online', done); 581 'wifi_guid', 'Online', done);
582 chrome.test.sendMessage('notifyPortalDetectorObservers'); 582 chrome.test.sendMessage('notifyPortalDetectorObservers');
583 }, 583 },
584 ]; 584 ];
585 585
586 var testToRun = window.location.search.substring(1); 586 var testToRun = window.location.search.substring(1);
587 chrome.test.runTests(availableTests.filter(function(op) { 587 chrome.test.runTests(availableTests.filter(function(op) {
588 return op.name == testToRun; 588 return op.name == testToRun;
589 })); 589 }));
OLDNEW
« no previous file with comments | « no previous file | chromeos/dbus/fake_shill_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698