diff options
author | 2025-03-21 10:40:14 -0700 | |
---|---|---|
committer | 2025-03-21 10:40:14 -0700 | |
commit | 6fb96f4fac7ec43e724506f6ee055bb9c385d638 (patch) | |
tree | 00ae287ce8f776f55f22fe79a41d10401556c55d /quickstep | |
parent | 91a081f26c9f2c25fd2b5cb97bc7487cd6f1f45a (diff) | |
parent | 386212e7aac6062e2eb4fe2d0377b6aac8868aeb (diff) |
Merge "Remove flaky test from BubbleBarViewAnimatorTest" into main
Diffstat (limited to 'quickstep')
-rw-r--r-- | quickstep/tests/src/com/android/launcher3/taskbar/bubbles/animation/BubbleBarViewAnimatorTest.kt | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/quickstep/tests/src/com/android/launcher3/taskbar/bubbles/animation/BubbleBarViewAnimatorTest.kt b/quickstep/tests/src/com/android/launcher3/taskbar/bubbles/animation/BubbleBarViewAnimatorTest.kt index 61a697503e..8f26795045 100644 --- a/quickstep/tests/src/com/android/launcher3/taskbar/bubbles/animation/BubbleBarViewAnimatorTest.kt +++ b/quickstep/tests/src/com/android/launcher3/taskbar/bubbles/animation/BubbleBarViewAnimatorTest.kt @@ -316,43 +316,6 @@ class BubbleBarViewAnimatorTest { } @Test - fun animateBubbleInForStashed_showAnimationCanceled() { - setUpBubbleBar() - - val handle = View(context) - val handleAnimator = PhysicsAnimator.getInstance(handle) - bubbleStashController.handleAnimator = handleAnimator - - val animator = - BubbleBarViewAnimator( - bubbleBarView, - bubbleStashController, - flyoutController, - bubbleBarParentViewController, - onExpanded = emptyRunnable, - onBubbleBarVisible = emptyRunnable, - animatorScheduler, - ) - - InstrumentationRegistry.getInstrumentation().runOnMainSync { - animator.animateBubbleInForStashed(bubble, isExpanding = false) - } - - // wait for the animation to start - InstrumentationRegistry.getInstrumentation().runOnMainSync {} - PhysicsAnimatorTestUtils.blockUntilFirstAnimationFrameWhereTrue(handleAnimator) { true } - - handleAnimator.assertIsRunning() - assertThat(animator.isAnimating).isTrue() - assertThat(animatorScheduler.delayedBlock).isNotNull() - - handleAnimator.cancel() - handleAnimator.assertIsNotRunning() - assertThat(animator.isAnimating).isFalse() - assertThat(animatorScheduler.delayedBlock).isNull() - } - - @Test fun animateBubbleInForStashed_autoExpanding() { setUpBubbleBar() |