summaryrefslogtreecommitdiff
path: root/platform/ios/Integration Tests/MGLCameraTransitionTests.mm
diff options
context:
space:
mode:
Diffstat (limited to 'platform/ios/Integration Tests/MGLCameraTransitionTests.mm')
-rw-r--r--platform/ios/Integration Tests/MGLCameraTransitionTests.mm14
1 files changed, 7 insertions, 7 deletions
diff --git a/platform/ios/Integration Tests/MGLCameraTransitionTests.mm b/platform/ios/Integration Tests/MGLCameraTransitionTests.mm
index 32acf6a1fe..e422c46cf4 100644
--- a/platform/ios/Integration Tests/MGLCameraTransitionTests.mm
+++ b/platform/ios/Integration Tests/MGLCameraTransitionTests.mm
@@ -34,7 +34,7 @@
[self.mapView setDirection:90 animated:YES];
// loop, render, and wait
- [self waitForExpectations:@[expectation] timeout:5];
+ [self waitForExpectations:@[expectation] timeout:10];
}
@@ -62,7 +62,7 @@
};
[self.mapView setDirection:90 animated:YES];
- [self waitForExpectations:@[expectation] timeout:5];
+ [self waitForExpectations:@[expectation] timeout:10];
}
- (void)testInterruptingAndResetNorthOnlyOnceInIsChanging {
@@ -106,7 +106,7 @@
};
[self.mapView setDirection:90 animated:YES];
- [self waitForExpectations:@[expectation] timeout:5];
+ [self waitForExpectations:@[expectation] timeout:10];
XCTAssertEqualWithAccuracy(self.mapView.direction, 0.0, 0.001, @"Camera should have reset to north. %0.3f", self.mapView.direction);
}
@@ -222,7 +222,7 @@
// Should take MGLAnimationDuration seconds (0.3)
[self.mapView setCenterCoordinate:target zoomLevel:15.0 animated:YES];
- [self waitForExpectations:@[expectation] timeout:5];
+ [self waitForExpectations:@[expectation] timeout:10];
}
- (void)testFlyToCameraInDelegateMethod {
@@ -323,7 +323,7 @@
// Should take MGLAnimationDuration
[self.mapView setCenterCoordinate:target zoomLevel:zoomLevel animated:YES];
- [self waitForExpectations:@[expectation] timeout:5];
+ [self waitForExpectations:@[expectation] timeout:10];
NSLog(@"setCenterCoordinate: %0.4fs", stop1 - stop0);
NSLog(@"flyToCamera: %0.4fs", stop2 - stop1);
@@ -360,7 +360,7 @@
};
[self.mapView setDirection:90 animated:YES];
- [self waitForExpectations:@[expectation] timeout:5];
+ [self waitForExpectations:@[expectation] timeout:10];
XCTAssertEqualWithAccuracy(self.mapView.direction, 0.0, 0.001, @"Camera should have reset to north. %0.3f", self.mapView.direction);
}
@@ -386,7 +386,7 @@
};
[self.mapView setCenterCoordinate:CLLocationCoordinate2DMake(40.0, 40.0) animated:YES];
- [self waitForExpectations:@[expectation] timeout:5];
+ [self waitForExpectations:@[expectation] timeout:10];
XCTAssertEqualWithAccuracy(self.mapView.direction, 0.0, 0.001, @"Camera should have reset to north. %0.3f", self.mapView.direction);
}