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

Unified Diff: chrome/browser/chromeos/extensions/networking_private_apitest.cc

Issue 12319145: Using the new Network*Handlers in networkingPrivate Extension API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed unused method declaration. Fixing a comment. Created 7 years, 10 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/browser/chromeos/extensions/networking_private_apitest.cc
diff --git a/chrome/browser/chromeos/extensions/networking_private_apitest.cc b/chrome/browser/chromeos/extensions/networking_private_apitest.cc
index 40cf2ee1b009ff24fcb4e353b7983fa0e5b3680d..1eb2276c1a4c3c9a906d0c40437a2db71ab30217 100644
--- a/chrome/browser/chromeos/extensions/networking_private_apitest.cc
+++ b/chrome/browser/chromeos/extensions/networking_private_apitest.cc
@@ -44,6 +44,17 @@ IN_PROC_BROWSER_TEST_F(ExtensionNetworkingPrivateApiTest,
EXPECT_TRUE(RunNetworkingSubtest("startConnectNonexistent")) << message_;
}
+IN_PROC_BROWSER_TEST_F(ExtensionNetworkingPrivateApiTest,
+ StartDisconnectNonexistent) {
+ EXPECT_TRUE(RunNetworkingSubtest("startDisconnectNonexistent")) << message_;
+}
+
+IN_PROC_BROWSER_TEST_F(ExtensionNetworkingPrivateApiTest,
+ StartGetPropertiesNonexistent) {
+ EXPECT_TRUE(RunNetworkingSubtest("startGetPropertiesNonexistent"))
+ << message_;
+}
+
IN_PROC_BROWSER_TEST_F(ExtensionNetworkingPrivateApiTest, GetVisibleNetworks) {
EXPECT_TRUE(RunNetworkingSubtest("getVisibleNetworks")) << message_;
}
@@ -58,8 +69,15 @@ IN_PROC_BROWSER_TEST_F(ExtensionNetworkingPrivateApiTest, GetProperties) {
}
IN_PROC_BROWSER_TEST_F(ExtensionNetworkingPrivateApiTest,
- OnNetworksChangedEvent) {
- EXPECT_TRUE(RunNetworkingSubtest("onNetworksChangedEvent")) << message_;
+ OnNetworksChangedEventConnect) {
+ EXPECT_TRUE(RunNetworkingSubtest("onNetworksChangedEventConnect"))
+ << message_;
+}
+
+IN_PROC_BROWSER_TEST_F(ExtensionNetworkingPrivateApiTest,
+ OnNetworksChangedEventDisconnect) {
+ EXPECT_TRUE(RunNetworkingSubtest("onNetworksChangedEventDisconnect"))
+ << message_;
}
IN_PROC_BROWSER_TEST_F(ExtensionNetworkingPrivateApiTest,

Powered by Google App Engine
This is Rietveld 408576698