From 9f2805ab6b4533368d3d75109b5c54b3264e93d9 Mon Sep 17 00:00:00 2001 From: Allison Chou Date: Mon, 9 May 2022 12:58:22 -0700 Subject: [PATCH 1/3] [LSP] Disable GoToDef/GoToImpl integration tests --- .../New.IntegrationTests/CSharp/CSharpGoToDefinition.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/VisualStudio/IntegrationTest/New.IntegrationTests/CSharp/CSharpGoToDefinition.cs b/src/VisualStudio/IntegrationTest/New.IntegrationTests/CSharp/CSharpGoToDefinition.cs index 007e149cd6601..9c327ac8ad9b1 100644 --- a/src/VisualStudio/IntegrationTest/New.IntegrationTests/CSharp/CSharpGoToDefinition.cs +++ b/src/VisualStudio/IntegrationTest/New.IntegrationTests/CSharp/CSharpGoToDefinition.cs @@ -23,7 +23,7 @@ public CSharpGoToDefinition() { } - [IdeFact, Trait(Traits.Editor, Traits.Editors.LanguageServerProtocol)] + [IdeFact] public async Task GoToClassDeclaration() { var project = ProjectName; @@ -48,7 +48,7 @@ await TestServices.Editor.SetTextAsync( Assert.False(await TestServices.Shell.IsActiveTabProvisionalAsync(HangMitigatingCancellationToken)); } - [IdeFact, Trait(Traits.Editor, Traits.Editors.LanguageServerProtocol)] + [IdeFact] public async Task GoToDefinitionOpensProvisionalTabIfDocumentNotAlreadyOpen() { var project = ProjectName; @@ -74,7 +74,7 @@ await TestServices.Editor.SetTextAsync( Assert.True(await TestServices.Shell.IsActiveTabProvisionalAsync(HangMitigatingCancellationToken)); } - [IdeFact, Trait(Traits.Editor, Traits.Editors.LanguageServerProtocol)] + [IdeFact] public async Task GoToDefinitionWithMultipleResults() { await SetUpEditorAsync( From 6d7cd2f4a984ff155c9c45041a2b3dc8f5cafbcd Mon Sep 17 00:00:00 2001 From: Allison Chou Date: Mon, 9 May 2022 12:58:56 -0700 Subject: [PATCH 2/3] [LSP] Disable GoToDef/GoToImpl integration tests --- .../New.IntegrationTests/CSharp/CSharpGoToImplementation.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/VisualStudio/IntegrationTest/New.IntegrationTests/CSharp/CSharpGoToImplementation.cs b/src/VisualStudio/IntegrationTest/New.IntegrationTests/CSharp/CSharpGoToImplementation.cs index 7b0273e74ccc8..83b76b8afd290 100644 --- a/src/VisualStudio/IntegrationTest/New.IntegrationTests/CSharp/CSharpGoToImplementation.cs +++ b/src/VisualStudio/IntegrationTest/New.IntegrationTests/CSharp/CSharpGoToImplementation.cs @@ -26,7 +26,7 @@ public CSharpGoToImplementation() { } - [IdeTheory, Trait(Traits.Editor, Traits.Editors.LanguageServerProtocol)] + [IdeTheory] [CombinatorialData] public async Task SimpleGoToImplementation(bool asyncNavigation) { @@ -75,7 +75,7 @@ await TestServices.Editor.SetTextAsync( Assert.False(await TestServices.Shell.IsActiveTabProvisionalAsync(HangMitigatingCancellationToken)); } - [IdeTheory, Trait(Traits.Editor, Traits.Editors.LanguageServerProtocol)] + [IdeTheory] [CombinatorialData] public async Task GoToImplementationOpensProvisionalTabIfDocumentNotOpen(bool asyncNavigation) { From 5ee295c139312a03b6eab88c45e730d7508f49bd Mon Sep 17 00:00:00 2001 From: Allison Chou Date: Mon, 9 May 2022 14:15:48 -0700 Subject: [PATCH 3/3] Update CSharpClassification.cs --- .../IntegrationTests/CSharp/CSharpClassification.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpClassification.cs b/src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpClassification.cs index 16d0b4ab72aad..887156eea3719 100644 --- a/src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpClassification.cs +++ b/src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpClassification.cs @@ -106,7 +106,7 @@ static void Main(string[] args) VisualStudio.Editor.Verify.CurrentTokenType(tokenType: "class name"); } - [WpfFact, Trait(Traits.Feature, Traits.Features.Classification), Trait(Traits.Editor, Traits.Editors.LanguageServerProtocol)] + [WpfFact, Trait(Traits.Feature, Traits.Features.Classification)] public void VerifyProjectConfigChange() { VisualStudio.Editor.SetText(@"