Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Bart Louwers <bart@emeel.net>
23 lines
552 B
Objective-C
23 lines
552 B
Objective-C
#import "MLNMapViewIntegrationTest.h"
|
|
|
|
@interface MLNStyleURLIntegrationTest : MLNMapViewIntegrationTest
|
|
@end
|
|
|
|
@implementation MLNStyleURLIntegrationTest
|
|
|
|
- (void)setUp {
|
|
[super setUp];
|
|
[MLNSettings useWellKnownTileServer:MLNMapTiler];
|
|
}
|
|
|
|
- (void)predefinedStylesLoadingTest {
|
|
|
|
for (MLNDefaultStyle* style in [MLNStyle predefinedStyles]) {
|
|
NSString* styleName = style.name;
|
|
self.mapView.styleURL = [[MLNStyle predefinedStyle:styleName] url];
|
|
[self waitForMapViewToFinishLoadingStyleWithTimeout:5];
|
|
}
|
|
}
|
|
|
|
@end
|