| Index: chrome/browser/chromeos/cros/cros_network_functions_unittest.cc
|
| diff --git a/chrome/browser/chromeos/cros/cros_network_functions_unittest.cc b/chrome/browser/chromeos/cros/cros_network_functions_unittest.cc
|
| index 1037581eaf22e8e0f97712b3e984378d6f5488af..85dcd37047369b7301f93f525f0c9bd07c6c9f99 100644
|
| --- a/chrome/browser/chromeos/cros/cros_network_functions_unittest.cc
|
| +++ b/chrome/browser/chromeos/cros/cros_network_functions_unittest.cc
|
| @@ -605,6 +605,13 @@ TEST_F(CrosNetworkFunctionsLibcrosTest, CrosRequestNetworkDeviceEnable) {
|
| CrosRequestNetworkDeviceEnable(flimflam::kTypeWifi, kEnable);
|
| }
|
|
|
| +TEST_F(CrosNetworkFunctionsLibcrosTest, CrosProposeScan) {
|
| + const std::string device_path = "/device/path";
|
| + EXPECT_CALL(*MockChromeOSNetwork::Get(), ProposeScan(StrEq(device_path)))
|
| + .Times(1);
|
| + CrosProposeScan(device_path);
|
| +}
|
| +
|
| TEST_F(CrosNetworkFunctionsLibcrosTest, CrosAddIPConfig) {
|
| const std::string device_path = "/device/path";
|
| EXPECT_CALL(*MockChromeOSNetwork::Get(),
|
| @@ -1119,6 +1126,13 @@ TEST_F(CrosNetworkFunctionsTest, CrosRequestNetworkDeviceEnable) {
|
| CrosRequestNetworkDeviceEnable(flimflam::kTypeWifi, kDisable);
|
| }
|
|
|
| +TEST_F(CrosNetworkFunctionsTest, CrosProposeScan) {
|
| + const std::string device_path = "/device/path";
|
| + EXPECT_CALL(*mock_device_client_,
|
| + ProposeScan(dbus::ObjectPath(device_path), _)).Times(1);
|
| + CrosProposeScan(device_path);
|
| +}
|
| +
|
| TEST_F(CrosNetworkFunctionsTest, CrosAddIPConfig) {
|
| const std::string device_path = "/device/path";
|
| const dbus::ObjectPath result_path("/result/path");
|
|
|