From 61615a44fd49336905e7b18c8ac665ce1eb7d4a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguy=E1=BB=85n?= Date: Wed, 13 Jan 2016 13:17:43 -0800 Subject: [PATCH] [ios] Removed -testCenterSet MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This test is causing frequent failures on Bitrise; the failure doesn’t appear to reflect a real-world problem. --- test/ios/MapViewTests.m | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/test/ios/MapViewTests.m b/test/ios/MapViewTests.m index 149e2e8be..0e4743555 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;