summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-05-07 07:25:30 +0000
committerRemi NGUYEN VAN <reminv@google.com>2020-05-08 00:45:28 +0000
commitcd8b06336a80103ef3c26640f4c74bd065a64b2a (patch)
treece8bf9fd7e815e4f5a6baa76ddcef6da777baf8f /src
parent6421197f47656092ecf9e7a2cffb9201306fcd08 (diff)
Finish mocking in finally clause
Failure of testIpClientServiceAvailableAfterPolling could cause tests in the same process to fail because the mockito session is not finalized. Use try / finally to make sure finishMocking is called. Test: atest ModuleNetworkStackClientTest Bug: 139314310 Original-Change: https://android-review.googlesource.com/1299389 Merged-In: I95cc24e789c5af5f655c875314ed97f50121166c Change-Id: I95cc24e789c5af5f655c875314ed97f50121166c
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions