summaryrefslogtreecommitdiff
path: root/platform/darwin/test/MGLAttributionInfoTests.m
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2017-06-20 21:40:42 -0700
committerMinh Nguyễn <mxn@1ec5.org>2018-09-11 02:52:33 -0700
commit2e429171090d09219c192d195a22d978bb9b8095 (patch)
treeaa0a1f769651e88d06437a3ba0b90c8b195ebd49 /platform/darwin/test/MGLAttributionInfoTests.m
parent2fccdecfb1ae720682276c0342e1c3902d8c9873 (diff)
downloadqtlocation-mapboxgl-upstream/1ec5-ios-bundle-id.tar.gz
[ios] Made SDK bundle identifier consistentupstream/1ec5-ios-bundle-id
The iOS SDK’s bundle identifier is now com.mapbox.MapboxGL, whether in the form of a static or dynamic framework. This is also consistent with the macOS SDK.
Diffstat (limited to 'platform/darwin/test/MGLAttributionInfoTests.m')
-rw-r--r--platform/darwin/test/MGLAttributionInfoTests.m7
1 files changed, 0 insertions, 7 deletions
diff --git a/platform/darwin/test/MGLAttributionInfoTests.m b/platform/darwin/test/MGLAttributionInfoTests.m
index 5961b61133..0b35e89b67 100644
--- a/platform/darwin/test/MGLAttributionInfoTests.m
+++ b/platform/darwin/test/MGLAttributionInfoTests.m
@@ -47,17 +47,10 @@
XCTAssertEqualObjects(infos[3].URL, [NSURL URLWithString:@"https://www.mapbox.com/map-feedback/"]);
XCTAssertTrue(infos[3].feedbackLink);
NSURL *styleURL = [MGLStyle satelliteStreetsStyleURLWithVersion:99];
-#if TARGET_OS_IPHONE
- XCTAssertEqualObjects([infos[3] feedbackURLAtCenterCoordinate:mapbox zoomLevel:14],
- [NSURL URLWithString:@"https://www.mapbox.com/feedback/?referrer=com.mapbox.sdk.ios#/77.63680/12.98108/14.00/0.0/0"]);
- XCTAssertEqualObjects([infos[3] feedbackURLForStyleURL:styleURL atCenterCoordinate:mapbox zoomLevel:3.14159 direction:90.9 pitch:12.5],
- [NSURL URLWithString:@"https://www.mapbox.com/feedback/?referrer=com.mapbox.sdk.ios&owner=mapbox&id=satellite-streets-v99&access_token&map_sdk_version=1.0.0#/77.63680/12.98108/3.14/90.9/13"]);
-#else
XCTAssertEqualObjects([infos[3] feedbackURLAtCenterCoordinate:mapbox zoomLevel:14],
[NSURL URLWithString:@"https://www.mapbox.com/feedback/?referrer=com.mapbox.MapboxGL#/77.63680/12.98108/14.00/0.0/0"]);
XCTAssertEqualObjects([infos[3] feedbackURLForStyleURL:styleURL atCenterCoordinate:mapbox zoomLevel:3.14159 direction:90.9 pitch:12.5],
[NSURL URLWithString:@"https://www.mapbox.com/feedback/?referrer=com.mapbox.MapboxGL&owner=mapbox&id=satellite-streets-v99&access_token&map_sdk_version=1.0.0#/77.63680/12.98108/3.14/90.9/13"]);
-#endif
}
- (void)testStyle {