Skip to content

Commit c71471a

Browse files
authored
Merge pull request #1767 from ahoppen/no-isdbtestsupport
Remove dependency on ISDBTestSupport
2 parents 5eff39c + ee1fc93 commit c71471a

File tree

10 files changed

+2
-12
lines changed

10 files changed

+2
-12
lines changed

Package.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,6 @@ let package = Package(
307307
"SourceKitLSP",
308308
"SwiftExtensions",
309309
"ToolchainRegistry",
310-
.product(name: "ISDBTestSupport", package: "indexstore-db"),
311310
.product(name: "SwiftToolsSupport-auto", package: "swift-tools-support-core"),
312311
],
313312
resources: [.copy("INPUTS")],
@@ -384,7 +383,6 @@ let package = Package(
384383
"SourceKitLSP",
385384
"ToolchainRegistry",
386385
.product(name: "IndexStoreDB", package: "indexstore-db"),
387-
.product(name: "ISDBTestSupport", package: "indexstore-db"),
388386
.product(name: "SwiftToolsSupport-auto", package: "swift-tools-support-core"),
389387
// Depend on `SwiftCompilerPlugin` and `SwiftSyntaxMacros` so the modules are built before running tests and can
390388
// be used by test cases that test macros (see `SwiftPMTestProject.macroPackageManifest`)

Sources/SKTestSupport/BuildServerTestProject.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
//===----------------------------------------------------------------------===//
1212

1313
import Foundation
14-
import ISDBTestSupport
1514
import XCTest
1615

1716
fileprivate let sdkArgs =
@@ -37,7 +36,8 @@ private let skTestSupportInputsDirectory: URL = {
3736
resources.deleteLastPathComponent()
3837
}
3938
#else
40-
let resources = XCTestCase.productsDirectory
39+
let resources =
40+
productsDirectory
4141
.appendingPathComponent("SourceKitLSP_SKTestSupport.resources")
4242
#endif
4343
guard FileManager.default.fileExists(atPath: resources.path) else {

Tests/BuildSystemIntegrationTests/BuildServerBuildSystemTests.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
import BuildServerProtocol
1414
import BuildSystemIntegration
1515
import Foundation
16-
import ISDBTestSupport
1716
import LanguageServerProtocol
1817
import SKSupport
1918
import SKTestSupport

Tests/BuildSystemIntegrationTests/LegacyBuildServerBuildSystemTests.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
import BuildServerProtocol
1414
import BuildSystemIntegration
1515
import Foundation
16-
import ISDBTestSupport
1716
import LanguageServerProtocol
1817
import SKSupport
1918
import SKTestSupport

Tests/SourceKitDTests/CrashRecoveryTests.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
import ISDBTestSupport
1413
import LanguageServerProtocol
1514
import SKLogging
1615
import SKSupport

Tests/SourceKitDTests/SourceKitDTests.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
import Csourcekitd
1414
import Foundation
15-
import ISDBTestSupport
1615
import LanguageServerProtocol
1716
import SKSupport
1817
import SKTestSupport

Tests/SourceKitLSPTests/CallHierarchyTests.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
import ISDBTestSupport
1413
import LanguageServerProtocol
1514
import SKTestSupport
1615
import TSCBasic

Tests/SourceKitLSPTests/ImplementationTests.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
import ISDBTestSupport
1413
import LanguageServerProtocol
1514
import SKTestSupport
1615
import TSCBasic

Tests/SourceKitLSPTests/SwiftInterfaceTests.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
//===----------------------------------------------------------------------===//
1212

1313
import Foundation
14-
import ISDBTestSupport
1514
import LanguageServerProtocol
1615
import SKLogging
1716
import SKSupport

Tests/SourceKitLSPTests/TypeHierarchyTests.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
import ISDBTestSupport
1413
import LanguageServerProtocol
1514
import SKTestSupport
1615
import TSCBasic

0 commit comments

Comments
 (0)