diff options
author | Julian Rex <julian.rex@mapbox.com> | 2019-08-20 10:51:14 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-20 10:51:14 -0400 |
commit | c0cd8d021d828e9c3b66d4e11e3a4c8df9e2b559 (patch) | |
tree | 0dac7cfcedaa09f9e5da3501fcadd3761194e652 /platform/ios/Integration Tests/MGLMapViewIntegrationTest.m | |
parent | 888d2b06ec95514aea02fa36569d9c84b3b2fa31 (diff) | |
download | qtlocation-mapboxgl-c0cd8d021d828e9c3b66d4e11e3a4c8df9e2b559.tar.gz |
[ios] Adds annotation selection tests with rotation & scaling of the map (#15123)
Diffstat (limited to 'platform/ios/Integration Tests/MGLMapViewIntegrationTest.m')
-rw-r--r-- | platform/ios/Integration Tests/MGLMapViewIntegrationTest.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/ios/Integration Tests/MGLMapViewIntegrationTest.m b/platform/ios/Integration Tests/MGLMapViewIntegrationTest.m index 2c89bb1c77..62e038855d 100644 --- a/platform/ios/Integration Tests/MGLMapViewIntegrationTest.m +++ b/platform/ios/Integration Tests/MGLMapViewIntegrationTest.m @@ -2,6 +2,7 @@ @interface MGLMapView (MGLMapViewIntegrationTest) - (void)updateFromDisplayLink:(CADisplayLink *)displayLink; +- (void)setNeedsRerender; @end @implementation MGLMapViewIntegrationTest @@ -133,7 +134,7 @@ - (void)waitForMapViewToBeRenderedWithTimeout:(NSTimeInterval)timeout { XCTAssertNil(self.renderFinishedExpectation); - [self.mapView setNeedsDisplay]; + [self.mapView setNeedsRerender]; self.renderFinishedExpectation = [self expectationWithDescription:@"Map view should be rendered"]; [self waitForExpectations:@[self.renderFinishedExpectation] timeout:timeout]; } |