commit | f90cf1aeb44feb425035ca4753710d270e3a0b75 | [log] [tgz] |
---|---|---|
author | Prathmesh Prabhu <pprabhu@chromium.org> | Tue Apr 15 16:51:19 2014 -0700 |
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | Thu Apr 17 16:27:25 2014 +0000 |
tree | d3c3ade67ff9e444df7f49714657ddb33e276287 | |
parent | 1df6a6b624d266b763792762c9cf5bc32d169ab2 [diff] |
shill: cellular: Fail some MobileOperatorInfo unittests early. In two places, the unit-tests was trying to compare details of an object that had been shown to not exist (in which case the test fails anyway). This caused a segfault in the unit-test. By promoting the Expect* to Assert* for these instances, we quit the test early. BUG=None. TEST=Run shill unittests. Change-Id: Iad84d96fd111bf21e96f83db175dabbe78d52c2f Reviewed-on: https://chromium-review.googlesource.com/195074 Reviewed-by: Ben Chan <benchan@chromium.org> Tested-by: Prathmesh Prabhu <pprabhu@chromium.org> Commit-Queue: Prathmesh Prabhu <pprabhu@chromium.org>