summaryrefslogtreecommitdiff
path: root/test/ios/MapViewTests.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/ios/MapViewTests.m')
-rw-r--r--test/ios/MapViewTests.m26
1 files changed, 0 insertions, 26 deletions
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];