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

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

Issue 12387065: Convert TrayVPN to use new NetworkState code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix browser_tests Created 7 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 | Annotate | Revision Log
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 var callbackPass = chrome.test.callbackPass; 5 var callbackPass = chrome.test.callbackPass;
6 var callbackFail = chrome.test.callbackFail; 6 var callbackFail = chrome.test.callbackFail;
7 var assertTrue = chrome.test.assertTrue; 7 var assertTrue = chrome.test.assertTrue;
8 var assertEq = chrome.test.assertEq; 8 var assertEq = chrome.test.assertEq;
9 9
10 // Test properties for the verification API. 10 // Test properties for the verification API.
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 "data", 211 "data",
212 callbackPass(function(result) { 212 callbackPass(function(result) {
213 assertEq("encrypted_data", result); 213 assertEq("encrypted_data", result);
214 })); 214 }));
215 } 215 }
216 ]; 216 ];
217 217
218 var testToRun = window.location.search.substring(1); 218 var testToRun = window.location.search.substring(1);
219 chrome.test.runTests(availableTests.filter(function(op) { 219 chrome.test.runTests(availableTests.filter(function(op) {
220 return op.name == testToRun; 220 return op.name == testToRun;
221 })); 221 }));
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/extensions/networking_private_apitest.cc ('k') | chromeos/dbus/shill_manager_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698