diff options
author | Jesse Bounds <jesse@rebounds.net> | 2016-12-02 13:03:05 -0800 |
---|---|---|
committer | Jesse Bounds <jesse@rebounds.net> | 2016-12-02 13:03:05 -0800 |
commit | 2db31be8bc0130ac2f02bc2245b1ff21103e9baf (patch) | |
tree | 9deff83c96e201dc2e8b0938a0ace656828971a9 /platform/darwin/test/MGLMapViewTests.m | |
parent | 37026a14ff12fcf2fbad02b95fc7847908ce31d5 (diff) | |
download | qtlocation-mapboxgl-2db31be8bc0130ac2f02bc2245b1ff21103e9baf.tar.gz |
[ios, macos] Rename MGLMapViewTests back to MGLStyleLayerTests
Diffstat (limited to 'platform/darwin/test/MGLMapViewTests.m')
-rw-r--r-- | platform/darwin/test/MGLMapViewTests.m | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/platform/darwin/test/MGLMapViewTests.m b/platform/darwin/test/MGLMapViewTests.m deleted file mode 100644 index 63ff3501ca..0000000000 --- a/platform/darwin/test/MGLMapViewTests.m +++ /dev/null @@ -1,22 +0,0 @@ -#import "MGLMapViewTests.h" - -@implementation MGLMapViewTests - -- (void)setUp { - [super setUp]; -#if TARGET_OS_IPHONE - UIApplication *app = [UIApplication sharedApplication]; - UIViewController *vc = [[UIViewController alloc] init]; - app.keyWindow.rootViewController = vc; - [vc view]; // Force load xib - _mapView = [[MGLMapView alloc] initWithFrame:CGRectMake(0, 0, 256, 256)]; - [vc.view addSubview:_mapView]; - _mapView.delegate = self; -#else - [MGLAccountManager setAccessToken:@"pk.feedcafedeadbeefbadebede"]; - NSWindowController *windowController = [[NSWindowController alloc] initWithWindowNibName:@"MGLMapViewTests" owner:self]; - [windowController showWindow:nil]; -#endif -} - -@end |