summaryrefslogtreecommitdiff
path: root/platform/darwin/test/MGLSourceQueryTests.m
diff options
context:
space:
mode:
Diffstat (limited to 'platform/darwin/test/MGLSourceQueryTests.m')
-rw-r--r--platform/darwin/test/MGLSourceQueryTests.m25
1 files changed, 0 insertions, 25 deletions
diff --git a/platform/darwin/test/MGLSourceQueryTests.m b/platform/darwin/test/MGLSourceQueryTests.m
deleted file mode 100644
index b321da1ea4..0000000000
--- a/platform/darwin/test/MGLSourceQueryTests.m
+++ /dev/null
@@ -1,25 +0,0 @@
-#import <Mapbox/Mapbox.h>
-#import <XCTest/XCTest.h>
-
-@interface MGLSourceQueryTests : XCTestCase <MGLMapViewDelegate>
-
-@end
-
-@implementation MGLSourceQueryTests
-
-- (void) testQueryVectorTileSource {
- MGLVectorTileSource *source = [[MGLVectorTileSource alloc] initWithIdentifier:@"vector" tileURLTemplates:@[@"fake"] options:nil];
- NSSet *sourceLayers = [NSSet setWithObjects:@"buildings", @"water", nil];
- NSArray* features = [source featuresInSourceLayersWithIdentifiers:sourceLayers predicate:nil];
- // Source not added yet, so features is 0
- XCTAssertEqual([features count], 0);
-}
-
-- (void) testQueryShapeSource {
- MGLShapeSource *source = [[MGLShapeSource alloc] initWithIdentifier:@"shape" shape:[MGLShapeCollection shapeCollectionWithShapes:@[]] options:nil];
- NSArray* features = [source featuresMatchingPredicate:nil];
- // Source not added yet, so features is 0
- XCTAssertEqual([features count], 0);
-}
-
-@end