From 75ed155f4f25f9b295bc1ca7755cd7b3c7491e78 Mon Sep 17 00:00:00 2001 From: Jason Wray Date: Thu, 14 Jan 2016 17:58:09 -0500 Subject: [ios] remove `testCompassTap` test Fails on CI because KIF is unstable. Refs 61615a44fd49336905e7b18c8ac665ce1eb7d4a4, #2769, #2734 --- test/ios/MapViewTests.m | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'test/ios') diff --git a/test/ios/MapViewTests.m b/test/ios/MapViewTests.m index 0e47435551..4813f57d04 100644 --- a/test/ios/MapViewTests.m +++ b/test/ios/MapViewTests.m @@ -76,32 +76,6 @@ @"compass rotation should indicate map rotation"); } -- (void)testCompassTap { - [self waitForNotificationThatRegionDidChangeAnimatedWhileExecutingBlock:^{ - [tester.mapView setDirection:180 animated:YES]; - }]; - - XCTAssertEqual(tester.mapView.direction, - 180, - @"setting direction should take effect"); - - [self waitForNotificationThatRegionDidChangeAnimatedWhileExecutingBlock:^{ - [tester.compass tap]; - }]; - - XCTAssertEqual(tester.mapView.direction, - 0, - @"tapping compass should reset map direction"); - - [tester waitForAnimationsToFinish]; - XCTAssertEqual(tester.compass.alpha, - 0, - @"compass should not be visible when map is unrotated"); - - XCTAssert(CGAffineTransformEqualToTransform(tester.compass.transform, CGAffineTransformIdentity), - @"compass rotation should indicate map rotation"); -} - - (void)testDirectionReset { [self waitForNotificationThatRegionDidChangeAnimatedWhileExecutingBlock:^{ [tester.mapView setDirection:90 animated:YES]; -- cgit v1.2.1