SysUi can mock static methods + coordinator tests
- Add ability to mock static methods in SystemUI (In SystemUI, use
mockito-target-extended-minus-junit4 and add libdexmakerjvmtiagent
and libstaticjvmtiagent jni libraries to SystemUI tests bp/mk files
so that we have static-mocking abilities)
- Add tests for new Coordinators
Test: atest SystemUiTests
Bug: 145134683
Change-Id: I0450a07c6d465c6d1f7d74acddb054538540785a
diff --git a/packages/SystemUI/Android.bp b/packages/SystemUI/Android.bp
index 2a5bdc7..404e791 100644
--- a/packages/SystemUI/Android.bp
+++ b/packages/SystemUI/Android.bp
@@ -127,7 +127,7 @@
"SystemUI-proto",
"metrics-helper-lib",
"androidx.test.rules", "hamcrest-library",
- "mockito-target-inline-minus-junit4",
+ "mockito-target-extended-minus-junit4",
"testables",
"truth-prebuilt",
"dagger2-2.19",