name | class, % | method, % | block, % | line, % |
---|
| | | | |
class ContentViewGestureHandlerTest$MockListener | 100% (1/1) | 67% (4/6) | 62% (21/34) | 62% (8/13) |
onLongPress (MotionEvent): void | | 0% (0/1) | 0% (0/8) | 0% (0/3) |
onSingleTapConfirmed (MotionEvent): boolean | | 0% (0/1) | 0% (0/5) | 0% (0/2) |
ContentViewGestureHandlerTest$MockListener (): void | | 100% (1/1) | 100% (9/9) | 100% (3/3) |
onFling (MotionEvent, MotionEvent, float, float): boolean | | 100% (1/1) | 100% (5/5) | 100% (2/2) |
onScroll (MotionEvent, MotionEvent, float, float): boolean | | 100% (1/1) | 100% (2/2) | 100% (1/1) |
onSingleTapUp (MotionEvent): boolean | | 100% (1/1) | 100% (5/5) | 100% (2/2) |
| | | | |
class ContentViewGestureHandlerTest$MockMotionEventDelegate | 100% (1/1) | 88% (7/8) | 96% (46/48) | 94% (15/16) |
hasFixedPageScale (): boolean | | 0% (0/1) | 0% (0/2) | 0% (0/1) |
ContentViewGestureHandlerTest$MockMotionEventDelegate (): void | | 100% (1/1) | 100% (3/3) | 100% (1/1) |
didUIStealScroll (float, float): boolean | | 100% (1/1) | 100% (2/2) | 100% (1/1) |
disableSynchronousConfirmTouchEvent (): void | | 100% (1/1) | 100% (4/4) | 100% (2/2) |
enableSynchronousConfirmTouchEvent (ContentViewGestureHandler, int): void | | 100% (1/1) | 100% (7/7) | 100% (3/3) |
invokeZoomPicker (): void | | 100% (1/1) | 100% (1/1) | 100% (1/1) |
sendGesture (int, long, int, int, boolean, Bundle): boolean | | 100% (1/1) | 100% (16/16) | 100% (3/3) |
sendTouchEvent (long, int, TouchPoint []): boolean | | 100% (1/1) | 100% (13/13) | 100% (4/4) |
| | | | |
class ContentViewGestureHandlerTest$GestureRecordingMotionEventDelegate | 100% (1/1) | 90% (9/10) | 96% (48/50) | 92% (11/12) |
sendTouchEvent (long, int, TouchPoint []): boolean | | 0% (0/1) | 0% (0/2) | 0% (0/1) |
ContentViewGestureHandlerTest$GestureRecordingMotionEventDelegate (): void | | 100% (1/1) | 100% (8/8) | 100% (2/2) |
access$000 (ContentViewGestureHandlerTest$GestureRecordingMotionEventDelegate... | | 100% (1/1) | 100% (3/3) | 100% (1/1) |
access$100 (ContentViewGestureHandlerTest$GestureRecordingMotionEventDelegate... | | 100% (1/1) | 100% (3/3) | 100% (1/1) |
didUIStealScroll (float, float): boolean | | 100% (1/1) | 100% (2/2) | 100% (1/1) |
getMostRecentGestureEvent (): ContentViewGestureHandlerTest$GestureRecordingM... | | 100% (1/1) | 100% (3/3) | 100% (1/1) |
hasFixedPageScale (): boolean | | 100% (1/1) | 100% (2/2) | 100% (1/1) |
invokeZoomPicker (): void | | 100% (1/1) | 100% (1/1) | 100% (1/1) |
mostRecentGestureEventForLastForVSync (): boolean | | 100% (1/1) | 100% (3/3) | 100% (1/1) |
sendGesture (int, long, int, int, boolean, Bundle): boolean | | 100% (1/1) | 100% (23/23) | 100% (4/4) |
| | | | |
class ContentViewGestureHandlerTest | 100% (1/1) | 100% (29/29) | 98% (2906/2980) | 98% (523.9/534) |
testFinalInputEventsForVSyncIntervalWithVsyncDisabled (): void | | 100% (1/1) | 25% (12/48) | 35% (3.8/11) |
testFinalInputEventsForVSyncInterval (): void | | 100% (1/1) | 79% (61/77) | 86% (12.8/15) |
testGestureSingleClick (): void | | 100% (1/1) | 95% (60/63) | 99% (11.9/12) |
testGestureFlingAndCancelLongClick (): void | | 100% (1/1) | 96% (86/90) | 99% (14.8/15) |
testFlingOnTouchHandlerWithOneEventNotConsumed (): void | | 100% (1/1) | 98% (161/165) | 99% (28.8/29) |
testFlingOutOfTouchHandler (): void | | 100% (1/1) | 98% (147/150) | 100% (24.9/25) |
testFlingOnTouchHandler (): void | | 100% (1/1) | 98% (158/161) | 100% (28.9/29) |
testGestureEventsSingleTapUnconfirmed (): void | | 100% (1/1) | 98% (65/66) | 100% (12/12) |
testLongPressAndTapCancelWhenScrollBegins (): void | | 100% (1/1) | 99% (98/99) | 100% (16/16) |
testNoLongPressIsSentForSingleTapOutOfTouchHandler (): void | | 100% (1/1) | 99% (100/101) | 100% (20/20) |
testShowPressCancelWhenScrollBegins (): void | | 100% (1/1) | 99% (137/138) | 100% (22/22) |
testFlingEventSequence (): void | | 100% (1/1) | 99% (142/143) | 100% (23/23) |
ContentViewGestureHandlerTest (): void | | 100% (1/1) | 100% (3/3) | 100% (2/2) |
access$300 (ContentViewGestureHandlerTest): ContentViewGestureHandler | | 100% (1/1) | 100% (3/3) | 100% (1/1) |
motionEvent (int, long, long): MotionEvent | | 100% (1/1) | 100% (8/8) | 100% (1/1) |
sendLastPinchEvent (ContentViewGestureHandler): void | | 100% (1/1) | 100% (18/18) | 100% (5/5) |
sendLastScrollByEvent (ContentViewGestureHandler): void | | 100% (1/1) | 100% (28/28) | 100% (7/7) |
setUp (): void | | 100% (1/1) | 100% (59/59) | 100% (8/8) |
testDoubleTap (): void | | 100% (1/1) | 100% (174/174) | 100% (27/27) |
testDoubleTapDragZoom (): void | | 100% (1/1) | 100% (222/222) | 100% (35/35) |
testDrainWithFlingAndClickOutofTouchHandler (): void | | 100% (1/1) | 100% (183/183) | 100% (30/30) |
testGestureLongTap (): void | | 100% (1/1) | 100% (73/73) | 100% (14/14) |
testHasTouchEventHandlersChangesInGesture (): void | | 100% (1/1) | 100% (121/121) | 100% (20/20) |
testScrollUpdateCoordinates (): void | | 100% (1/1) | 100% (102/102) | 100% (22/22) |
testSynchronousConfirmTouchEvent (): void | | 100% (1/1) | 100% (104/104) | 100% (22/22) |
testTouchEventTimeoutHandler (): void | | 100% (1/1) | 100% (141/141) | 100% (27/27) |
testTouchEventsCanceledWhileScrolling (): void | | 100% (1/1) | 100% (124/124) | 100% (25/25) |
testTouchMoveCoalescing (): void | | 100% (1/1) | 100% (230/230) | 100% (42/42) |
testTouchSlopRemovedFromScroll (): void | | 100% (1/1) | 100% (86/86) | 100% (18/18) |
| | | | |
class ContentViewGestureHandlerTest$1 | 100% (1/1) | 100% (2/2) | 100% (43/43) | 100% (8/8) |
ContentViewGestureHandlerTest$1 (ContentViewGestureHandlerTest): void | | 100% (1/1) | 100% (6/6) | 100% (1/1) |
sendTouchEvent (long, int, TouchPoint []): boolean | | 100% (1/1) | 100% (37/37) | 100% (7/7) |
| | | | |
class ContentViewGestureHandlerTest$GestureRecordingMotionEventDelegate$GestureEvent | 100% (1/1) | 100% (7/7) | 100% (36/36) | 100% (13/13) |
ContentViewGestureHandlerTest$GestureRecordingMotionEventDelegate$GestureEven... | | 100% (1/1) | 100% (18/18) | 100% (7/7) |
access$200 (ContentViewGestureHandlerTest$GestureRecordingMotionEventDelegate... | | 100% (1/1) | 100% (3/3) | 100% (1/1) |
getExtraParams (): Bundle | | 100% (1/1) | 100% (3/3) | 100% (1/1) |
getTimeMs (): long | | 100% (1/1) | 100% (3/3) | 100% (1/1) |
getType (): int | | 100% (1/1) | 100% (3/3) | 100% (1/1) |
getX (): int | | 100% (1/1) | 100% (3/3) | 100% (1/1) |
getY (): int | | 100% (1/1) | 100% (3/3) | 100% (1/1) |
| | | | |
class ContentViewGestureHandlerTest$MockGestureDetector | 100% (1/1) | 100% (2/2) | 100% (13/13) | 100% (4/4) |
ContentViewGestureHandlerTest$MockGestureDetector (Context, GestureDetector$O... | | 100% (1/1) | 100% (5/5) | 100% (2/2) |
onTouchEvent (MotionEvent): boolean | | 100% (1/1) | 100% (8/8) | 100% (2/2) |
| | | | |
class ContentViewGestureHandlerTest$MockZoomManager | 100% (1/1) | 100% (2/2) | 100% (7/7) | 100% (3/3) |
ContentViewGestureHandlerTest$MockZoomManager (Context, ContentViewCore): void | | 100% (1/1) | 100% (5/5) | 100% (2/2) |
processTouchEvent (MotionEvent): boolean | | 100% (1/1) | 100% (2/2) | 100% (1/1) |