@@ -44,7 +44,7 @@ final class SwiftPMWorkspaceTests: XCTestCase {
44
44
workspacePath: packageRoot,
45
45
toolchainRegistry: tr,
46
46
fileSystem: fs,
47
- buildSetup: TestSourceKitServer . serverOptions. buildSetup
47
+ buildSetup: TestSourceKitLSPClient . serverOptions. buildSetup
48
48
)
49
49
)
50
50
}
@@ -71,7 +71,7 @@ final class SwiftPMWorkspaceTests: XCTestCase {
71
71
workspacePath: packageRoot,
72
72
toolchainRegistry: tr,
73
73
fileSystem: fs,
74
- buildSetup: TestSourceKitServer . serverOptions. buildSetup
74
+ buildSetup: TestSourceKitLSPClient . serverOptions. buildSetup
75
75
)
76
76
)
77
77
}
@@ -98,7 +98,7 @@ final class SwiftPMWorkspaceTests: XCTestCase {
98
98
workspacePath: packageRoot,
99
99
toolchainRegistry: ToolchainRegistry ( ) ,
100
100
fileSystem: fs,
101
- buildSetup: TestSourceKitServer . serverOptions. buildSetup
101
+ buildSetup: TestSourceKitLSPClient . serverOptions. buildSetup
102
102
)
103
103
)
104
104
}
@@ -126,7 +126,7 @@ final class SwiftPMWorkspaceTests: XCTestCase {
126
126
workspacePath: packageRoot,
127
127
toolchainRegistry: tr,
128
128
fileSystem: fs,
129
- buildSetup: TestSourceKitServer . serverOptions. buildSetup
129
+ buildSetup: TestSourceKitLSPClient . serverOptions. buildSetup
130
130
)
131
131
132
132
let aswift = packageRoot. appending ( components: " Sources " , " lib " , " a.swift " )
@@ -231,7 +231,7 @@ final class SwiftPMWorkspaceTests: XCTestCase {
231
231
workspacePath: packageRoot,
232
232
toolchainRegistry: tr,
233
233
fileSystem: fs,
234
- buildSetup: TestSourceKitServer . serverOptions. buildSetup
234
+ buildSetup: TestSourceKitLSPClient . serverOptions. buildSetup
235
235
)
236
236
237
237
let source = try resolveSymlinks ( packageRoot. appending ( component: " Package.swift " ) )
@@ -265,7 +265,7 @@ final class SwiftPMWorkspaceTests: XCTestCase {
265
265
workspacePath: packageRoot,
266
266
toolchainRegistry: tr,
267
267
fileSystem: fs,
268
- buildSetup: TestSourceKitServer . serverOptions. buildSetup
268
+ buildSetup: TestSourceKitLSPClient . serverOptions. buildSetup
269
269
)
270
270
271
271
let aswift = packageRoot. appending ( components: " Sources " , " lib " , " a.swift " )
@@ -309,7 +309,7 @@ final class SwiftPMWorkspaceTests: XCTestCase {
309
309
workspacePath: packageRoot,
310
310
toolchainRegistry: tr,
311
311
fileSystem: fs,
312
- buildSetup: TestSourceKitServer . serverOptions. buildSetup
312
+ buildSetup: TestSourceKitLSPClient . serverOptions. buildSetup
313
313
)
314
314
315
315
let aswift = packageRoot. appending ( components: " Sources " , " libA " , " a.swift " )
@@ -371,7 +371,7 @@ final class SwiftPMWorkspaceTests: XCTestCase {
371
371
workspacePath: packageRoot,
372
372
toolchainRegistry: tr,
373
373
fileSystem: fs,
374
- buildSetup: TestSourceKitServer . serverOptions. buildSetup
374
+ buildSetup: TestSourceKitLSPClient . serverOptions. buildSetup
375
375
)
376
376
377
377
let aswift = packageRoot. appending ( components: " Sources " , " libA " , " a.swift " )
@@ -407,7 +407,7 @@ final class SwiftPMWorkspaceTests: XCTestCase {
407
407
workspacePath: packageRoot,
408
408
toolchainRegistry: tr,
409
409
fileSystem: fs,
410
- buildSetup: TestSourceKitServer . serverOptions. buildSetup
410
+ buildSetup: TestSourceKitLSPClient . serverOptions. buildSetup
411
411
)
412
412
413
413
let acxx = packageRoot. appending ( components: " Sources " , " lib " , " a.cpp " )
@@ -499,7 +499,7 @@ final class SwiftPMWorkspaceTests: XCTestCase {
499
499
workspacePath: packageRoot,
500
500
toolchainRegistry: ToolchainRegistry . shared,
501
501
fileSystem: fs,
502
- buildSetup: TestSourceKitServer . serverOptions. buildSetup
502
+ buildSetup: TestSourceKitLSPClient . serverOptions. buildSetup
503
503
)
504
504
505
505
let aswift = packageRoot. appending ( components: " Sources " , " lib " , " a.swift " )
@@ -547,7 +547,7 @@ final class SwiftPMWorkspaceTests: XCTestCase {
547
547
workspacePath: packageRoot,
548
548
toolchainRegistry: tr,
549
549
fileSystem: fs,
550
- buildSetup: TestSourceKitServer . serverOptions. buildSetup
550
+ buildSetup: TestSourceKitLSPClient . serverOptions. buildSetup
551
551
)
552
552
553
553
let aswift1 = packageRoot. appending ( components: " Sources " , " lib " , " a.swift " )
@@ -606,7 +606,7 @@ final class SwiftPMWorkspaceTests: XCTestCase {
606
606
workspacePath: packageRoot,
607
607
toolchainRegistry: tr,
608
608
fileSystem: fs,
609
- buildSetup: TestSourceKitServer . serverOptions. buildSetup
609
+ buildSetup: TestSourceKitLSPClient . serverOptions. buildSetup
610
610
)
611
611
612
612
let acxx = packageRoot. appending ( components: " Sources " , " lib " , " a.cpp " )
@@ -651,7 +651,7 @@ final class SwiftPMWorkspaceTests: XCTestCase {
651
651
workspacePath: packageRoot,
652
652
toolchainRegistry: tr,
653
653
fileSystem: fs,
654
- buildSetup: TestSourceKitServer . serverOptions. buildSetup
654
+ buildSetup: TestSourceKitLSPClient . serverOptions. buildSetup
655
655
)
656
656
657
657
let aswift = packageRoot. appending ( components: " Sources " , " lib " , " a.swift " )
@@ -687,7 +687,7 @@ final class SwiftPMWorkspaceTests: XCTestCase {
687
687
workspacePath: packageRoot,
688
688
toolchainRegistry: tr,
689
689
fileSystem: fs,
690
- buildSetup: TestSourceKitServer . serverOptions. buildSetup
690
+ buildSetup: TestSourceKitLSPClient . serverOptions. buildSetup
691
691
)
692
692
693
693
assertEqual ( await ws. _packageRoot, try resolveSymlinks ( tempDir. appending ( component: " pkg " ) ) )
@@ -734,7 +734,7 @@ private func check(
734
734
735
735
private func buildPath(
736
736
root: AbsolutePath ,
737
- config: BuildSetup = TestSourceKitServer . serverOptions. buildSetup,
737
+ config: BuildSetup = TestSourceKitLSPClient . serverOptions. buildSetup,
738
738
platform: String
739
739
) -> AbsolutePath {
740
740
let buildPath = config. path ?? root. appending ( component: " .build " )
0 commit comments