summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2017-04-13 00:31:54 -0700
committerMinh Nguyễn <mxn@1ec5.org>2017-04-14 11:20:09 -0700
commitef99b108fe51d108e789a484acae1c6bc30464c7 (patch)
tree6ffb7b4f2743b690a6a53ab2c24deeb6d6be2bb8
parent9340b4822a9d5f43952ba71ff16315d606de50bc (diff)
downloadqtlocation-mapboxgl-ef99b108fe51d108e789a484acae1c6bc30464c7.tar.gz
[ios] Deleted unused source unit tests
Deleted MGLSourceTests, which has been subsumed by MGLStyleTests and is no longer part of any test target.
-rw-r--r--platform/ios/test/MGLSourceTests.m24
1 files changed, 0 insertions, 24 deletions
diff --git a/platform/ios/test/MGLSourceTests.m b/platform/ios/test/MGLSourceTests.m
deleted file mode 100644
index 2e4942cbe9..0000000000
--- a/platform/ios/test/MGLSourceTests.m
+++ /dev/null
@@ -1,24 +0,0 @@
-#import "MGLMapViewTests.h"
-
-@interface MGLSourceTests : MGLMapViewTests
-
-@end
-
-@implementation MGLSourceTests
-
-- (void)testDuplicateSources {
- MGLVectorSource *source1 = [[MGLVectorSource alloc] initWithIdentifier:@"my-source" URL:[NSURL URLWithString:@"mapbox://mapbox.mapbox-terrain-v2"]];
- MGLVectorSource *source2 = [[MGLVectorSource alloc] initWithIdentifier:@"my-source" URL:[NSURL URLWithString:@"mapbox://mapbox.mapbox-terrain-v2"]];
-
- [self.mapView.style addSource: source1];
-
- @try {
- [self.mapView.style addSource: source2];
- XCTFail(@"Should not have reached this point");
- }
- @catch (NSException *e) {
- XCTAssertNotNil(e, @"Should have thrown an exception");
- }
-}
-
-@end