Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[ios] Removed -testCenterSet
Browse files Browse the repository at this point in the history
This test is causing frequent failures on Bitrise; the failure doesn’t appear to reflect a real-world problem.
  • Loading branch information
1ec5 committed Jan 13, 2016
1 parent e8705d5 commit 61615a4
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions test/ios/MapViewTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -317,30 +317,6 @@ - (void)testRotateDisabled {
@"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;

Expand Down

0 comments on commit 61615a4

Please sign in to comment.