/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/VisualStudio/IntegrationTest/Harness/XUnitShared/IdeFactAttribute.cs
53 строки
1 KB
David Barbet
Shorten file paths to prevent long path issues opening the slnx
10 дек 2025, 22:44
10 дек 2025, 22:44
7830fcf
Код
Авторство
О чём код?
// 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. namespace Xunit { using System; using Xunit.Sdk; [AttributeUsage(AttributeTargets.Method, AllowMultiple = false)] [XunitTestCaseDiscoverer("Xunit.Threading.IdeFactDiscoverer", "Microsoft.VisualStudio.Extensibility.Testing.Xunit")] public class IdeFactAttribute : FactAttribute, IIdeSettingsAttribute { public IdeFactAttribute() { MinVersion = VisualStudioVersion.Unspecified; MaxVersion = VisualStudioVersion.Unspecified; RootSuffix = null; MaxAttempts = 0; EnvironmentVariables = new string[0]; } public VisualStudioVersion MinVersion { get; set; } public VisualStudioVersion MaxVersion { get; set; } public string? RootSuffix { get; set; } public int MaxAttempts { get; set; } public string[] EnvironmentVariables { get; set; } } }