diff options
Diffstat (limited to 'platform/ios/test/MGLAnnotationViewTests.m')
-rw-r--r-- | platform/ios/test/MGLAnnotationViewTests.m | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/platform/ios/test/MGLAnnotationViewTests.m b/platform/ios/test/MGLAnnotationViewTests.m index a2cc4227ed..7bf7c90a33 100644 --- a/platform/ios/test/MGLAnnotationViewTests.m +++ b/platform/ios/test/MGLAnnotationViewTests.m @@ -1,5 +1,6 @@ #import <Mapbox/Mapbox.h> #import <XCTest/XCTest.h> +#import "MGLTestUtility.h" static NSString * const MGLTestAnnotationReuseIdentifer = @"MGLTestAnnotationReuseIdentifer"; @@ -209,7 +210,8 @@ static NSString * const MGLTestAnnotationReuseIdentifer = @"MGLTestAnnotationReu XCTAssertEqual(view.dragState, MGLAnnotationViewDragStateNone); } -- (void)testAnnotationViewInitWithFrame { +- (void)testAnnotationViewInitWithFramePENDING { + MGL_CHECK_IF_PENDING_TEST_SHOULD_RUN(); CGRect frame = CGRectMake(10.0, 10.0, 100.0, 100.0); MGLAnnotationView *view = [[MGLAnnotationView alloc] initWithFrame:frame]; [self checkDefaultPropertiesForAnnotationView:view]; @@ -220,11 +222,12 @@ static NSString * const MGLTestAnnotationReuseIdentifer = @"MGLTestAnnotationReu [self checkDefaultPropertiesForAnnotationView:view]; } -- (void)testSelectingADisabledAnnotationView { +- (void)testSelectingADisabledAnnotationViewPENDING { + MGL_CHECK_IF_PENDING_TEST_SHOULD_RUN(); self.prepareAnnotationView = ^(MGLAnnotationView *view) { view.enabled = NO; }; - + // Create annotation MGLPointFeature *point = [[MGLPointFeature alloc] init]; point.title = NSStringFromSelector(_cmd); |