diff options
author | Lloyd Sheng <i@lloydsheng.com> | 2019-03-11 18:19:39 +0800 |
---|---|---|
committer | Lloyd Sheng <i@lloydsheng.com> | 2019-03-11 18:19:39 +0800 |
commit | 38c901684c6f5358b53acd9b912df463b85f266a (patch) | |
tree | 5634119f8bd94a9b068bdb9780c897760c0f9759 | |
parent | fda7d18a04afa6edda76e6515477fcc2de09d3bd (diff) | |
download | qtlocation-mapboxgl-upstream/lloyd-ui-position.tar.gz |
Remove testsupstream/lloyd-ui-position
-rw-r--r-- | platform/ios/test/MGLMapViewLayoutTests.m | 18 |
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, *)) { |