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

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

Issue 1043343002: Use networkingPrivate.startConnect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@issue_430115_internet_options_cellular
Patch Set: . Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/extensions/api_test/networking_private/chromeos/test.js
diff --git a/chrome/test/data/extensions/api_test/networking_private/chromeos/test.js b/chrome/test/data/extensions/api_test/networking_private/chromeos/test.js
index 7c85379ee0f356105c7ecd3f6b4a33408110a649..3c8e20a63ae1dadd4ed484905330527d7201c52b 100644
--- a/chrome/test/data/extensions/api_test/networking_private/chromeos/test.js
+++ b/chrome/test/data/extensions/api_test/networking_private/chromeos/test.js
@@ -616,6 +616,19 @@ var availableTests = [
'non_existent',
callbackFail('Error.InvalidNetworkGuid'));
},
+ function getErrorState() {
+ // Both getState and getProperties should have ErrorState set.
+ chrome.networkingPrivate.getState(
+ 'stub_wifi1_guid',
+ function(result) {
+ assertEq('TestErrorState', result.ErrorState);
+ chrome.networkingPrivate.getProperties(
+ 'stub_wifi1_guid',
+ callbackPass(function(result2) {
+ assertEq('TestErrorState', result2.ErrorState);
+ }));
+ });
+ },
function onNetworksChangedEventConnect() {
var network = 'stub_wifi2_guid';
var done = chrome.test.callbackAdded();

Powered by Google App Engine
This is Rietveld 408576698