diff options
author | Tadashi G. Takaoka <takaoka@google.com> | 2019-02-08 17:42:37 +0900 |
---|---|---|
committer | Tadashi G. Takaoka <takaoka@google.com> | 2019-02-21 07:47:53 +0900 |
commit | d7aa79a9c2a320cb598a64f7823e532ab6aebcc8 (patch) | |
tree | 31ce60c8d13d90214185526fa782f7cbb585b594 /rs/java/android/renderscript/ProgramStore.java | |
parent | c28fa8802450c0b072fb5d501a23a3f74f9d16d0 (diff) |
Per-test WindowManagerService instance
This CL starts using a WindowManagerService instance for each test method,
instead of sharing a single instance within a test class. It also starts
resetting mocks after each test method. With a MockTrack hack, it reduces
memory leaks happening in extended inline Mockito (b/123984854).
Bug: 123652272
Test: Pass all non-flaky presubmit tests in WmTests.
$ tradefed.sh run commandAndExit WmTests \
--include-annotation android.platform.test.annotations.Presubmit \
--exclude-annotation androidx.test.filters.FlakyTest
Change-Id: Icbfd5c5d726e4c29a623682deac852c5b14667dd
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions