summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2019-07-11 13:49:06 -0700
committerJason Wray <jason@mapbox.com>2019-08-08 12:05:43 -0700
commit56e7bbc0b74840701a513c709cac94b4d4d34e26 (patch)
tree815a3b2259dd5e6c682382580ad66ea27b73a7f4
parent56e46b98a3b8e26ef87d7d339b0622b1259e5b4f (diff)
downloadqtlocation-mapboxgl-56e7bbc0b74840701a513c709cac94b4d4d34e26.tar.gz
[darwin] Remove unnecessary framework imports from Swift-based tests
Was tripping up Xcode 11 betas with: Imported declaration 'UITableViewDiffableDataSourceCellProvider' could not be mapped to 'UITableViewDiffableDataSourceReference.CellProvider'
-rw-r--r--platform/darwin/test/MGLDocumentationExampleTests.swift5
-rw-r--r--platform/darwin/test/MGLDocumentationGuideTests.swift6
-rw-r--r--platform/darwin/test/MGLSDKTestHelpers.swift1
3 files changed, 0 insertions, 12 deletions
diff --git a/platform/darwin/test/MGLDocumentationExampleTests.swift b/platform/darwin/test/MGLDocumentationExampleTests.swift
index 2a64fbc601..9fbb0cc329 100644
--- a/platform/darwin/test/MGLDocumentationExampleTests.swift
+++ b/platform/darwin/test/MGLDocumentationExampleTests.swift
@@ -1,10 +1,5 @@
import XCTest
import Mapbox
-#if os(iOS)
- import UIKit
-#else
- import Cocoa
-#endif
/**
Test cases that ensure the inline examples in the project documentation
diff --git a/platform/darwin/test/MGLDocumentationGuideTests.swift b/platform/darwin/test/MGLDocumentationGuideTests.swift
index b1e2bb843f..30814c4156 100644
--- a/platform/darwin/test/MGLDocumentationGuideTests.swift
+++ b/platform/darwin/test/MGLDocumentationGuideTests.swift
@@ -1,11 +1,5 @@
import XCTest
-import Foundation
import Mapbox
-#if os(iOS)
- import UIKit
-#else
- import Cocoa
-#endif
/**
Test cases that ensure the inline examples in the jazzy guides compile.
diff --git a/platform/darwin/test/MGLSDKTestHelpers.swift b/platform/darwin/test/MGLSDKTestHelpers.swift
index 1d174b37bc..c836f7c2fd 100644
--- a/platform/darwin/test/MGLSDKTestHelpers.swift
+++ b/platform/darwin/test/MGLSDKTestHelpers.swift
@@ -1,5 +1,4 @@
import XCTest
-import Foundation
class MGLSDKTestHelpers {