414 references to OperatingSystems
Diagnostics.EFCore.FunctionalTests (26)
DatabaseErrorPageMiddlewareTest.cs (20)
98[OSSkipCondition(OperatingSystems.Linux)] 99[OSSkipCondition(OperatingSystems.MacOSX)] 131[OSSkipCondition(OperatingSystems.Linux)] 132[OSSkipCondition(OperatingSystems.MacOSX)] 166[OSSkipCondition(OperatingSystems.Linux)] 167[OSSkipCondition(OperatingSystems.MacOSX)] 192[OSSkipCondition(OperatingSystems.Linux)] 193[OSSkipCondition(OperatingSystems.MacOSX)] 231[OSSkipCondition(OperatingSystems.Linux)] 232[OSSkipCondition(OperatingSystems.MacOSX)] 271[OSSkipCondition(OperatingSystems.Linux)] 272[OSSkipCondition(OperatingSystems.MacOSX)] 327[OSSkipCondition(OperatingSystems.Linux)] 328[OSSkipCondition(OperatingSystems.MacOSX)] 372[OSSkipCondition(OperatingSystems.Linux)] 373[OSSkipCondition(OperatingSystems.MacOSX)] 435[OSSkipCondition(OperatingSystems.Linux)] 436[OSSkipCondition(OperatingSystems.MacOSX)] 477[OSSkipCondition(OperatingSystems.Linux)] 478[OSSkipCondition(OperatingSystems.MacOSX)]
MigrationsEndPointMiddlewareTest.cs (6)
59[OSSkipCondition(OperatingSystems.Linux)] 60[OSSkipCondition(OperatingSystems.MacOSX)] 67[OSSkipCondition(OperatingSystems.Linux)] 68[OSSkipCondition(OperatingSystems.MacOSX)] 231[OSSkipCondition(OperatingSystems.Linux)] 232[OSSkipCondition(OperatingSystems.MacOSX)]
Diagnostics.FunctionalTests (2)
DatabaseErrorPageSampleTest.cs (2)
20[OSSkipCondition(OperatingSystems.Linux)] 21[OSSkipCondition(OperatingSystems.MacOSX)]
IIS.FunctionalTests (33)
Http2TrailersResetTests.cs (20)
46[MinimumOSVersion(OperatingSystems.Windows, WindowsVersionForTrailers)] 57[MinimumOSVersion(OperatingSystems.Windows, WindowsVersionForTrailers)] 68[MinimumOSVersion(OperatingSystems.Windows, WindowsVersionForTrailers)] 80[MinimumOSVersion(OperatingSystems.Windows, WindowsVersionForTrailers)] 93[MinimumOSVersion(OperatingSystems.Windows, WindowsVersionForTrailers)] 108[MinimumOSVersion(OperatingSystems.Windows, WindowsVersionForTrailers)] 126[MinimumOSVersion(OperatingSystems.Windows, WindowsVersionForTrailers)] 145[MinimumOSVersion(OperatingSystems.Windows, WindowsVersionForTrailers)] 158[MinimumOSVersion(OperatingSystems.Windows, WindowsVersionForTrailers)] 174[MinimumOSVersion(OperatingSystems.Windows, WindowsVersionForTrailers)] 192[MinimumOSVersion(OperatingSystems.Windows, WindowsVersionForTrailers)] 220[MinimumOSVersion(OperatingSystems.Windows, WindowsVersionForTrailers)] 247[MinimumOSVersion(OperatingSystems.Windows, WindowsVersionForTrailers)] 281[MinimumOSVersion(OperatingSystems.Windows, WindowsVersionForTrailers)] 308[MinimumOSVersion(OperatingSystems.Windows, WindowsVersionForTrailers)] 340[MinimumOSVersion(OperatingSystems.Windows, WindowsVersionForTrailers)] 376[MinimumOSVersion(OperatingSystems.Windows, WindowsVersionForTrailers)] 401[MinimumOSVersion(OperatingSystems.Windows, WindowsVersionForTrailers)] 426[MinimumOSVersion(OperatingSystems.Windows, WindowsVersionForTrailers)] 455[MinimumOSVersion(OperatingSystems.Windows, WindowsVersionForTrailers)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Http2Tests.cs (8)
61[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10, SkipReason = "Http2 requires Win10")] 98[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10, SkipReason = "Http2 requires Win10")] 141[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10_20H2, SkipReason = "Http2 requires Win10, and older versions of Win10 send some odd empty data frames.")] 211[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10_20H2, SkipReason = "Http2 requires Win10, and older versions of Win10 send some odd empty data frames.")] 273[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10_20H2, SkipReason = "Http2 requires Win10, and older versions of Win10 send some odd empty data frames.")] 329[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10, SkipReason = "Http2 requires Win10")] 368[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10, SkipReason = "Http2 requires Win10")] 369[MaximumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10_20H2, SkipReason = "This is last version without Reset support")]
src\Servers\IIS\IIS\test\Common.FunctionalTests\HttpsTests.cs (2)
52[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win8)] 60[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win8)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Inprocess\HttpSysRequestInfoTests.cs (1)
29[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10_20H2)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\RequestResponseTests.cs (2)
715[MaximumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10_20H2, SkipReason = "Shutdown hangs https://github.com/dotnet/aspnetcore/issues/25107")] 716[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win81, SkipReason = "NullReferenceException https://github.com/dotnet/aspnetcore/issues/26839")]
IIS.LongTests (1)
src\Servers\IIS\IIS\test\Common.LongTests\ShutdownTests.cs (1)
394[MaximumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10_20H2, SkipReason = "Shutdown hangs https://github.com/dotnet/aspnetcore/issues/25107")]
IIS.NewHandler.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.LongTests\ShutdownTests.cs (1)
394[MaximumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10_20H2, SkipReason = "Shutdown hangs https://github.com/dotnet/aspnetcore/issues/25107")]
IIS.NewShim.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.LongTests\ShutdownTests.cs (1)
394[MaximumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10_20H2, SkipReason = "Shutdown hangs https://github.com/dotnet/aspnetcore/issues/25107")]
IIS.Tests (8)
ClientDisconnectTests.cs (1)
17[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win8, SkipReason = "https://github.com/aspnet/IISIntegration/issues/866")]
ConnectionIdFeatureTests.cs (1)
12[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win8, SkipReason = "https://github.com/aspnet/IISIntegration/issues/866")]
HttpBodyControlFeatureTests.cs (1)
13[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win8, SkipReason = "https://github.com/aspnet/IISIntegration/issues/866")]
MaxRequestBodySizeTests.cs (1)
20[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win8, SkipReason = "https://github.com/aspnet/IISIntegration/issues/866")]
ResponseAbortTests.cs (1)
15[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win8, SkipReason = "https://github.com/aspnet/IISIntegration/issues/866")]
ResponseBodySizeTests.cs (1)
10[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win8, SkipReason = "https://github.com/aspnet/IISIntegration/issues/866")]
TestServerTest.cs (1)
13[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win8, SkipReason = "https://github.com/aspnet/IISIntegration/issues/866")]
TlsHandshakeFeatureTests.cs (1)
12[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win8, SkipReason = "https://github.com/aspnet/IISIntegration/issues/866")]
IISExpress.FunctionalTests (15)
InProcess\WebSocketTests.cs (1)
20[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win8, SkipReason = "No WebSocket supported on Win7")]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Http2Tests.cs (8)
61[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10, SkipReason = "Http2 requires Win10")] 98[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10, SkipReason = "Http2 requires Win10")] 141[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10_20H2, SkipReason = "Http2 requires Win10, and older versions of Win10 send some odd empty data frames.")] 211[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10_20H2, SkipReason = "Http2 requires Win10, and older versions of Win10 send some odd empty data frames.")] 273[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10_20H2, SkipReason = "Http2 requires Win10, and older versions of Win10 send some odd empty data frames.")] 329[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10, SkipReason = "Http2 requires Win10")] 368[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10, SkipReason = "Http2 requires Win10")] 369[MaximumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10_20H2, SkipReason = "This is last version without Reset support")]
src\Servers\IIS\IIS\test\Common.FunctionalTests\HttpsTests.cs (2)
52[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win8)] 60[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win8)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Inprocess\HttpSysRequestInfoTests.cs (1)
29[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10_20H2)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\RequestResponseTests.cs (2)
715[MaximumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10_20H2, SkipReason = "Shutdown hangs https://github.com/dotnet/aspnetcore/issues/25107")] 716[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win81, SkipReason = "NullReferenceException https://github.com/dotnet/aspnetcore/issues/26839")]
src\Servers\IIS\IIS\test\Common.LongTests\ShutdownTests.cs (1)
394[MaximumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10_20H2, SkipReason = "Shutdown hangs https://github.com/dotnet/aspnetcore/issues/25107")]
InMemory.FunctionalTests (33)
EventSourceTests.cs (2)
139[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10)] 265[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win8, SkipReason = "SslStream.AuthenticateAsServerAsync() doesn't throw on Win 7 when the client tries SSL 2.0.")]
Http2\TlsTests.cs (3)
31[OSSkipCondition(OperatingSystems.Linux, SkipReason = "TLS 1.1 ciphers are now disabled by default: https://github.com/dotnet/docs/issues/20842")] 32[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10, 34[MaximumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10_20H2,
HttpsConnectionMiddlewareTests.cs (24)
575[OSSkipCondition(OperatingSystems.MacOSX, SkipReason = "Missing platform support.")] 617[OSSkipCondition(OperatingSystems.Windows | OperatingSystems.Linux, SkipReason = "MacOS only test.")] 701[OSSkipCondition(OperatingSystems.MacOSX, SkipReason = "Missing platform support.")] 749[OSSkipCondition(OperatingSystems.MacOSX, SkipReason = "Missing platform support.")] 799[OSSkipCondition(OperatingSystems.MacOSX, SkipReason = "Fails on OSX.")] 872[OSSkipCondition(OperatingSystems.MacOSX, SkipReason = "Missing platform support.")] 915[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10)] // HTTP/2 requires Win10 943[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10)] // HTTP/2 requires Win10 1010[OSSkipCondition(OperatingSystems.MacOSX, SkipReason = "Missing platform support.")] 1056[OSSkipCondition(OperatingSystems.MacOSX, SkipReason = "Missing platform support.")] 1380[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10)] 1410[OSSkipCondition(OperatingSystems.MacOSX | OperatingSystems.Linux, SkipReason = "Downgrade logic only applies on Windows")] 1411[MaximumOSVersion(OperatingSystems.Windows, WindowsVersions.Win81)] 1424[OSSkipCondition(OperatingSystems.MacOSX | OperatingSystems.Linux, SkipReason = "Downgrade logic only applies on Windows")] 1425[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10)] 1438[OSSkipCondition(OperatingSystems.MacOSX | OperatingSystems.Linux, SkipReason = "Error logic only applies on Windows")] 1439[MaximumOSVersion(OperatingSystems.Windows, WindowsVersions.Win81)] 1451[OSSkipCondition(OperatingSystems.MacOSX | OperatingSystems.Linux, SkipReason = "Error logic only applies on Windows")] 1452[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10)]
HttpsTests.cs (2)
169[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10)] // Investigation: https://github.com/dotnet/aspnetcore/issues/22917 197[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10)] // Investigation: https://github.com/dotnet/aspnetcore/issues/22917
KestrelMetricsTests.cs (2)
670[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10)] 842[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10)]
Interop.FunctionalTests (8)
Http3\Http3TlsTests.cs (1)
76[MaximumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10_20H2,
HttpClientHttp2InteropTests.cs (6)
1597[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX, SkipReason = "Not supported yet")] 1598[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10)] 1642[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX, SkipReason = "Not supported yet")] 1643[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10)]
Utilities.cs (1)
13new MinimumOSVersionAttribute(OperatingSystems.Windows, WindowsVersions.Win10).IsMet
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (1)
UserJwtsTests.cs (1)
708[OSSkipCondition(OperatingSystems.Windows, SkipReason = "UnixFileMode is not supported on Windows.")]
Microsoft.AspNetCore.Components.WebViewE2E.Test (2)
WebViewManagerE2ETests.cs (2)
19[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX,
Microsoft.AspNetCore.DataProtection.Tests (8)
ContainerUtilsTests.cs (2)
29[OSSkipCondition(OperatingSystems.Windows)] 42[OSSkipCondition(OperatingSystems.Windows)]
DataProtectionUtilityExtensionsTests.cs (3)
25[OSSkipCondition(OperatingSystems.Linux)] 26[OSSkipCondition(OperatingSystems.MacOSX)] 57[OSSkipCondition(OperatingSystems.Windows)]
Repositories\FileSystemXmlRepositoryTests.cs (3)
193[OSSkipCondition(OperatingSystems.Linux, SkipReason = "Making FileSystemInfo.Delete throw on Linux is hard")] 194[OSSkipCondition(OperatingSystems.MacOSX, SkipReason = "Making FileSystemInfo.Delete throw on macOS is hard")] 295[OSSkipCondition(OperatingSystems.Windows, SkipReason = "UnixFileMode is not supported on Windows.")]
Microsoft.AspNetCore.DeveloperCertificates.XPlat.Tests (2)
CertificateManagerTests.cs (2)
488[OSSkipCondition(OperatingSystems.Windows, SkipReason = "UnixFileMode is not supported on Windows.")] 489[OSSkipCondition(OperatingSystems.MacOSX, SkipReason = "https://github.com/dotnet/aspnetcore/issues/6720")]
Microsoft.AspNetCore.FunctionalTests (2)
WebHostFunctionalTests.cs (2)
150[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX)]
Microsoft.AspNetCore.Hosting.FunctionalTests (4)
ShutdownTests.cs (4)
23[OSSkipCondition(OperatingSystems.Windows)] 24[OSSkipCondition(OperatingSystems.MacOSX)] 31[OSSkipCondition(OperatingSystems.Windows)] 32[OSSkipCondition(OperatingSystems.MacOSX)]
Microsoft.AspNetCore.Hosting.WindowsServices.Tests (2)
Properties\AssemblyInfo.cs (2)
6[assembly: OSSkipCondition(OperatingSystems.MacOSX)] 7[assembly: OSSkipCondition(OperatingSystems.Linux)]
Microsoft.AspNetCore.Http.Connections.Tests (6)
HttpConnectionDispatcherTests.cs (6)
1824[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX)] 1876[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX)] 1928[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX)]
Microsoft.AspNetCore.Http.Tests (5)
BindingAddressTests.cs (5)
37[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX, SkipReason = "Windows has drive letters and volume separator (c:), testing this url on unix or osx provides completely different output.")] 79[OSSkipCondition(OperatingSystems.Windows)] 97[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX, SkipReason = "Windows has drive letters and volume separator (c:), testing this url on unix or osx provides completely different output.")]
Microsoft.AspNetCore.InternalTesting (30)
xunit\MaximumOSVersionAttribute.cs (10)
16private readonly OperatingSystems _targetOS; 18private readonly OperatingSystems _currentOS; 22public MaximumOSVersionAttribute(OperatingSystems operatingSystem, string maxVersion) : 28internal MaximumOSVersionAttribute(OperatingSystems targetOS, Version maxVersion, OperatingSystems currentOS, Version currentVersion) 30if (targetOS != OperatingSystems.Windows) 53private static OperatingSystems GetCurrentOS() 57return OperatingSystems.Windows; 61return OperatingSystems.Linux; 65return OperatingSystems.MacOSX;
xunit\MinimumOsVersionAttribute.cs (10)
16private readonly OperatingSystems _targetOS; 18private readonly OperatingSystems _currentOS; 22public MinimumOSVersionAttribute(OperatingSystems operatingSystem, string minVersion) : 28internal MinimumOSVersionAttribute(OperatingSystems targetOS, Version minVersion, OperatingSystems currentOS, Version currentVersion) 30if (targetOS != OperatingSystems.Windows) 49private static OperatingSystems GetCurrentOS() 53return OperatingSystems.Windows; 57return OperatingSystems.Linux; 61return OperatingSystems.MacOSX;
xunit\OSSkipConditionAttribute.cs (10)
12private readonly OperatingSystems _excludedOperatingSystem; 13private readonly OperatingSystems _osPlatform; 15public OSSkipConditionAttribute(OperatingSystems operatingSystem) : 21public OSSkipConditionAttribute(OperatingSystems operatingSystem, params string[] versions) : 27internal OSSkipConditionAttribute(OperatingSystems operatingSystem, OperatingSystems osPlatform) 45private static OperatingSystems GetCurrentOS() 49return OperatingSystems.Windows; 53return OperatingSystems.Linux; 57return OperatingSystems.MacOSX;
Microsoft.AspNetCore.InternalTesting.Tests (91)
ConditionalTheoryTest.cs (3)
69[OSSkipCondition(OperatingSystems.Windows)] 70[OSSkipCondition(OperatingSystems.MacOSX)] 71[OSSkipCondition(OperatingSystems.Linux)]
MaximumOSVersionAttributeTest.cs (14)
14Assert.Throws<NotImplementedException>(() => new MaximumOSVersionAttribute(OperatingSystems.Linux, "2.5")); 20Assert.Throws<NotImplementedException>(() => new MaximumOSVersionAttribute(OperatingSystems.MacOSX, "2.5")); 26Assert.Throws<NotImplementedException>(() => new MaximumOSVersionAttribute(OperatingSystems.Linux | OperatingSystems.Windows, "2.5")); 33OperatingSystems.Windows, 35OperatingSystems.Windows, 45OperatingSystems.Windows, 47OperatingSystems.Windows, 57OperatingSystems.Windows, 59OperatingSystems.Windows, 69OperatingSystems.Windows, 71OperatingSystems.Windows, 81OperatingSystems.Windows, 83OperatingSystems.Linux,
MaximumOSVersionTest.cs (14)
12[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX)] 16[MaximumOSVersion(OperatingSystems.Windows, WindowsVersions.Win7)] 26[MaximumOSVersion(OperatingSystems.Windows, WindowsVersions.Win7)] 37[MaximumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10_RS4)] 38[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX)] 50[MaximumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10_19H2)] 51[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX)] 63[MaximumOSVersion(OperatingSystems.Windows, WindowsVersions.Win7)] 64[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX)] 78[MaximumOSVersion(OperatingSystems.Windows, WindowsVersions.Win7)]
MinimumOSVersionAttributeTest.cs (12)
14Assert.Throws<NotImplementedException>(() => new MinimumOSVersionAttribute(OperatingSystems.Linux, "2.5")); 20Assert.Throws<NotImplementedException>(() => new MinimumOSVersionAttribute(OperatingSystems.MacOSX, "2.5")); 26Assert.Throws<NotImplementedException>(() => new MinimumOSVersionAttribute(OperatingSystems.Linux | OperatingSystems.Windows, "2.5")); 33OperatingSystems.Windows, 35OperatingSystems.Windows, 45OperatingSystems.Windows, 47OperatingSystems.Windows, 57OperatingSystems.Windows, 59OperatingSystems.Windows, 69OperatingSystems.Windows, 71OperatingSystems.Linux,
MinimumOSVersionTest.cs (9)
15[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win8)] 25[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win8)] 36[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10_RS4)] 37[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX)] 49[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10_19H2)] 50[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX)] 62[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win8)]
OSSkipConditionAttributeTest.cs (22)
17OperatingSystems.Windows, 18OperatingSystems.Windows); 29OperatingSystems.Linux, 30OperatingSystems.Windows); 40var osSkipAttributeLinux = new OSSkipConditionAttribute(OperatingSystems.Linux | OperatingSystems.MacOSX, OperatingSystems.Linux); 41var osSkipAttributeMacOSX = new OSSkipConditionAttribute(OperatingSystems.Linux | OperatingSystems.MacOSX, OperatingSystems.MacOSX); 52var osSkipAttribute = new OSSkipConditionAttribute(OperatingSystems.Windows | OperatingSystems.MacOSX, OperatingSystems.Windows); 53var osSkipAttributeMacOSX = new OSSkipConditionAttribute(OperatingSystems.Windows | OperatingSystems.MacOSX, OperatingSystems.MacOSX); 64var osSkipAttribute = new OSSkipConditionAttribute(OperatingSystems.Linux | OperatingSystems.Windows, OperatingSystems.Windows); 65var osSkipAttributeLinux = new OSSkipConditionAttribute(OperatingSystems.Linux | OperatingSystems.Windows, OperatingSystems.Linux);
OSSkipConditionTest.cs (11)
12[OSSkipCondition(OperatingSystems.Linux)] 21[OSSkipCondition(OperatingSystems.MacOSX)] 30[OSSkipCondition(OperatingSystems.Windows)] 39[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX)] 51[OSSkipCondition(OperatingSystems.Linux)] 61[OSSkipCondition(OperatingSystems.MacOSX)] 71[OSSkipCondition(OperatingSystems.Windows)] 81[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX)] 94[OSSkipCondition(OperatingSystems.Windows)]
TestPlatformHelperTest.cs (6)
12[OSSkipCondition(OperatingSystems.MacOSX)] 13[OSSkipCondition(OperatingSystems.Windows)] 22[OSSkipCondition(OperatingSystems.Linux)] 23[OSSkipCondition(OperatingSystems.Windows)] 32[OSSkipCondition(OperatingSystems.Linux)] 33[OSSkipCondition(OperatingSystems.MacOSX)]
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
FileResultTests.cs (1)
305[OSSkipCondition(OperatingSystems.Windows)] // Creating symlinks requires special permissions on Windows
Microsoft.AspNetCore.Mvc.Razor.Test (2)
LanguageViewLocationExpanderTest.cs (2)
178[OSSkipCondition(OperatingSystems.Linux, 180[OSSkipCondition(OperatingSystems.MacOSX,
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (54)
Http2Tests.cs (24)
30[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10, SkipReason = "Http2 requires Win10")] 67[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10, SkipReason = "Http2 requires Win10")] 113[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10, SkipReason = "Http2 requires Win10")] 163[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10, SkipReason = "Http2 requires Win10")] 227[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10, SkipReason = "Http2 requires Win10")] 284[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10, SkipReason = "Http2 requires Win10")] 318[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10, SkipReason = "Http2 requires Win10")] 319[MaximumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10_19H1, SkipReason = "This is last version without GoAway support")] 363[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10_19H2, SkipReason = "GoAway support was added in Win10_19H2.")] 402[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10_19H2, SkipReason = "GoAway support was added in Win10_19H2.")] 441[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10_19H2, SkipReason = "GoAway support was added in Win10_19H2.")] 515[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10, SkipReason = "Http2 requires Win10")] 546[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10, SkipReason = "Http2 requires Win10")] 547[MaximumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10_20H1, SkipReason = "This is last version without custom Reset support")] 580[MinimumOSVersion(OperatingSystems.Windows, VersionForReset)] 631[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10, SkipReason = "Http2 requires Win10")] 632[MaximumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10_20H2, SkipReason = "This is last version without Reset support")] 653[MinimumOSVersion(OperatingSystems.Windows, VersionForReset)] 695[MinimumOSVersion(OperatingSystems.Windows, VersionForReset)] 742[MinimumOSVersion(OperatingSystems.Windows, VersionForReset)] 792[MinimumOSVersion(OperatingSystems.Windows, VersionForReset)] 844[MinimumOSVersion(OperatingSystems.Windows, VersionForReset)] 890[MinimumOSVersion(OperatingSystems.Windows, VersionForReset)] 939[MinimumOSVersion(OperatingSystems.Windows, VersionForReset)]
HttpsTests.cs (4)
129[MaximumOSVersion(OperatingSystems.Windows, WindowsVersions.Win7)] 151[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win8)] 195[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win8)] 235[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10_20H2)]
OpaqueUpgradeTests.cs (10)
22[MaximumOSVersion(OperatingSystems.Windows, WindowsVersions.Win7)] 48[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win8)] 76[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win8)] 106[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win8)] 128[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win8)] 160[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win8)] 189[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win8)] 247[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win8)] 278[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win8)] 306[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win8)]
Properties\AssemblyInfo.cs (2)
7[assembly: OSSkipCondition(OperatingSystems.MacOSX)] 8[assembly: OSSkipCondition(OperatingSystems.Linux)]
ResponseCachingTests.cs (1)
84[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win8, SkipReason = "Content type not required for caching on Win7.")]
ResponseTrailersTests.cs (13)
40[MinimumOSVersion(OperatingSystems.Windows, "10.0.19529", SkipReason = "Requires HTTP/2 Trailers support.")] 58[MinimumOSVersion(OperatingSystems.Windows, "10.0.19529", SkipReason = "Requires HTTP/2 Trailers support.")] 79[MinimumOSVersion(OperatingSystems.Windows, "10.0.19529", SkipReason = "Requires HTTP/2 Trailers support.")] 98[MinimumOSVersion(OperatingSystems.Windows, "10.0.19529", SkipReason = "Requires HTTP/2 Trailers support.")] 117[MinimumOSVersion(OperatingSystems.Windows, "10.0.19529", SkipReason = "Requires HTTP/2 Trailers support.")] 148[MinimumOSVersion(OperatingSystems.Windows, "10.0.19529", SkipReason = "Requires HTTP/2 Trailers support.")] 173[MinimumOSVersion(OperatingSystems.Windows, "10.0.19529", SkipReason = "Requires HTTP/2 Trailers support.")] 199[MinimumOSVersion(OperatingSystems.Windows, "10.0.19529", SkipReason = "Requires HTTP/2 Trailers support.")] 224[MinimumOSVersion(OperatingSystems.Windows, "10.0.19529", SkipReason = "Requires HTTP/2 Trailers support.")] 245[MinimumOSVersion(OperatingSystems.Windows, "10.0.19529", SkipReason = "Requires HTTP/2 Trailers support.")] 268[MinimumOSVersion(OperatingSystems.Windows, "10.0.19529", SkipReason = "Requires HTTP/2 Trailers support.")] 288[MinimumOSVersion(OperatingSystems.Windows, "10.0.19529", SkipReason = "Requires HTTP/2 Trailers support.")] 316[MinimumOSVersion(OperatingSystems.Windows, "10.0.19529", SkipReason = "Requires HTTP/2 Trailers support.")]
Microsoft.AspNetCore.Server.HttpSys.NonHelixTests (2)
Properties\AssemblyInfo.cs (2)
7[assembly: OSSkipCondition(OperatingSystems.MacOSX)] 8[assembly: OSSkipCondition(OperatingSystems.Linux)]
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (4)
AddressBinderTests.cs (4)
120[OSSkipCondition(OperatingSystems.Windows, SkipReason = "tmp/kestrel-test.sock is not valid for windows. Unix socket path must be absolute.")] 130[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX, SkipReason = "Windows has drive letters and volume separator (c:), testing this url on unix or osx provides completely different output.")] 131[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10_RS4)]
Microsoft.AspNetCore.Server.Kestrel.Tests (10)
KestrelConfigurationLoaderTests.cs (10)
930[OSSkipCondition(OperatingSystems.Windows)] // Windows has poor support for directory symlinks (e.g. https://github.com/dotnet/runtime/issues/27826) 1021[OSSkipCondition(OperatingSystems.Linux)] 1022[MaximumOSVersion(OperatingSystems.Windows, WindowsVersions.Win7)] 1031[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win81)] 1040[OSSkipCondition(OperatingSystems.MacOSX)] 1041[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win81)] 1100[OSSkipCondition(OperatingSystems.Linux)] 1101[MaximumOSVersion(OperatingSystems.Windows, WindowsVersions.Win7)] 1109[OSSkipCondition(OperatingSystems.MacOSX)] 1110[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win81)]
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (7)
QuicConnectionListenerTests.cs (5)
109[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX)] 110[MaximumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10_20H2, 150[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX)]
WebHostTests.cs (2)
33[OSSkipCondition(OperatingSystems.MacOSX, SkipReason = "HTTP/3 isn't supported on MacOS.")] 34[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win11_21H2)]
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (4)
HubConnectionTests.cs (4)
1801[OSSkipCondition(OperatingSystems.MacOSX | OperatingSystems.Linux)] 1860[OSSkipCondition(OperatingSystems.MacOSX | OperatingSystems.Linux)]
Microsoft.AspNetCore.StaticFiles.FunctionalTests (4)
StaticFileMiddlewareTests.cs (4)
125[OSSkipCondition(OperatingSystems.Linux)] 126[OSSkipCondition(OperatingSystems.MacOSX)] 228[OSSkipCondition(OperatingSystems.Linux)] 229[OSSkipCondition(OperatingSystems.MacOSX)]
Microsoft.AspNetCore.StaticFiles.Tests (21)
DefaultFilesMiddlewareTests.cs (8)
47[OSSkipCondition(OperatingSystems.Linux)] 48[OSSkipCondition(OperatingSystems.MacOSX)] 187[OSSkipCondition(OperatingSystems.Linux)] 188[OSSkipCondition(OperatingSystems.MacOSX)] 242[OSSkipCondition(OperatingSystems.Linux)] 243[OSSkipCondition(OperatingSystems.MacOSX)] 292[OSSkipCondition(OperatingSystems.Linux)] 293[OSSkipCondition(OperatingSystems.MacOSX)]
DirectoryBrowserMiddlewareTests.cs (10)
68[OSSkipCondition(OperatingSystems.Linux)] 69[OSSkipCondition(OperatingSystems.MacOSX)] 199[OSSkipCondition(OperatingSystems.Linux)] 200[OSSkipCondition(OperatingSystems.MacOSX)] 247[OSSkipCondition(OperatingSystems.Linux)] 248[OSSkipCondition(OperatingSystems.MacOSX)] 296[OSSkipCondition(OperatingSystems.Linux)] 297[OSSkipCondition(OperatingSystems.MacOSX)] 344[OSSkipCondition(OperatingSystems.Linux)] 345[OSSkipCondition(OperatingSystems.MacOSX)]
StaticFileMiddlewareTests.cs (3)
48[OSSkipCondition(OperatingSystems.Windows, SkipReason = "Symlinks not supported on Windows")] 164[OSSkipCondition(OperatingSystems.Linux)] 165[OSSkipCondition(OperatingSystems.MacOSX)]
Microsoft.AspNetCore.Tests (2)
WebApplicationTests.cs (2)
662[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX)]
Microsoft.AspNetCore.WebUtilities.Tests (2)
FileBufferingReadStreamTests.cs (1)
604[OSSkipCondition(OperatingSystems.Windows, SkipReason = "UnixFileMode is not supported on Windows.")]
FileBufferingWriteStreamTests.cs (1)
370[OSSkipCondition(OperatingSystems.Windows, SkipReason = "UnixFileMode is not supported on Windows.")]
Microsoft.Extensions.SecretManager.Tools.Tests (1)
SecretManagerTests.cs (1)
343[OSSkipCondition(OperatingSystems.Windows, SkipReason = "UnixFileMode is not supported on Windows.")]
ServerComparison.FunctionalTests (2)
NtlmAuthenticationTest.cs (2)
31[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX)]
Sockets.FunctionalTests (9)
src\Servers\Kestrel\test\FunctionalTests\Http2\HandshakeTests.cs (5)
43[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX)] 44[MaximumOSVersion(OperatingSystems.Windows, WindowsVersions.Win7)] 66[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10)] 94[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10)]
src\Servers\Kestrel\test\FunctionalTests\Http2\ShutdownTests.cs (1)
22[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10)]
src\Servers\Kestrel\test\FunctionalTests\ListenHandleTests.cs (1)
20[OSSkipCondition(OperatingSystems.Windows, SkipReason = "Listening to open TCP socket and/or pipe handles is not supported on Windows.")]
src\Servers\Kestrel\test\FunctionalTests\UnixDomainSocketsTests.cs (2)
33[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10_RS4)] 131[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10_RS4)]
Templates.Mvc.Tests (8)
BlazorTemplateTest.cs (2)
48[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX, SkipReason = "No LocalDb on non-Windows")]
MvcTemplateTest.cs (4)
137[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX, SkipReason = "No LocalDb on non-Windows")] 272[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX)] // Running these requires the rid-specific runtime pack to be available which is not consistent in all our platform builds.
RazorPagesTemplateTest.cs (2)
125[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX, SkipReason = "No LocalDb on non-Windows")]