diff options
author | Julian Rex <julian.rex@mapbox.com> | 2019-09-13 23:20:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-13 23:20:17 -0400 |
commit | 99492ff5e733733cf4bf2bdd210cccf3ab4fc5ab (patch) | |
tree | 2a708fe3f9f9b56803c1d052b71ab3eb8e66605d /platform/ios/Integration Tests/MGLStyleURLIntegrationTest.m | |
parent | 7db7d64270633fc229394c88e7292f088d1b05ee (diff) | |
download | qtlocation-mapboxgl-99492ff5e733733cf4bf2bdd210cccf3ab4fc5ab.tar.gz |
[ios] Add custom XCTestSuite to check for "pending" tests and tests requiring a valid access token. (#15477)
Diffstat (limited to 'platform/ios/Integration Tests/MGLStyleURLIntegrationTest.m')
-rw-r--r-- | platform/ios/Integration Tests/MGLStyleURLIntegrationTest.m | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/platform/ios/Integration Tests/MGLStyleURLIntegrationTest.m b/platform/ios/Integration Tests/MGLStyleURLIntegrationTest.m index f9217bae5f..22de4c6aa5 100644 --- a/platform/ios/Integration Tests/MGLStyleURLIntegrationTest.m +++ b/platform/ios/Integration Tests/MGLStyleURLIntegrationTest.m @@ -6,36 +6,32 @@ @implementation MGLStyleURLIntegrationTest - (void)internalTestWithStyleSelector:(SEL)selector { - if (![self validAccessToken]) { - return; - } - self.mapView.styleURL = [MGLStyle performSelector:selector]; [self waitForMapViewToFinishLoadingStyleWithTimeout:5]; } -- (void)testLoadingStreetsStyleURL { +- (void)testLoadingStreetsStyleURL🔒 { [self internalTestWithStyleSelector:@selector(streetsStyleURL)]; } -- (void)testLoadingOutdoorsStyleURL { +- (void)testLoadingOutdoorsStyleURL🔒 { [self internalTestWithStyleSelector:@selector(outdoorsStyleURL)]; } -- (void)testLoadingLightStyleURL { +- (void)testLoadingLightStyleURL🔒 { [self internalTestWithStyleSelector:@selector(lightStyleURL)]; } -- (void)testLoadingDarkStyleURL { +- (void)testLoadingDarkStyleURL🔒 { [self internalTestWithStyleSelector:@selector(darkStyleURL)]; } -- (void)testLoadingSatelliteStyleURL { +- (void)testLoadingSatelliteStyleURL🔒 { [self internalTestWithStyleSelector:@selector(satelliteStyleURL)]; } -- (void)testLoadingSatelliteStreetsStyleURL { +- (void)testLoadingSatelliteStreetsStyleURL🔒 { [self internalTestWithStyleSelector:@selector(satelliteStreetsStyleURL)]; } |