summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2018-01-09 14:28:44 +0100
committerJorim Jaggi <jjaggi@google.com>2018-01-09 14:55:17 +0100
commit4130a68a92b2c5264917d9ac37b51b74aa7993b9 (patch)
tree0b9422dbd2547057a49363eb16e4ccd18d671b68 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent0d64cd33ba31d77f255c2240ea8c69b1a1b05144 (diff)
Fix SurfaceAnimator and SurfaceAnimationRunner tests
Since we marked mAnimator.mInitialized to true in the tests, WM executed things from another thread during tests leading to concurrency bugs. Instead, we stub out addAfterPrepareSurfacesRunnable to a consumer which executes the runnable directly during tests, avoiding the need to let WM process animation frames. Also attempts to fix flakyness in SurfaceAnimationRunner Test: go/wm-smoke Test: SurfaceAnimatorTest Test: SurfaceAnimationRunnerTest Change-Id: Ic9522e1afef6ce62667aefca80e58d6fb1db3424 Fixes: 71650763 Fixes: 71602314 Bug: 71719744
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions