summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2016-01-14 17:58:09 -0500
committerJason Wray <jason@mapbox.com>2016-01-14 17:58:09 -0500
commit75ed155f4f25f9b295bc1ca7755cd7b3c7491e78 (patch)
treefde75e9484f051ca83ec27e522235cf27530840c /test
parent0066637e58ab47c7c1c9dcec123ff850ae33f8fc (diff)
downloadqtlocation-mapboxgl-75ed155f4f25f9b295bc1ca7755cd7b3c7491e78.tar.gz
[ios] remove `testCompassTap` test
Fails on CI because KIF is unstable. Refs 61615a44fd49336905e7b18c8ac665ce1eb7d4a4, #2769, #2734
Diffstat (limited to 'test')
-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];