Commit 50dab387 authored by stevenjb@google.com's avatar stevenjb@google.com

Add expectation for NetworkLibrary.IsLocked (fix for 6292008)

BUG=chromium-os:9870
TEST=Run browser_tests.

Review URL: http://codereview.chromium.org/6385002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72267 0039d316-1c4b-4281-b951-d872f2087c98
parent c3ffe1e3
......@@ -321,6 +321,10 @@ void CrosMock::SetNetworkLibraryStatusAreaExpectations() {
.RetiresOnSaturation();
// NetworkMenu::InitMenuItems() calls:
EXPECT_CALL(*mock_network_library_, IsLocked())
.Times(AnyNumber())
.WillRepeatedly((Return(false)))
.RetiresOnSaturation();
EXPECT_CALL(*mock_network_library_, ethernet_connected())
.Times(1)
.WillRepeatedly((Return(false)))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment