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

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

Issue 6253008: Fixed ChromeOS network unit tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/cros/cros_mock.cc
===================================================================
--- chrome/browser/chromeos/cros/cros_mock.cc (revision 72219)
+++ chrome/browser/chromeos/cros/cros_mock.cc (working copy)
@@ -271,6 +271,9 @@
.Times(AnyNumber());
EXPECT_CALL(*mock_network_library_, RemoveCellularDataPlanObserver(_))
.Times(AnyNumber());
+ EXPECT_CALL(*mock_network_library_, IsLocked())
+ .Times(AnyNumber())
+ .WillRepeatedly((Return(false)));
EXPECT_CALL(*mock_network_library_, ethernet_available())
.Times(AnyNumber())
.WillRepeatedly((Return(true)));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698