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
This commit is contained in:
@@ -127,7 +127,7 @@ android_library {
|
||||
"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",
|
||||
|
||||
Reference in New Issue
Block a user