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

Skip to content
Commit 1892d38a authored by Jack He's avatar Jack He
Browse files

Update bluetooth-test-util-lib to modern standard

* Use enhanced `switch`
* Use Truth.assertThat instead of JUnit Assert
* Use java.time.Duration as much as possible
* Mark some methods as deprecated
* Make it possible to toggle Bluetooth in EnableBluetoothRule

MUST_SLEEP=Legacy CTS code still use Thread.sleep(). Hence this library
cannot avoid it.

Bug: 300052980
Test: atest CtsBluetoothTestCases
Test: atest CtsRootBluetoothTestCases
Change-Id: If213d4512a432b601977fb1a6e4ff911d2450e8d
parent b6798418
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