Merge "Fix broken FoldAodAnimationControllerTest test" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
f2896d4b3e
@@ -175,8 +175,10 @@ class FoldAodAnimationControllerTest : SysuiTestCase() {
|
|||||||
|
|
||||||
fold()
|
fold()
|
||||||
underTest.onScreenTurningOn({})
|
underTest.onScreenTurningOn({})
|
||||||
underTest.onStartedWakingUp()
|
// The body of onScreenTurningOn is executed on fakeExecutor,
|
||||||
|
// run all pending tasks before calling the next method
|
||||||
fakeExecutor.runAllReady()
|
fakeExecutor.runAllReady()
|
||||||
|
underTest.onStartedWakingUp()
|
||||||
|
|
||||||
verify(latencyTracker).onActionStart(any())
|
verify(latencyTracker).onActionStart(any())
|
||||||
verify(latencyTracker).onActionCancel(any())
|
verify(latencyTracker).onActionCancel(any())
|
||||||
|
|||||||
Reference in New Issue
Block a user