summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--platform/ios/test/MGLMapViewLayoutTests.m18
1 files changed, 0 insertions, 18 deletions
diff --git a/platform/ios/test/MGLMapViewLayoutTests.m b/platform/ios/test/MGLMapViewLayoutTests.m
index 6f67ae48ad..5d9c0339b5 100644
--- a/platform/ios/test/MGLMapViewLayoutTests.m
+++ b/platform/ios/test/MGLMapViewLayoutTests.m
@@ -128,24 +128,6 @@
XCTAssertEqualWithAccuracy(CGRectGetMinY(logoView.frame), expectedLogoOriginY, accuracy);
}
-- (void)testOrnamentPlacementInvalidArgument {
- XCTAssertThrows([self.mapView setCompassViewMargins:CGPointMake(-4, -4)]);
- XCTAssertThrows([self.mapView setCompassViewMargins:CGPointMake(-4, 0)]);
- XCTAssertThrows([self.mapView setCompassViewMargins:CGPointMake(0, -4)]);
-
- XCTAssertThrows([self.mapView setScaleBarMargins:CGPointMake(-4, -4)]);
- XCTAssertThrows([self.mapView setScaleBarMargins:CGPointMake(-4, 0)]);
- XCTAssertThrows([self.mapView setScaleBarMargins:CGPointMake(0, -4)]);
-
- XCTAssertThrows([self.mapView setAttributionButtonMargins:CGPointMake(-4, -4)]);
- XCTAssertThrows([self.mapView setAttributionButtonMargins:CGPointMake(-4, 0)]);
- XCTAssertThrows([self.mapView setAttributionButtonMargins:CGPointMake(0, -4)]);
-
- XCTAssertThrows([self.mapView setLogoViewMargins:CGPointMake(-4, -4)]);
- XCTAssertThrows([self.mapView setLogoViewMargins:CGPointMake(-4, 0)]);
- XCTAssertThrows([self.mapView setLogoViewMargins:CGPointMake(0, -4)]);
-}
-
- (NSArray *)makeTestDataListWithView:(UIView *)view margin:(CGFloat)margin {
CGFloat bottomSafeAreaInset = 0.0;
if (@available(iOS 11.0, *)) {