Gesture Recognizer Tests
- Green text
- The name of a test which focuses on the preceding scenario.
- None
- No test exists where the focus is the preceding scenario.
- There may be other tests which exercise this scenario, but
ideally there would be a test in which this is the primary
focus.
- Tap Down
- Press
- GestureSequenceTest.TapDown
- Tap
- Double Tap
- Press, Wait, Release, Press, Wait, Release
- GestureSequenceTest.DoubleTap
- Long Press
- Press, Wait
- GestureSequenceTest.LongPress
- Three Fingered Swipe
- Press 1, Press 2, Press 3, Swipe
- GestureSequenceTest.ThreeFingeredSwipeLeft
- GestureSequenceTest.ThreeFingeredSwipeRight
- GestureSequenceTest.ThreeFingeredSwipeUp
- GestureSequenceTest.ThreeFingeredSwipeDown
- Press 1, Move 1, Press 2, Move 2, Press 3, Swipe
- Scroll
- Begin, Update
- Press, Move
- GestureSequenceTest.NonRailScroll
- GestureSequenceTest.HorizontalRailScroll
- GestureSequenceTest.VerticalRailScroll
- Press 1, Press 2, Move 1, Move 2
- GestureSequenceTest.PinchScroll
- End
- Press, Move, Release
- GestureSequenceTest.NonRailFling
- GestureSequenceTest.HorizontalRailFling
- GestureSequenceTest.VerticalRailFling
- Pinch
- Begin, Update:
- Press 1, Press 2
- GestureSequenceTest.Pinch
- GestureSequenceTest.PinchFromTap
- Press 1, Move 1, Press 2
- GestureSequenceTest.PinchFromScroll
- Press 1, Press 2, Release 1, Press 1
- GestureSequenceTest.PinchFromScrollFromPinch
- End
- Tap Down
- Tap
- Press, Cancel :
- GestureSequenceTest.TapCancel
- Press, Move, Release:
- Press, PreventDefault’ed release
- GestureRecognizerTest.NoTapWithPreventDefaultedRelease
- Double Tap
- Press, Release, Press different place, Release
- GestureSequenceTest.OnlyDoubleTapIfClose
- Press, Release, Press, Move, Release
- Long Press
- Press, Release, Wait :
- Press, Move, Wait :
- GestureSequenceTest.LongPressCancelledByScroll
- Press 1, Press 2, Wait
- GestureSequenceTest.LongPressCancelledByPinch
- Three Fingered Swipe
- Press 1, Press 2, Press 3, Swipe Diagonally
- GestureSequenceTest.ThreeFingeredSwipeDiagonal
- Press 1, Press 2, Press 3, Swipe in opposite directions
- GestureSequenceTest.ThreeFingeredSwipeSpread
- Scroll
- Pinch
- Tap Followed by Scroll:
- GestureSequenceTest.TapFollowedByScroll
- Release without Press:
- GestureSequenceTest.IgnoreDisconnectedEvents
- Unprocessed gesture events generate synthetic mouse events:
- GestureRecognizerTest.GestureTapSyntheticMouse
- Queueing of events:
- GestureRecognizerTest.AsynchronousGestureRecognition
- If a touch is already locked to a target, keep it.
- GestureRecognizerTest.GestureEventTouchLockSelectsCorrectWindow
- If a window is capturing touches, target that window.
- WindowTest.TouchCaptureTests
- WindowTest.TouchCaptureCancelsOtherTouches
- WindowTest.TouchCaptureDoesntCancelCapturedTouches
- If it's outside the root window, target the root window.
- SystemGestureEventFilterTest.TapOutsideRootWindow
- GestureRecognizerTest.GestureEventOutsideRootWindowTap
- If it's near another touch, use the other touch's target.
- GestureRecognizerTest.GestureEventTouchLockSelectsCorrectWindow
- Otherwise, use whichever window the touch is above.