Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0d9e49b3 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Avoid unfinished MockitoSession if setUp has errors

If there is an exception before initializing mInputChannel,
the tearDown will meet NPE. Then finishMocking and
clearInlineMocks are skipped which will affect the next test.

Bug: 313490373
Test: SystemServicesTestRuleTest
Change-Id: I846a209d9cbdd1ccd18e05fa4e053e16218d3c82
parent 1f50aa3c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment