summaryrefslogtreecommitdiff
path: root/test/ios
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2016-01-13 13:17:43 -0800
committerMinh Nguyễn <mxn@1ec5.org>2016-01-13 13:17:43 -0800
commit61615a44fd49336905e7b18c8ac665ce1eb7d4a4 (patch)
tree5b902f2a2c0c6176e211b7ee265d138dadd177f9 /test/ios
parente8705d535d56415ff8f97db1ad6b5a77ed3fcd4a (diff)
downloadqtlocation-mapboxgl-61615a44fd49336905e7b18c8ac665ce1eb7d4a4.tar.gz
[ios] Removed -testCenterSet
This test is causing frequent failures on Bitrise; the failure doesn’t appear to reflect a real-world problem.
Diffstat (limited to 'test/ios')
-rw-r--r--test/ios/MapViewTests.m24
1 files changed, 0 insertions, 24 deletions
diff --git a/test/ios/MapViewTests.m b/test/ios/MapViewTests.m
index 149e2e8be0..0e47435551 100644
--- a/test/ios/MapViewTests.m
+++ b/test/ios/MapViewTests.m
@@ -317,30 +317,6 @@
@"disabling rotation show disallow rotation gestures");
}
-- (void)testCenterSet {
- CLLocationCoordinate2D newCenterCoordinate = CLLocationCoordinate2DMake(45.23237263, -122.23287129);
-
- XCTAssertNotEqual(tester.mapView.centerCoordinate.latitude,
- newCenterCoordinate.latitude,
- @"initial setup should have differing center latitude");
-
- XCTAssertNotEqual(tester.mapView.centerCoordinate.longitude,
- newCenterCoordinate.longitude,
- @"initial setup should have differing center longitude");
-
- tester.mapView.centerCoordinate = newCenterCoordinate;
-
- XCTAssertEqualWithAccuracy(tester.mapView.centerCoordinate.latitude,
- newCenterCoordinate.latitude,
- 0.001,
- @"setting center should change latitude");
-
- XCTAssertEqualWithAccuracy(tester.mapView.centerCoordinate.longitude,
- newCenterCoordinate.longitude,
- 0.001,
- @"setting center should change longitude");
-}
-
- (void)testZoomSet {
double newZoom = 11.65;