diff options
author | Beverly <beverlyt@google.com> | 2020-01-22 11:23:24 -0500 |
---|---|---|
committer | Beverly Tai <beverlyt@google.com> | 2020-01-22 18:53:47 +0000 |
commit | 433923a1d99900fb7dfaf050a05c51917f7724d3 (patch) | |
tree | 36b31e273075e068127de8a7b9aa998e6ee378be /rs/java/android/renderscript/RenderScriptCacheDir.java | |
parent | c6eeb791ee834e3220f56bfdb27c4da56de53997 (diff) |
Edit NEM tests to prevent flakiness
- Set the Assert's main looper as the TestableLooper's looper for all
NEM tests
- in NEM test, bind content synchronously, so the callback won't run on
the 'real' main thread and will instead run on the TestableLooper's
thread
- Allow overriding already initialized dependencies in
TestableDependency
Test: atest SystemUITests
Fixes: 147685528
Change-Id: Ic171bf29e33322f44aa14c40c29c0d9ffa542ade
Diffstat (limited to 'rs/java/android/renderscript/RenderScriptCacheDir.java')
0 files changed, 0 insertions, 0 deletions