@@ -330,6 +330,11 @@ final class SemanticTokensTests: XCTestCase {
330
330
func testSemanticTokensForFunctionSignatures( ) async throws {
331
331
try await SkipUnless . sourcekitdHasSemanticTokensRequest ( )
332
332
333
+ #if os(Windows)
334
+ // FIXME: Run when https://github.com/swiftlang/sourcekit-lsp/issues/1770 is fixed
335
+ try XCTSkipIf ( true , " https://github.com/swiftlang/sourcekit-lsp/issues/1770 " )
336
+ #endif
337
+
333
338
try await assertSemanticTokens (
334
339
markedContents: " 1️⃣func 2️⃣f(3️⃣x: 4️⃣Int, _ 5️⃣y: 6️⃣String) {} " ,
335
340
expected: [
@@ -404,6 +409,11 @@ final class SemanticTokensTests: XCTestCase {
404
409
func testSemanticTokensForEnumMembers( ) async throws {
405
410
try await SkipUnless . sourcekitdHasSemanticTokensRequest ( )
406
411
412
+ #if os(Windows)
413
+ // FIXME: Run when https://github.com/swiftlang/sourcekit-lsp/issues/1770 is fixed
414
+ try XCTSkipIf ( true , " https://github.com/swiftlang/sourcekit-lsp/issues/1770 " )
415
+ #endif
416
+
407
417
try await assertSemanticTokens (
408
418
markedContents: """
409
419
1️⃣enum 2️⃣Maybe<3️⃣T> {
@@ -490,6 +500,11 @@ final class SemanticTokensTests: XCTestCase {
490
500
func testEmptyEdit( ) async throws {
491
501
try await SkipUnless . sourcekitdHasSemanticTokensRequest ( )
492
502
503
+ #if os(Windows)
504
+ // FIXME: Run when https://github.com/swiftlang/sourcekit-lsp/issues/1770 is fixed
505
+ try XCTSkipIf ( true , " https://github.com/swiftlang/sourcekit-lsp/issues/1770 " )
506
+ #endif
507
+
493
508
let testClient = try await TestSourceKitLSPClient ( )
494
509
let uri = DocumentURI ( for: . swift)
495
510
let positions = testClient. openDocument (
@@ -573,6 +588,11 @@ final class SemanticTokensTests: XCTestCase {
573
588
func testReplaceUntilEndOfToken( ) async throws {
574
589
try await SkipUnless . sourcekitdHasSemanticTokensRequest ( )
575
590
591
+ #if os(Windows)
592
+ // FIXME: Run when https://github.com/swiftlang/sourcekit-lsp/issues/1770 is fixed
593
+ try XCTSkipIf ( true , " https://github.com/swiftlang/sourcekit-lsp/issues/1770 " )
594
+ #endif
595
+
576
596
let testClient = try await TestSourceKitLSPClient ( )
577
597
let uri = DocumentURI ( for: . swift)
578
598
let positions = testClient. openDocument (
@@ -626,6 +646,11 @@ final class SemanticTokensTests: XCTestCase {
626
646
func testInsertSpaceBeforeToken( ) async throws {
627
647
try await SkipUnless . sourcekitdHasSemanticTokensRequest ( )
628
648
649
+ #if os(Windows)
650
+ // FIXME: Run when https://github.com/swiftlang/sourcekit-lsp/issues/1770 is fixed
651
+ try XCTSkipIf ( true , " https://github.com/swiftlang/sourcekit-lsp/issues/1770 " )
652
+ #endif
653
+
629
654
let testClient = try await TestSourceKitLSPClient ( )
630
655
let uri = DocumentURI ( for: . swift)
631
656
let positions = testClient. openDocument (
@@ -693,6 +718,11 @@ final class SemanticTokensTests: XCTestCase {
693
718
func testInsertNewline( ) async throws {
694
719
try await SkipUnless . sourcekitdHasSemanticTokensRequest ( )
695
720
721
+ #if os(Windows)
722
+ // FIXME: Run when https://github.com/swiftlang/sourcekit-lsp/issues/1770 is fixed
723
+ try XCTSkipIf ( true , " https://github.com/swiftlang/sourcekit-lsp/issues/1770 " )
724
+ #endif
725
+
696
726
let testClient = try await TestSourceKitLSPClient ( )
697
727
let uri = DocumentURI ( for: . swift)
698
728
let positions = testClient. openDocument (
@@ -766,6 +796,11 @@ final class SemanticTokensTests: XCTestCase {
766
796
func testInsertTokens( ) async throws {
767
797
try await SkipUnless . sourcekitdHasSemanticTokensRequest ( )
768
798
799
+ #if os(Windows)
800
+ // FIXME: Run when https://github.com/swiftlang/sourcekit-lsp/issues/1770 is fixed
801
+ try XCTSkipIf ( true , " https://github.com/swiftlang/sourcekit-lsp/issues/1770 " )
802
+ #endif
803
+
769
804
let testClient = try await TestSourceKitLSPClient ( )
770
805
let uri = DocumentURI ( for: . swift)
771
806
let positions = testClient. openDocument (
@@ -897,6 +932,11 @@ final class SemanticTokensTests: XCTestCase {
897
932
func testArgumentLabels( ) async throws {
898
933
try await SkipUnless . sourcekitdHasSemanticTokensRequest ( )
899
934
935
+ #if os(Windows)
936
+ // FIXME: Run when https://github.com/swiftlang/sourcekit-lsp/issues/1770 is fixed
937
+ try XCTSkipIf ( true , " https://github.com/swiftlang/sourcekit-lsp/issues/1770 " )
938
+ #endif
939
+
900
940
try await assertSemanticTokens (
901
941
markedContents: """
902
942
1️⃣func 2️⃣foo(3️⃣arg: 4️⃣Int) {}
@@ -917,6 +957,11 @@ final class SemanticTokensTests: XCTestCase {
917
957
func testFunctionDeclarationWithFirstAndSecondName( ) async throws {
918
958
try await SkipUnless . sourcekitdHasSemanticTokensRequest ( )
919
959
960
+ #if os(Windows)
961
+ // FIXME: Run when https://github.com/swiftlang/sourcekit-lsp/issues/1770 is fixed
962
+ try XCTSkipIf ( true , " https://github.com/swiftlang/sourcekit-lsp/issues/1770 " )
963
+ #endif
964
+
920
965
try await assertSemanticTokens (
921
966
markedContents: """
922
967
1️⃣func 2️⃣foo(3️⃣arg 4️⃣internalName: 5️⃣Int) {}
0 commit comments