summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2019-07-11 13:49:06 -0700
committerJason Wray <jason@mapbox.com>2019-07-11 14:00:14 -0700
commita7dec7f02e4818a03f41463692ae8f24471d2446 (patch)
tree1783b4c0191dc07348844d19216cc37adcda0af7
parent8bbb4fd26e3171f8b539d4ee36d0165cbd4b4fbf (diff)
downloadqtlocation-mapboxgl-upstream/friedbunny-adds-xcode11-ci-jobs.tar.gz
[darwin] Remove unnecessary framework imports from Swift-based testsupstream/friedbunny-adds-xcode11-ci-jobs
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 {