/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/VisualStudio/IntegrationTest/New.IntegrationTests/CSharp/CSharpSquigglesNetCore.cs
25 строк
1 KB
Cyrus Najmabadi
Fixup tests
07 ноя 2023, 04:16
07 ноя 2023, 04:16
bdfe975
Код
Авторство
О чём код?
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Threading.Tasks; using Microsoft.CodeAnalysis.Test.Utilities; using Microsoft.VisualStudio.IntegrationTest.Utilities; using Xunit; namespace Roslyn.VisualStudio.NewIntegrationTests.CSharp; [Trait(Traits.Feature, Traits.Features.ErrorSquiggles)] [Trait(Traits.Feature, Traits.Features.NetCore)] public class CSharpSquigglesNetCore() : CSharpSquigglesCommon(WellKnownProjectTemplates.CSharpNetCoreClassLibrary) { protected override bool SupportsGlobalUsings => true; public override async Task InitializeAsync() { await base.InitializeAsync().ConfigureAwait(false); // The CSharpNetCoreClassLibrary template does not open a file automatically. await TestServices.SolutionExplorer.OpenFileAsync(ProjectName, WellKnownProjectTemplates.CSharpNetCoreClassLibraryClassFileName, HangMitigatingCancellationToken); } }