Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9e11b523 authored by Josh Yang's avatar Josh Yang
Browse files

Fix failing tests in FullScreenMagnificationGestureHandlerTest

1. testSingleFingerScrollAfterMagnified_startsFling: this test fails
   because the long-press detection interferes with scroll detection
   during test. Moreover, the current fake motion events in test is
   not recognized as scroll event on watches.
2. testTwoFingerDoubleTap_StateIsIdle_shouldInActivated() and
   testTwoFingerDoubleTap_StateIsActivated_shouldInIdle(): these 2 tests
   are failing because 1) the test uses the wrong delay and 2) the
   queued motion events will immediately change the state to detecting
   state from the expected state.

Flag: EXEMPT test fix only
Bug: 353772906
Fix: 353772906
Test: plug a watch and run "atest FullScreenMagnificationGestureHandlerTest"
Change-Id: I7d1efb6400fe4261df5bb191f284cc7cf7250924
parent a2246e9c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment