commit | b5fde53104e7c61576ea3fef3c2a3ca1e25b9fb3 | [log] [tgz] |
---|---|---|
author | Prathmesh Prabhu <pprabhu@chromium.org> | Tue Mar 19 17:36:09 2013 -0700 |
committer | ChromeBot <chrome-bot@google.com> | Wed Mar 20 17:42:19 2013 -0700 |
tree | 169e18ae6c535300ca128cd81cd9002048efb35e | |
parent | bd9f33a7fa6dc71796e38f4f84073afcde2e22ee [diff] |
Fix calls to Mock::VerifyAndClearExpectations in shill unittests Many unittests in shill/cellular_capability_universal_unittest.cc did not correctly verify expectations. Gmock EXPECT_CALL declarations were interleaved with actual calls to the functions. Force verification of expectations before setting more expectations in all unittests (see list of changed files). (for now this is only cellular_capability_universal_unittest.cc) BUG=chromium:222223 TEST=All unittests pass with the stricter verification of expectations. Change-Id: I1c3b3da54e4bc9156d5c5dce9e2496c31aea194f Reviewed-on: https://gerrit.chromium.org/gerrit/45936 Reviewed-by: Thieu Le <thieule@chromium.org> Commit-Queue: Prathmesh Prabhu <pprabhu@chromium.org> Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>