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

Skip to content
Commit 61fbcea3 authored by Jack He's avatar Jack He
Browse files

Test: Fix broken tests in HeadsetClientStateMachineTest

* Refactor HeadsetClientStateMachineTest to use looper from
  HandlerThread created in the test
* Refactor the test to use morden Mockito annotations and initializers
* Refactor the test so that bootstrap code is re-used among different
  tests

Bug: 68711696
Test: runtest -i -j40 bluetooth; adb shell am instrument -w -e timeout_msec 300000
      'com.android.bluetooth.tests/android.support.test.runner.AndroidJUnitRunner'

Change-Id: Ic3bafb96273abf065ebab2af6edf36b0ebf519b9
parent dd8a4734
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