More improvements on android.car.test.utils package.
- Added more helpers to mock static methods on AbstractExtendMockitoTestCase.
- Refactored blocking UserLifeCycleListener into OneEventUserLifecycleListener.
- Moved custom ArgumentMatchers to CarArgumentMatchers.
- Moved common car-related mock calls to CarMockitoHelper.
Bug: 149099817
Test: atest \
CarUserManagerHelperTest InitialUserSetterTest \
UserHelperTest CarPowerManagementServiceTest \
UserHalServiceTest VendorServiceControllerTest \
CarUserManagerUnitTest CarUserNoticeServiceTest CarUserServiceTest
Change-Id: Ia2b9359d5b0a502d72e35eabbe8b2e487885e8d8
diff --git a/car-test-lib/Android.bp b/car-test-lib/Android.bp
index e3dbfad..965ea7b 100644
--- a/car-test-lib/Android.bp
+++ b/car-test-lib/Android.bp
@@ -41,6 +41,7 @@
"src/android/car/test/**/*.java",
],
libs: [
+ "android.hardware.automotive.vehicle-V2.0-java",
"mockito-target-extended",
],
}