diff options
Diffstat (limited to 'platform/ios/test/MGLMockGestureRecognizers.h')
-rw-r--r-- | platform/ios/test/MGLMockGestureRecognizers.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/platform/ios/test/MGLMockGestureRecognizers.h b/platform/ios/test/MGLMockGestureRecognizers.h index aa5fbec494..29889e39f4 100644 --- a/platform/ios/test/MGLMockGestureRecognizers.h +++ b/platform/ios/test/MGLMockGestureRecognizers.h @@ -4,7 +4,26 @@ @interface UIPinchGestureRecognizerMock : UIPinchGestureRecognizer @property (nonatomic, readwrite) CGFloat velocity; @property (nonatomic) CGPoint locationInViewOverride; +@property(nonatomic, readwrite) UIGestureRecognizerState state; @end @interface UIRotationGestureRecognizerMock : UIRotationGestureRecognizer +@property(nonatomic, readwrite) UIGestureRecognizerState state; +@end + +@interface UITapGestureRecognizerMock : UITapGestureRecognizer +@property (strong, nonatomic) UIView *mockTappedView; +@property (assign) CGPoint mockTappedPoint; +@end + +@interface UILongPressGestureRecognizerMock : UILongPressGestureRecognizer +@property(nonatomic, readwrite) UIGestureRecognizerState state; +@property (assign) CGPoint mockTappedPoint; +@end + +@interface UIPanGestureRecognizerMock : UIPanGestureRecognizer +@property(nonatomic, readwrite) UIGestureRecognizerState state; +@property (assign) CGPoint firstFingerPoint; +@property (assign) CGPoint secondFingerPoint; +@property(nonatomic, readwrite) NSUInteger numberOfTouches; @end |