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

Unified Diff: chrome/browser/chromeos/cros/cros_mock.cc

Issue 3744009: chromium-os:5494 Networks with identical names not handled properly. (Closed)
Patch Set: Rebase from trunk. Created 10 years, 2 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 | « chrome/browser/chromeos/cros/cros_mock.h ('k') | chrome/browser/chromeos/cros/mock_network_library.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/cros/cros_mock.cc
diff --git a/chrome/browser/chromeos/cros/cros_mock.cc b/chrome/browser/chromeos/cros/cros_mock.cc
index 9761d9bd53f12cfa8ff625ad07683419f5215e05..ab33dc0344ff2671381160d7c850fa610e8efbd8 100644
--- a/chrome/browser/chromeos/cros/cros_mock.cc
+++ b/chrome/browser/chromeos/cros/cros_mock.cc
@@ -315,17 +315,17 @@ void CrosMock::SetNetworkLibraryStatusAreaExpectations() {
.Times(1)
.WillRepeatedly((Return(false)))
.RetiresOnSaturation();
- EXPECT_CALL(*mock_network_library_, wifi_name())
+ EXPECT_CALL(*mock_network_library_, wifi_network())
.Times(1)
- .WillRepeatedly((ReturnRef(empty_string_)))
+ .WillRepeatedly((ReturnRef(wifi_network_)))
.RetiresOnSaturation();
EXPECT_CALL(*mock_network_library_, cellular_networks())
.Times(1)
.WillRepeatedly((ReturnRef(cellular_networks_)))
.RetiresOnSaturation();
- EXPECT_CALL(*mock_network_library_, cellular_name())
+ EXPECT_CALL(*mock_network_library_, cellular_network())
.Times(1)
- .WillRepeatedly((ReturnRef(empty_string_)))
+ .WillRepeatedly((ReturnRef(cellular_network_)))
.RetiresOnSaturation();
EXPECT_CALL(*mock_network_library_, cellular_available())
.Times(1)
« no previous file with comments | « chrome/browser/chromeos/cros/cros_mock.h ('k') | chrome/browser/chromeos/cros/mock_network_library.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698