305 references to TestPlatforms
dotnet.Tests (53)
CommandFactoryTests\GivenAProjectToolsCommandResolver.cs (4)
325
[PlatformSpecificFact(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
351
[PlatformSpecificFact(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
CommandTests\New\DotnetSlnPostActionTests.cs (2)
32
[PlatformSpecificFact(
TestPlatforms
.Any & ~
TestPlatforms
.Linux)] // https://github.com/dotnet/sdk/issues/49923
CommandTests\Run\GivenDotnetRootEnv.cs (2)
40
[PlatformSpecificFact(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
CommandTests\Run\GivenDotnetRunBuildsCsProj.cs (3)
779
[PlatformSpecificFact(
TestPlatforms
.Windows |
TestPlatforms
.Linux |
TestPlatforms
.FreeBSD)]
CommandTests\Run\RunFileTests.cs (5)
404
[PlatformSpecificFact(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
1810
[PlatformSpecificFact(
TestPlatforms
.AnyUnix), UnsupportedOSPlatform("windows")]
2067
[PlatformSpecificFact(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)] // https://github.com/dotnet/sdk/issues/48990
CommandTests\Store\GivenDotnetStoresAndPublishesProjects.cs (2)
66
[PlatformSpecificFact(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
CommandTests\Test\GivenDotnetTestBuildsAndDiscoversTests.cs (2)
110
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
CommandTests\Test\GivenDotnetTestBuildsAndRunsHelp.cs (2)
41
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
CommandTests\Test\GivenDotnetTestBuildsAndRunsTestfromCsproj.cs (9)
434
[PlatformSpecificFact(
TestPlatforms
.Windows)]
475
[PlatformSpecificFact(
TestPlatforms
.Windows |
TestPlatforms
.OSX |
TestPlatforms
.Linux)]
511
[PlatformSpecificFact(
TestPlatforms
.Windows |
TestPlatforms
.OSX |
TestPlatforms
.Linux)]
547
[PlatformSpecificFact(
TestPlatforms
.Windows)]
588
[PlatformSpecificFact(
TestPlatforms
.FreeBSD)]
CommandTests\Test\GivenDotnetTestBuildsAndRunsTests.cs (2)
382
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
CommandTests\Test\GivenDotnetTestBuildsAndRunsTestsForMultipleTFMs.cs (8)
21
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
61
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
107
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
177
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
CommandTests\Test\GivenDotnetTestBuildsAndRunsTestsWithDifferentOptions.cs (2)
263
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
PackagedCommandTests.cs (6)
20
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
172
[PlatformSpecificFact(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
214
[PlatformSpecificFact(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
ToolManifestTests\ToolManifestFinderTests.cs (4)
93
[PlatformSpecificFact(
TestPlatforms
.Linux |
TestPlatforms
.OSX)]
131
[PlatformSpecificFact(
TestPlatforms
.Windows)]
154
[PlatformSpecificFact(
TestPlatforms
.Windows)]
dotnet-watch.Tests (14)
CommandLine\ProgramTests.cs (5)
87
[PlatformSpecificFact(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
122
[PlatformSpecificFact(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
346
[PlatformSpecificFact(
TestPlatforms
.Windows)] // "https://github.com/dotnet/sdk/issues/49307")
HotReload\ApplyDeltaTests.cs (9)
721
[PlatformSpecificFact(
TestPlatforms
.Windows)]
752
[PlatformSpecificTheory(
TestPlatforms
.Windows, Skip = "https://github.com/dotnet/sdk/issues/49928")] // https://github.com/dotnet/sdk/issues/49307
812
[PlatformSpecificFact(
TestPlatforms
.Windows)] // "https://github.com/dotnet/sdk/issues/49307")
834
[PlatformSpecificFact(
TestPlatforms
.Windows)] // "https://github.com/dotnet/sdk/issues/49307")
857
[PlatformSpecificFact(
TestPlatforms
.Windows, Skip = "https://github.com/dotnet/sdk/issues/49928")] // "https://github.com/dotnet/sdk/issues/49307")
881
[PlatformSpecificFact(
TestPlatforms
.Windows)] // "https://github.com/dotnet/sdk/issues/49307")
929
[PlatformSpecificFact(
TestPlatforms
.Windows, Skip = "https://github.com/dotnet/sdk/issues/40006")]
1117
[PlatformSpecificFact(
TestPlatforms
.Windows)] // "https://github.com/dotnet/sdk/issues/49307")
1213
[PlatformSpecificFact(
TestPlatforms
.Windows)] // "https://github.com/dotnet/sdk/issues/49307")
EndToEnd.Tests (10)
GivenDotNetUsesMSBuild.cs (4)
45
[PlatformSpecificFact(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
79
[PlatformSpecificFact(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
GivenWeWantToRequireWindowsForDesktopApps.cs (6)
12
[PlatformSpecificFact(
TestPlatforms
.Linux |
TestPlatforms
.OSX |
TestPlatforms
.FreeBSD, Skip = "https://github.com/dotnet/sdk/issues/42230")]
32
[PlatformSpecificFact(
TestPlatforms
.Linux |
TestPlatforms
.OSX |
TestPlatforms
.FreeBSD)]
Microsoft.Build.Engine.UnitTests (7)
BackEnd\TargetUpToDateChecker_Tests.cs (4)
963
[SkipOnPlatform(
TestPlatforms
.AnyUnix, "Windows-specific test")]
974
[SkipOnPlatform(
TestPlatforms
.AnyUnix, "Windows-specific test")]
985
[SkipOnPlatform(
TestPlatforms
.AnyUnix, "Windows-specific test")]
996
[SkipOnPlatform(
TestPlatforms
.AnyUnix, "Windows-specific test")]
Construction\SolutionFile_OldParser_Tests.cs (3)
2492
[SkipOnPlatform(
TestPlatforms
.Windows, "Unix-specific test")]
2530
[SkipOnPlatform(
TestPlatforms
.Windows, "Unix-specific test")]
2563
[SkipOnPlatform(
TestPlatforms
.Windows, "Unix-specific test")]
Microsoft.Build.Tasks.UnitTests (1)
RoslynCodeTaskFactory_Tests.cs (1)
94
[SkipOnPlatform(
TestPlatforms
.AnyUnix, ".NETFramework 4.0 isn't on unix machines.")]
Microsoft.DotNet.HotReload.Client.Tests (2)
ArrayBufferWriterTests.cs (2)
317
[PlatformSpecific(
TestPlatforms
.Windows |
TestPlatforms
.OSX)]
Microsoft.DotNet.PackageInstall.Tests (4)
EndToEndToolTests.cs (4)
50
[PlatformSpecificFact(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
112
[PlatformSpecificFact(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
Microsoft.DotNet.XUnitExtensions (46)
src\Microsoft.DotNet.XUnitExtensions.Shared\Attributes\ActiveIssueAttribute.cs (3)
28
public ActiveIssueAttribute(string issue,
TestPlatforms
platforms)
49
public ActiveIssueAttribute(string issue,
TestPlatforms
platforms =
TestPlatforms
.Any, TargetFrameworkMonikers framework = TargetFrameworkMonikers.Any, TestRuntimes runtimes = TestRuntimes.Any)
src\Microsoft.DotNet.XUnitExtensions.Shared\Attributes\OuterLoopAttribute.cs (3)
42
public OuterLoopAttribute(string reason,
TestPlatforms
platforms)
63
public OuterLoopAttribute(string reason,
TestPlatforms
platforms =
TestPlatforms
.Any, TargetFrameworkMonikers framework = TargetFrameworkMonikers.Any, TestRuntimes runtimes = TestRuntimes.Any)
src\Microsoft.DotNet.XUnitExtensions.Shared\Attributes\PlatformSpecificAttribute.cs (1)
25
public PlatformSpecificAttribute(
TestPlatforms
platforms)
src\Microsoft.DotNet.XUnitExtensions.Shared\Attributes\SkipOnCoreClrAttribute.cs (4)
65
public SkipOnCoreClrAttribute(string reason,
TestPlatforms
testPlatforms)
94
public SkipOnCoreClrAttribute(string reason,
TestPlatforms
testPlatforms, RuntimeConfiguration runtimeConfigurations)
102
public SkipOnCoreClrAttribute(string reason,
TestPlatforms
testPlatforms, RuntimeTestModes testMode)
110
public SkipOnCoreClrAttribute(string reason,
TestPlatforms
testPlatforms, RuntimeConfiguration runtimeConfigurations, RuntimeTestModes testModes)
src\Microsoft.DotNet.XUnitExtensions.Shared\Attributes\SkipOnMonoAttribute.cs (2)
22
public SkipOnMonoAttribute(string reason,
TestPlatforms
testPlatforms =
TestPlatforms
.Any)
src\Microsoft.DotNet.XUnitExtensions.Shared\Attributes\SkipOnPlatformAttribute.cs (1)
22
public SkipOnPlatformAttribute(
TestPlatforms
testPlatforms, string reason)
src\Microsoft.DotNet.XUnitExtensions.Shared\DiscovererHelpers.cs (21)
20
public static bool TestPlatformApplies(
TestPlatforms
platforms) =>
21
(platforms.HasFlag(
TestPlatforms
.Any)) ||
22
(platforms.HasFlag(
TestPlatforms
.FreeBSD) && RuntimeInformation.IsOSPlatform(OSPlatform.Create("FREEBSD"))) ||
23
(platforms.HasFlag(
TestPlatforms
.Linux) && RuntimeInformation.IsOSPlatform(OSPlatform.Linux)) ||
24
(platforms.HasFlag(
TestPlatforms
.NetBSD) && RuntimeInformation.IsOSPlatform(OSPlatform.Create("NETBSD"))) ||
25
(platforms.HasFlag(
TestPlatforms
.OSX) && RuntimeInformation.IsOSPlatform(OSPlatform.OSX)) ||
26
(platforms.HasFlag(
TestPlatforms
.illumos) && RuntimeInformation.IsOSPlatform(OSPlatform.Create("ILLUMOS"))) ||
27
(platforms.HasFlag(
TestPlatforms
.Solaris) && RuntimeInformation.IsOSPlatform(OSPlatform.Create("SOLARIS"))) ||
28
(platforms.HasFlag(
TestPlatforms
.iOS) && RuntimeInformation.IsOSPlatform(OSPlatform.Create("IOS")) && !RuntimeInformation.IsOSPlatform(OSPlatform.Create("MACCATALYST"))) ||
29
(platforms.HasFlag(
TestPlatforms
.tvOS) && RuntimeInformation.IsOSPlatform(OSPlatform.Create("TVOS"))) ||
30
(platforms.HasFlag(
TestPlatforms
.MacCatalyst) && RuntimeInformation.IsOSPlatform(OSPlatform.Create("MACCATALYST"))) ||
31
(platforms.HasFlag(
TestPlatforms
.LinuxBionic) && RuntimeInformation.IsOSPlatform(OSPlatform.Linux) && !string.IsNullOrEmpty(Environment.GetEnvironmentVariable("ANDROID_STORAGE"))) ||
32
(platforms.HasFlag(
TestPlatforms
.Android) && RuntimeInformation.IsOSPlatform(OSPlatform.Create("ANDROID"))) ||
33
(platforms.HasFlag(
TestPlatforms
.Browser) && RuntimeInformation.IsOSPlatform(OSPlatform.Create("BROWSER"))) ||
34
(platforms.HasFlag(
TestPlatforms
.Wasi) && RuntimeInformation.IsOSPlatform(OSPlatform.Create("WASI"))) ||
35
(platforms.HasFlag(
TestPlatforms
.Haiku) && RuntimeInformation.IsOSPlatform(OSPlatform.Create("HAIKU"))) ||
36
(platforms.HasFlag(
TestPlatforms
.Windows) && RuntimeInformation.IsOSPlatform(OSPlatform.Windows));
69
TestPlatforms
platforms =
TestPlatforms
.Any;
77
if (arg is
TestPlatforms
)
79
platforms = (
TestPlatforms
)arg;
src\Microsoft.DotNet.XUnitExtensions.Shared\Discoverers\PlatformSpecificDiscoverer.cs (2)
28
TestPlatforms
platforms = (
TestPlatforms
)traitAttribute.GetConstructorArguments().First();
src\Microsoft.DotNet.XUnitExtensions.Shared\Discoverers\SkipOnCoreClrDiscoverer.cs (3)
33
TestPlatforms
testPlatforms =
TestPlatforms
.Any;
38
if (arg is
TestPlatforms
tp)
src\Microsoft.DotNet.XUnitExtensions.Shared\Discoverers\SkipOnMonoDiscoverer.cs (3)
20
TestPlatforms
testPlatforms =
TestPlatforms
.Any;
23
if (traitAttribute.GetConstructorArguments().LastOrDefault() is
TestPlatforms
tp)
src\Microsoft.DotNet.XUnitExtensions.Shared\Discoverers\SkipOnPlatformDiscoverer.cs (3)
18
TestPlatforms
testPlatforms = (
TestPlatforms
)0;
21
if (traitAttribute.GetConstructorArguments().FirstOrDefault() is
TestPlatforms
tp)
Microsoft.DotNet.XUnitExtensions.Tests (3)
ConditionalAttributeTests.cs (3)
38
[OuterLoop("never outer loop",
TestPlatforms
.Any & ~
TestPlatforms
.Any)]
48
[OuterLoop("always outer loop",
TestPlatforms
.Any)]
Microsoft.Extensions.DotNetDeltaApplier.Tests (1)
HotReloadAgentTest.cs (1)
27
[PlatformSpecificFact(
TestPlatforms
.Windows)]
Microsoft.NET.Build.Tests (37)
AppHostTests.cs (1)
82
[PlatformSpecificTheory(
TestPlatforms
.OSX)]
DesignTimeBuildTests.cs (2)
81
[PlatformSpecificFact(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
GivenThatWeWantToBuildAComServerLibrary.cs (3)
131
[PlatformSpecificFact(
TestPlatforms
.Linux |
TestPlatforms
.OSX |
TestPlatforms
.FreeBSD)]
GivenThatWeWantToBuildAnAppWithLibrariesAndRid.cs (4)
21
[PlatformSpecificFact(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
63
[PlatformSpecificFact(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
GivenThatWeWantToBuildASelfContainedApp.cs (2)
19
[PlatformSpecificTheory(
TestPlatforms
.Windows |
TestPlatforms
.OSX)]
GivenThatWeWantToBuildASolutionWithProjRefDiffCase.cs (2)
12
[PlatformSpecificFact(
TestPlatforms
.Windows |
TestPlatforms
.OSX)]
GivenWeWantToRequireWindowsForDesktopApps.cs (15)
35
[PlatformSpecificTheory(
TestPlatforms
.Linux |
TestPlatforms
.OSX |
TestPlatforms
.FreeBSD)]
72
[PlatformSpecificTheory(
TestPlatforms
.Linux |
TestPlatforms
.OSX |
TestPlatforms
.FreeBSD)]
92
[PlatformSpecificFact(
TestPlatforms
.Linux |
TestPlatforms
.OSX |
TestPlatforms
.FreeBSD)]
110
[PlatformSpecificFact(
TestPlatforms
.Linux |
TestPlatforms
.OSX |
TestPlatforms
.FreeBSD)]
145
[PlatformSpecificFact(
TestPlatforms
.Linux |
TestPlatforms
.OSX |
TestPlatforms
.FreeBSD)]
ImplicitAspNetVersions.cs (2)
51
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
KnownRuntimePackTests.cs (4)
16
[PlatformSpecificFact(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
69
[PlatformSpecificFact(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
RoslynBuildTaskTests.cs (2)
73
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX), CombinatorialData]
Microsoft.NET.Publish.Tests (113)
GivenThatAPublishedDepsJsonShouldContainVersionInformation.cs (6)
58
[PlatformSpecificFact(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
67
[PlatformSpecificFact(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
81
[PlatformSpecificFact(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
GivenThatWeWantToPublishAHelloWorldProject.cs (2)
238
[PlatformSpecificFact(
TestPlatforms
.Windows |
TestPlatforms
.OSX)]
GivenThatWeWantToPublishAnAppWithLibrariesAndRid.cs (4)
19
[PlatformSpecificFact(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
58
[PlatformSpecificFact(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
GivenThatWeWantToPublishAProjectWithDependencies.cs (2)
151
[PlatformSpecificFact(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
GivenThatWeWantToPublishASelfContainedApp.cs (2)
44
[PlatformSpecificFact(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
GivenThatWeWantToPublishASingleFileApp.cs (6)
400
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
682
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
903
[PlatformSpecificFact(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
GivenThatWeWantToPublishAWebApp.cs (3)
55
[PlatformSpecificFact(
TestPlatforms
.Windows)]
110
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
GivenThatWeWantToPublishReadyToRun.cs (4)
115
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
173
[PlatformSpecificFact(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
GivenThatWeWantToRunILLink.cs (80)
69
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
112
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
166
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
195
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
268
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
294
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
369
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
458
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
485
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
583
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
603
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
639
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
662
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
792
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
837
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
899
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
998
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
1015
[PlatformSpecificFact(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
1033
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
1106
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
1142
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
1164
[PlatformSpecificFact(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
1198
[PlatformSpecificFact(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
1232
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
1262
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
1301
[PlatformSpecificFact(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
1338
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
1392
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
1430
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
1467
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
1496
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
1560
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
1586
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
1606
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
1623
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
1643
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
1688
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
1707
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
1726
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
1745
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
GivenThatWeWantToStoreAProjectWithDependencies.cs (4)
265
[PlatformSpecificTheory(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
305
[PlatformSpecificFact(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
Microsoft.NET.Sdk.BlazorWebAssembly.Tests (4)
BlazorLegacyIntegrationTest60.cs (2)
48
[SkipOnPlatform(
TestPlatforms
.Linux |
TestPlatforms
.OSX, "https://github.com/dotnet/sdk/issues/42145")]
BlazorWasmStaticWebAssetsIntegrationTest.cs (2)
262
[PlatformSpecificFact(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
Microsoft.NET.Sdk.Web.Tests (2)
PublishTests.cs (2)
53
[PlatformSpecificFact(
TestPlatforms
.Any & ~
TestPlatforms
.OSX)]
Microsoft.NET.TestFramework (7)
Attributes\PlatformSpecificFact.cs (6)
8
public PlatformSpecificFact(
TestPlatforms
platforms)
16
internal static bool ShouldSkip(
TestPlatforms
platforms) =>
17
(RuntimeInformation.IsOSPlatform(OSPlatform.Windows) && !platforms.HasFlag(
TestPlatforms
.Windows))
18
|| (RuntimeInformation.IsOSPlatform(OSPlatform.Linux) && !platforms.HasFlag(
TestPlatforms
.Linux))
19
|| (RuntimeInformation.IsOSPlatform(OSPlatform.OSX) && !platforms.HasFlag(
TestPlatforms
.OSX))
20
|| (RuntimeInformation.IsOSPlatform(OSPlatform.Create("FREEBSD")) && !platforms.HasFlag(
TestPlatforms
.FreeBSD));
Attributes\PlatformSpecificTheory.cs (1)
8
public PlatformSpecificTheory(
TestPlatforms
platforms)
Microsoft.TemplateEngine.Cli.UnitTests (1)
ParserTests\TabCompletionTests.cs (1)
444
[SkipOnPlatform(
TestPlatforms
.Linux, "https://github.com/dotnet/sdk/issues/46212")]