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

Skip to content
Commit 2cfa99a6 authored by William Escande's avatar William Escande
Browse files

Pan: Prevent native call from within the test

There is no check / no pre-requisite about the native state while
running a service test for instrumentations. Mocking the interface and
preventing the calls to be made should prevent the test to fail.

Note that there are still 2 calls to native being done: init and cleanup

Bug: 295103561
Bug: 294642435
Test: atest PanServiceTest | This was already passing when run alone
Test: atest BluetoothInstrumentationTests | Previous test were making it
      fail
Change-Id: I6aaeb9fd340cd9afd0616b1b478877efded00162
parent 4eeb2744
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