summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author chihtinglo <chihtinglo@google.com> 2023-10-11 18:19:50 +0800
committer chihtinglo <chihtinglo@google.com> 2023-10-23 14:31:57 +0800
commit15c10a0fe853facc2202ee06d45557fcbb31e633 (patch)
treea97509fd9a77b274678e6dd847bc957131fac504 /api/api_test.go
parentad48a441889e9a816000f140b4814608df4ca066 (diff)
Use AnimatorTestRule to test animations
The tests are flaky since the "dispatch to main thread operation" takes unexpected time to complete. This will lead to the situation: A is expected to start before B finishes, but A eventually executes after B finishes. We use AnimatorTestRule to test the result of the frame after a specific time of animation. Bug: 303132156 Test: atest SystemUITests:WindowMagnificationAnimationControllerTest Change-Id: I76cca141b2b892ec832b3cf0e0ce106533feebf4
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions