118 instantiations of ConditionalFact
Aspire.Components.Common.Tests (6)
ConformanceTests.cs (6)
88[ConditionalFact] 113[ConditionalFact] 216[ConditionalFact] 232[ConditionalFact] 373[ConditionalFact] 395[ConditionalFact]
Aspire.Microsoft.EntityFrameworkCore.Cosmos.Tests (1)
ConformanceTests.cs (1)
99[ConditionalFact]
Microsoft.Build.Tasks.UnitTests (1)
Unzip_Tests.cs (1)
177[ConditionalFact(nameof(NotRunningAsRoot))] // root can write to read-only files
Microsoft.DotNet.XUnitExtensions.Tests (1)
ConditionalAttributeTests.cs (1)
22[ConditionalFact(nameof(AlwaysTrue))]
Microsoft.ML.Tests (5)
ImagesTests.cs (5)
555[ConditionalFact(nameof(IsNotArm))] //"System.Drawing has some issues on ARM. Disabling this test for CI stability. Tracked in https://github.com/dotnet/machinelearning/issues/6043" 630[ConditionalFact(nameof(IsNotArm))] //"System.Drawing has some issues on ARM. Disabling this test for CI stability. Tracked in https://github.com/dotnet/machinelearning/issues/6043" 705[ConditionalFact(nameof(IsNotArm))] //"System.Drawing has some issues on ARM. Disabling this test for CI stability. Tracked in https://github.com/dotnet/machinelearning/issues/6043" 781[ConditionalFact(nameof(IsNotArm))] //"System.Drawing has some issues on ARM. Disabling this test for CI stability. Tracked in https://github.com/dotnet/machinelearning/issues/6043" 856[ConditionalFact(nameof(IsNotArm))] //"System.Drawing has some issues on ARM. Disabling this test for CI stability. Tracked in https://github.com/dotnet/machinelearning/issues/6043"
Microsoft.ML.TorchSharp.Tests (1)
TextClassificationTests.cs (1)
168[ConditionalFact(nameof(EnableRunningGpuTest))]
Microsoft.VisualBasic.Tests (6)
Microsoft\VisualBasic\Devices\MouseTests.cs (6)
14[ConditionalFact(typeof(SystemInformation), nameof(SystemInformation.MousePresent))] 22[ConditionalFact(nameof(NoMousePresent))] 32[ConditionalFact(typeof(SystemInformation), nameof(SystemInformation.MousePresent))] 40[ConditionalFact(nameof(NoMousePresent))] 50[ConditionalFact(typeof(SystemInformation), nameof(SystemInformation.MousePresent), nameof(SystemInformation.MouseWheelPresent))] 61[ConditionalFact(nameof(NoMouseWheelPresent))]
System.Drawing.Common.Tests (53)
mono\System.Drawing.Imaging\BmpCodecTests.cs (1)
236[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotArm64Process))] // [ActiveIssue("https://github.com/dotnet/winforms/issues/8817")]
mono\System.Drawing.Imaging\GifCodecTests.cs (1)
104[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotArm64Process))] // [ActiveIssue("https://github.com/dotnet/winforms/issues/8817")]
mono\System.Drawing.Imaging\IconCodecTests.cs (5)
127[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotArm64Process))] // [ActiveIssue("https://github.com/dotnet/winforms/issues/8817")] 323[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotArm64Process))] // [ActiveIssue("https://github.com/dotnet/winforms/issues/8817")] 541[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotArm64Process))] // [ActiveIssue("https://github.com/dotnet/winforms/issues/8817")] 745[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotArm64Process))] // [ActiveIssue("https://github.com/dotnet/winforms/issues/8817")] 1520[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotArm64Process))] // [ActiveIssue("https://github.com/dotnet/winforms/issues/8817")]
mono\System.Drawing.Imaging\JpegCodecTests.cs (2)
107[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindows7), nameof(PlatformDetection.IsNotArm64Process))] // [ActiveIssue("https://github.com/dotnet/winforms/issues/8817")] 222[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotArm64Process))] // [ActiveIssue("https://github.com/dotnet/winforms/issues/8817")]
mono\System.Drawing.Imaging\TiffCodecTests.cs (1)
114[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotArm64Process))] // [ActiveIssue("https://github.com/dotnet/winforms/issues/8817")]
mono\System.Drawing\BitmapTests.cs (7)
554[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotArm64Process))] // [ActiveIssue("https://github.com/dotnet/winforms/issues/8817")] 568[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotArm64Process))] // [ActiveIssue("https://github.com/dotnet/winforms/issues/8817")] 594[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotArm64Process))] // [ActiveIssue("https://github.com/dotnet/winforms/issues/8817")] 610[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotArm64Process))] // [ActiveIssue("https://github.com/dotnet/winforms/issues/8817")] 623[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotArm64Process))] // [ActiveIssue("https://github.com/dotnet/winforms/issues/8817")] 649[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotArm64Process))] // [ActiveIssue("https://github.com/dotnet/winforms/issues/8817")] 664[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotArm64Process))] // [ActiveIssue("https://github.com/dotnet/winforms/issues/8817")]
mono\System.Drawing\GraphicsTests.cs (3)
2190[ConditionalFact] 2224[ConditionalFact] 2269[ConditionalFact]
System\Drawing\BitmapTests.cs (1)
1462[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotArm64Process))] // [ActiveIssue("https://github.com/dotnet/winforms/issues/8817")]
System\Drawing\Drawing2D\BlendTests.cs (1)
32[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotIntMaxValueArrayIndexSupported))]
System\Drawing\Drawing2D\ColorBlendTests.cs (1)
32[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotIntMaxValueArrayIndexSupported))]
System\Drawing\FontConverterTests.cs (1)
82[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotBuiltWithAggressiveTrimming))]
System\Drawing\GdiPlusHandlesTests.cs (1)
18[ConditionalFact(nameof(IsDrawingAndRemoteExecutorSupported))]
System\Drawing\Printing\PageSettingsTests.cs (1)
34[ConditionalFact(Helpers.AnyInstalledPrinters)]
System\Drawing\Printing\PreviewPrintControllerTests.cs (3)
15[ConditionalFact(Helpers.AnyInstalledPrinters)] 48[ConditionalFact(Helpers.AnyInstalledPrinters)] 95[ConditionalFact(Helpers.AnyInstalledPrinters)]
System\Drawing\Printing\PrintControllerTests.cs (1)
15[ConditionalFact(Helpers.AnyInstalledPrinters)]
System\Drawing\Printing\PrintDocumentTests.cs (6)
106[ConditionalFact(Helpers.AnyInstalledPrinters)] 127[ConditionalFact(Helpers.AnyInstalledPrinters)] 145[ConditionalFact(Helpers.AnyInstalledPrinters)] 163[ConditionalFact(nameof(CanPrintToPdf))] 188[ConditionalFact(Helpers.AnyInstalledPrinters)] 206[ConditionalFact(Helpers.AnyInstalledPrinters)]
System\Drawing\Printing\PrinterSettingsTests.cs (17)
42[ConditionalFact(Helpers.AnyInstalledPrinters)] 78[ConditionalFact(Helpers.AnyInstalledPrinters)] 158[ConditionalFact(Helpers.AnyInstalledPrinters)] 171[ConditionalFact(Helpers.AnyInstalledPrinters)] 189[ConditionalFact(Helpers.AnyInstalledPrinters)] 197[ConditionalFact(Helpers.AnyInstalledPrinters)] 289[ConditionalFact(Helpers.AnyInstalledPrinters)] 296[ConditionalFact(Helpers.AnyInstalledPrinters)] 354[ConditionalFact(Helpers.AnyInstalledPrinters)] 365[ConditionalFact(Helpers.AnyInstalledPrinters)] 414[ConditionalFact(typeof(PrinterSettingsTests), nameof(CanTestSetHdevmode_IntPtr_Success))] 445[ConditionalFact(Helpers.AnyInstalledPrinters)] 453[ConditionalFact(Helpers.AnyInstalledPrinters)] 465[ConditionalFact(Helpers.AnyInstalledPrinters)] 475[ConditionalFact(Helpers.AnyInstalledPrinters)] 488[ConditionalFact(Helpers.AnyInstalledPrinters)] 539[ConditionalFact(typeof(PrinterSettingsTests), nameof(CanTestSetHdevmode_IntPtr_Success))]
System.Windows.Forms.Primitives.Tests (44)
Interop\ComCtl32\MCGRIDINFOTests.cs (8)
11[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is32bit))] 22[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is32bit))] 33[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is32bit))] 58[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is32bit))] 80[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is64bit))] 91[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is64bit))] 102[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is64bit))] 128[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is64bit))]
Interop\ComCtl32\TASKDIALOG_BUTTONTests.cs (4)
10[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is32bit))] 21[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is32bit))] 36[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is64bit))] 47[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is64bit))]
Interop\ComCtl32\TASKDIALOGCONFIGIconUnionTests.cs (4)
10[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is32bit))] 21[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is32bit))] 36[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is64bit))] 47[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is64bit))]
Interop\ComCtl32\TASKDIALOGCONFIGTests.cs (4)
10[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is32bit))] 21[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is32bit))] 61[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is64bit))] 72[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is64bit))]
Interop\Comdlg32\PRINTDLGWTests.cs (4)
10[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is32bit))] 21[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is32bit))] 53[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is64bit))] 64[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is64bit))]
Interop\Oleaut32\SAFEARRAYTests.cs (2)
17[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is32bit))] 29[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is64bit))]
Interop\Oleaut32\VARIANTTests.cs (2)
34[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is32bit))] 46[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is64bit))]
Interop\PARAMTests.cs (16)
8[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is32bit))] 15[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is64bit))] 22[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is32bit))] 29[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is64bit))] 39[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is32bit))] 46[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is64bit))] 53[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is32bit))] 60[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is64bit))] 67[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is32bit))] 74[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is64bit))] 81[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is32bit))] 88[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is64bit))] 95[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is32bit))] 102[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is64bit))] 109[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is32bit))] 116[ConditionalFact(typeof(ArchitectureDetection), nameof(ArchitectureDetection.Is64bit))]