From 38c901684c6f5358b53acd9b912df463b85f266a Mon Sep 17 00:00:00 2001 From: Lloyd Sheng Date: Mon, 11 Mar 2019 18:19:39 +0800 Subject: Remove tests --- platform/ios/test/MGLMapViewLayoutTests.m | 18 ------------------ 1 file changed, 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, *)) { -- cgit v1.2.1