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

Skip to content
Commit bb67c279 authored by Jakub Tyszkowski's avatar Jakub Tyszkowski
Browse files

tests: Fix handling exceptions during the setup phase

Some tests can assert in the setup phase, but
the teardown phase is performed anyway.
The interrupted setup may result in some variables
being undefined. This results with NullPointerException
being thrown at teardown when these are accessed.
This often shadows the original problem making it harder
to troubleshoot.

Bug: 150670922
Bug: 237642745
Tag: #feature
Sponsor: jpawlowski@
Test: atest BluetoothInstrumentationTests
Change-Id: I70e01a0f977e2d99fa57c4f4b95d29a3880bd0c3
Merged-In: I70e01a0f977e2d99fa57c4f4b95d29a3880bd0c3
(cherry picked from commit ea8c9ff2)
parent fb6b13ac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment