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

Unified Diff: chromeos/network/cros_network_functions_unittest.cc

Issue 12279012: Change the modem reset command on cellular activation completion. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « chromeos/network/cros_network_functions.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/cros_network_functions_unittest.cc
diff --git a/chromeos/network/cros_network_functions_unittest.cc b/chromeos/network/cros_network_functions_unittest.cc
index 5c4772d116530cae4ce73ace10489bd067d2d98f..6a6e8ea7d1a14adefbe67c8590f46e2f811f960c 100644
--- a/chromeos/network/cros_network_functions_unittest.cc
+++ b/chromeos/network/cros_network_functions_unittest.cc
@@ -185,6 +185,15 @@ TEST_F(CrosNetworkFunctionsTest, CrosActivateCellularModem) {
EXPECT_TRUE(CrosActivateCellularModem(service_path, carrier));
}
+TEST_F(CrosNetworkFunctionsTest, CrosCompleteCellularActivation) {
+ const std::string service_path = "/";
+ EXPECT_CALL(*mock_service_client_,
+ CompleteCellularActivation(dbus::ObjectPath(service_path), _, _))
+ .Times(1);
+
+ CrosCompleteCellularActivation(service_path);
+}
+
TEST_F(CrosNetworkFunctionsTest, CrosSetNetworkServiceProperty) {
const std::string service_path = "/";
const std::string property = "property";
« no previous file with comments | « chromeos/network/cros_network_functions.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698