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

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

Issue 2471723002: chromeos: networkingPrivate: Set active proxy values (Closed)
Patch Set: Fix test expectations Created 4 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 | « no previous file | chromeos/network/network_state_handler.h » ('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 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 callbackPass(function(result) { 520 callbackPass(function(result) {
521 assertEq({ 521 assertEq({
522 Connectable: true, 522 Connectable: true,
523 ConnectionState: ConnectionStateType.NOT_CONNECTED, 523 ConnectionState: ConnectionStateType.NOT_CONNECTED,
524 GUID: 'stub_wifi2', 524 GUID: 'stub_wifi2',
525 Name: { 525 Name: {
526 Active: 'wifi2_PSK', 526 Active: 'wifi2_PSK',
527 Effective: 'UserPolicy', 527 Effective: 'UserPolicy',
528 UserPolicy: 'My WiFi Network' 528 UserPolicy: 'My WiFi Network'
529 }, 529 },
530 ProxySettings: {
531 Type: {
532 Active: 'Direct',
533 Effective: 'UserPolicy',
534 UserEditable: false,
535 UserPolicy: 'Direct'
536 }
537 },
530 Source: 'UserPolicy', 538 Source: 'UserPolicy',
531 Type: NetworkType.WI_FI, 539 Type: NetworkType.WI_FI,
532 WiFi: { 540 WiFi: {
533 AutoConnect: { 541 AutoConnect: {
534 Active: false, 542 Active: false,
535 UserEditable: true 543 UserEditable: true
536 }, 544 },
537 HexSSID: { 545 HexSSID: {
538 Active: '77696669325F50534B', // 'wifi2_PSK' 546 Active: '77696669325F50534B', // 'wifi2_PSK'
539 Effective: 'UserPolicy', 547 Effective: 'UserPolicy',
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
868 })); 876 }));
869 })); 877 }));
870 }))); 878 })));
871 } 879 }
872 ]; 880 ];
873 881
874 var testToRun = window.location.search.substring(1); 882 var testToRun = window.location.search.substring(1);
875 chrome.test.runTests(availableTests.filter(function(op) { 883 chrome.test.runTests(availableTests.filter(function(op) {
876 return op.name == testToRun; 884 return op.name == testToRun;
877 })); 885 }));
OLDNEW
« no previous file with comments | « no previous file | chromeos/network/network_state_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698