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

Unified Diff: net/base/network_change_notifier_unittest.cc

Issue 2776523003: Expose connection subtype from NetworkChangeNotifier (Closed)
Patch Set: Add test Created 3 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 side-by-side diff with in-line comments
Download patch
Index: net/base/network_change_notifier_unittest.cc
diff --git a/net/base/network_change_notifier_unittest.cc b/net/base/network_change_notifier_unittest.cc
index 674260789a6986e1fae1627389a56b08d75feb2c..c06d3588808eb95ec237b17a6b7afe438bd24f06 100644
--- a/net/base/network_change_notifier_unittest.cc
+++ b/net/base/network_change_notifier_unittest.cc
@@ -123,4 +123,9 @@ TEST(NetworkChangeNotifierTest, IgnoreVMInterfaces) {
NetworkChangeNotifier::ConnectionTypeFromInterfaceList(list));
}
+TEST(NetworkChangeNotifierTest, GetConnectionSubtype) {
+ // Call GetConnectionSubtype() and ensure that there is no crash.
+ NetworkChangeNotifier::GetConnectionSubtype();
+}
+
} // namespace net
« net/android/network_change_notifier_android.cc ('K') | « net/base/network_change_notifier.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698