43 references to OperatingSystems
Microsoft.AspNetCore.Testing.Tests (2)
FakeCertificateFactoryTests.cs (2)
27[OSSkipCondition(OperatingSystems.Linux)] 36[OSSkipCondition(OperatingSystems.Windows)]
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (32)
Linux\AcceptanceTest.cs (14)
27[OSSkipCondition(OperatingSystems.Windows | OperatingSystems.MacOSX, SkipReason = "Linux specific tests")] 41[OSSkipCondition(OperatingSystems.Windows | OperatingSystems.MacOSX, SkipReason = "Linux specific tests")] 71[OSSkipCondition(OperatingSystems.Windows | OperatingSystems.MacOSX, SkipReason = "Linux specific tests")] 93[OSSkipCondition(OperatingSystems.Windows | OperatingSystems.MacOSX, SkipReason = "Linux specific tests")] 142[OSSkipCondition(OperatingSystems.Windows | OperatingSystems.MacOSX, SkipReason = "Linux specific tests")] 191[OSSkipCondition(OperatingSystems.Windows | OperatingSystems.MacOSX, SkipReason = "Linux specific tests")] 277[OSSkipCondition(OperatingSystems.Windows | OperatingSystems.MacOSX, SkipReason = "Linux specific tests")]
Linux\LinuxUtilizationParserCgroupV1Tests.cs (2)
17[OSSkipCondition(OperatingSystems.Windows | OperatingSystems.MacOSX, SkipReason = "Linux specific tests")]
Linux\LinuxUtilizationParserCgroupV2Tests.cs (2)
17[OSSkipCondition(OperatingSystems.Windows | OperatingSystems.MacOSX, SkipReason = "Linux specific tests")]
Linux\LinuxUtilizationProviderTests.cs (2)
19[OSSkipCondition(OperatingSystems.Windows | OperatingSystems.MacOSX, SkipReason = "Linux specific tests")]
Linux\OSFileSystemTests.cs (2)
14[OSSkipCondition(OperatingSystems.Windows | OperatingSystems.MacOSX, SkipReason = "Linux specific tests")]
Windows\MemoryInfoTests.cs (2)
15[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX, SkipReason = "Windows specific.")]
Windows\SystemInfoTests.cs (2)
15[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX, SkipReason = "Windows specific.")]
Windows\Tcp6TableInfoTests.cs (2)
18[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX, SkipReason = "Windows specific.")]
Windows\TcpTableInfoTests.cs (2)
15[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX, SkipReason = "Windows specific.")]
Windows\WindowsSnapshotProviderTests.cs (2)
21[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX, SkipReason = "Windows specific.")]
Microsoft.TestUtilities (9)
XUnit\OSSkipConditionAttribute.cs (9)
17private readonly OperatingSystems _excludedOperatingSystem; 18private readonly OperatingSystems _osPlatform; 20public OSSkipConditionAttribute(OperatingSystems operatingSystem) 26internal OSSkipConditionAttribute(OperatingSystems operatingSystem, OperatingSystems osPlatform) 45private static OperatingSystems GetCurrentOS() 50return OperatingSystems.Windows; 54return OperatingSystems.Linux; 58return OperatingSystems.MacOSX;