Update to microsoft/vs-extension-testing 0.1.90-beta
This commit is contained in:
Родитель
ccc0973f6b
Коммит
4864d2cf47
|
@ -74,7 +74,7 @@
|
|||
<MicrosoftCodeAnalysisTestingVersion>1.0.1-beta1.20374.2</MicrosoftCodeAnalysisTestingVersion>
|
||||
<xunitassertVersion>$(xunitVersion)</xunitassertVersion>
|
||||
<XunitCombinatorialVersion>1.2.7</XunitCombinatorialVersion>
|
||||
<MicrosoftVisualStudioExtensibilityTestingXunitVersion>0.1.73-beta</MicrosoftVisualStudioExtensibilityTestingXunitVersion>
|
||||
<MicrosoftVisualStudioExtensibilityTestingXunitVersion>0.1.90-beta</MicrosoftVisualStudioExtensibilityTestingXunitVersion>
|
||||
<!-- Analyzers -->
|
||||
<RoslynDiagnosticsAnalyzersVersion>2.9.8</RoslynDiagnosticsAnalyzersVersion>
|
||||
<StyleCopAnalyzersVersion>1.2.0-beta.164</StyleCopAnalyzersVersion>
|
||||
|
|
|
@ -16,10 +16,9 @@ using Task = System.Threading.Tasks.Task;
|
|||
|
||||
namespace Microsoft.CodeAnalysis.Testing
|
||||
{
|
||||
[IdeSettings(MinVersion = VisualStudioVersion.VS2022)]
|
||||
public abstract class AbstractIdeIntegrationTest : IAsyncLifetime, IDisposable
|
||||
{
|
||||
protected const VisualStudioVersion TestVersion = VisualStudioVersion.VS2022;
|
||||
|
||||
/// <summary>
|
||||
/// A long timeout used to avoid hangs in tests, where a test failure manifests as an operation never occurring.
|
||||
/// </summary>
|
||||
|
|
|
@ -22,7 +22,7 @@ namespace Microsoft.CodeAnalysis.Testing
|
|||
await base.DisposeAsync();
|
||||
}
|
||||
|
||||
[IdeFact(MinVersion = TestVersion, MaxVersion = TestVersion)]
|
||||
[IdeFact]
|
||||
public async Task CreateFromTemplateAsync()
|
||||
{
|
||||
await TestServices.SolutionExplorer.CreateSolutionAsync(nameof(CreateProjectTests));
|
||||
|
@ -43,7 +43,7 @@ namespace Microsoft.CodeAnalysis.Testing
|
|||
Assert.Equal(1, await TestServices.ErrorList.GetErrorCountAsync(__VSERRORCATEGORY.EC_ERROR));
|
||||
}
|
||||
|
||||
[IdeFact(MinVersion = TestVersion, MaxVersion = TestVersion)]
|
||||
[IdeFact]
|
||||
public async Task CreateAnalyzerFromCSharpTemplateAsync()
|
||||
{
|
||||
await TestServices.SolutionExplorer.CreateSolutionAsync(nameof(CreateProjectTests));
|
||||
|
@ -65,7 +65,7 @@ namespace Microsoft.CodeAnalysis.Testing
|
|||
Assert.Equal(0, await TestServices.ErrorList.GetErrorCountAsync(__VSERRORCATEGORY.EC_WARNING));
|
||||
}
|
||||
|
||||
[IdeFact(MinVersion = TestVersion, MaxVersion = TestVersion)]
|
||||
[IdeFact]
|
||||
public async Task CreateRefactoringFromCSharpTemplateAsync()
|
||||
{
|
||||
await TestServices.SolutionExplorer.CreateSolutionAsync(nameof(CreateProjectTests));
|
||||
|
@ -81,7 +81,7 @@ namespace Microsoft.CodeAnalysis.Testing
|
|||
Assert.Equal(0, await TestServices.ErrorList.GetErrorCountAsync(__VSERRORCATEGORY.EC_WARNING));
|
||||
}
|
||||
|
||||
[IdeFact(MinVersion = TestVersion, MaxVersion = TestVersion)]
|
||||
[IdeFact]
|
||||
public async Task CreateStandaloneToolFromCSharpTemplateAsync()
|
||||
{
|
||||
await TestServices.SolutionExplorer.CreateSolutionAsync(nameof(CreateProjectTests));
|
||||
|
@ -97,7 +97,7 @@ namespace Microsoft.CodeAnalysis.Testing
|
|||
Assert.Equal(0, await TestServices.ErrorList.GetErrorCountAsync(__VSERRORCATEGORY.EC_WARNING));
|
||||
}
|
||||
|
||||
[IdeFact(MinVersion = TestVersion, MaxVersion = TestVersion)]
|
||||
[IdeFact]
|
||||
public async Task CreateAnalyzerFromVisualBasicTemplateAsync()
|
||||
{
|
||||
await TestServices.SolutionExplorer.CreateSolutionAsync(nameof(CreateProjectTests));
|
||||
|
@ -119,7 +119,7 @@ namespace Microsoft.CodeAnalysis.Testing
|
|||
Assert.Equal(0, await TestServices.ErrorList.GetErrorCountAsync(__VSERRORCATEGORY.EC_WARNING));
|
||||
}
|
||||
|
||||
[IdeFact(MinVersion = TestVersion, MaxVersion = TestVersion)]
|
||||
[IdeFact]
|
||||
public async Task CreateRefactoringFromVisualBasicTemplateAsync()
|
||||
{
|
||||
await TestServices.SolutionExplorer.CreateSolutionAsync(nameof(CreateProjectTests));
|
||||
|
@ -135,7 +135,7 @@ namespace Microsoft.CodeAnalysis.Testing
|
|||
Assert.Equal(0, await TestServices.ErrorList.GetErrorCountAsync(__VSERRORCATEGORY.EC_WARNING));
|
||||
}
|
||||
|
||||
[IdeFact(MinVersion = TestVersion, MaxVersion = TestVersion)]
|
||||
[IdeFact]
|
||||
public async Task CreateStandaloneToolFromVisualBasicTemplateAsync()
|
||||
{
|
||||
await TestServices.SolutionExplorer.CreateSolutionAsync(nameof(CreateProjectTests));
|
||||
|
|
Загрузка…
Ссылка в новой задаче