13 references to TestRuntimes
Microsoft.DotNet.XUnitExtensions (13)
Attributes\ActiveIssueAttribute.cs (3)
21
public ActiveIssueAttribute(string issue,
TestRuntimes
runtimes) { }
22
public ActiveIssueAttribute(string issue, TestPlatforms platforms = TestPlatforms.Any, TargetFrameworkMonikers framework = TargetFrameworkMonikers.Any,
TestRuntimes
runtimes =
TestRuntimes
.Any) { }
Attributes\OuterLoopAttribute.cs (3)
23
public OuterLoopAttribute(string reason,
TestRuntimes
runtimes) { }
24
public OuterLoopAttribute(string reason, TestPlatforms platforms = TestPlatforms.Any, TargetFrameworkMonikers framework = TargetFrameworkMonikers.Any,
TestRuntimes
runtimes =
TestRuntimes
.Any) { }
DiscovererHelpers.cs (7)
38
public static bool TestRuntimeApplies(
TestRuntimes
runtimes) =>
39
(runtimes.HasFlag(
TestRuntimes
.Mono) && IsMonoRuntime) ||
40
(runtimes.HasFlag(
TestRuntimes
.CoreCLR) && !IsMonoRuntime); // assume CoreCLR if it's not Mono
71
TestRuntimes
runtimes =
TestRuntimes
.Any;
85
else if (arg is
TestRuntimes
)
87
runtimes = (
TestRuntimes
)arg;