diff options
author | Vishnu Nair <vishnun@google.com> | 2018-08-20 12:58:43 -0700 |
---|---|---|
committer | Vishnu Nair <vishnun@google.com> | 2018-08-21 01:09:25 +0000 |
commit | 7f9c16cd7a5099b176e3788ca779fddde12a04f0 (patch) | |
tree | 60cbfe0e1ba53b4c8e597c514b0e7a576b26c901 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | c5f23bfc69ea54b03bad3c469685d2031dd275d6 (diff) |
WM: Fix flaky DragDropControllerTests tests
Stub Mockito spies using doReturn instead of when/then syntax. Using when/then
syntax on a spied object will call the actual implementation which is probably not
what we want for a stubbed function. Test failures suggest this or wrongly written
multi-threaded tests may be the root cause.
See: https://sponge.corp.google.com/target?id=aefd8278-1d23-458c-ab4c-56b19f24d745&target=com.android.frameworks.servicestests&searchFor=&show=FAILED&sortBy=STATUS
Test: FrameworksServicesTests:com.android.server.wm.DragDropControllerTests
Change-Id: Ib882f8d8602b848312631e69555a0316b9219b26
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions