340b0e5216b4fcc435e0459b1ca46155a572100d |
|
08-Mar-2017 |
Jason Monk <jmonk@google.com> |
Move out test utilities to a Testables library Test: runtest --path frameworks/base/tests/testablets/tests && runtest systemui Change-Id: Ideef4aef5f26136b1741c556b9be5884f38842a0
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/BaseLeakChecker.java
|
9c7844cb91b43929d0a86b1c90aa1efb37f5463a |
|
18-Jan-2017 |
Jason Monk <jmonk@google.com> |
Work on sysui dependencies One of the many problems with PhoneStatusBar is that it holds dependencies for many other parts of SysUI. Fix this by creating a static method of grabbing dependencies that are global to sysui this cleans up a lot of chains of interdependence. Also add easy way to inject mocks of these dependencies for the purpose of testing. Test: runtest systemui Change-Id: Ia0e947faea62d15b665facada47ac9916c99f895
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/BaseLeakChecker.java
|
9abca5e9f88c47579f8334c6c48741a259185b9b |
|
11-Nov-2016 |
Jason Monk <jmonk@google.com> |
Cleanup and refactoring of test utilities - Make leak checking faster by converting to fakes - Requires making clean interfaces for all CallbackControllers - Integrate leak checking into the TestableContext Test: runtest systemui Change-Id: Ic57a06360d01a0323ef26735a543e9d1805459e2
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/BaseLeakChecker.java
|