417 references to OperatingSystems
Diagnostics.EFCore.FunctionalTests (26)
Diagnostics.FunctionalTests (2)
IIS.FunctionalTests (35)
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")]
IIS.LongTests (1)
IIS.NewHandler.FunctionalTests (1)
IIS.NewShim.FunctionalTests (1)
IIS.Tests (8)
IISExpress.FunctionalTests (16)
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")]
InMemory.FunctionalTests (33)
HttpsConnectionMiddlewareTests.cs (24)
579[OSSkipCondition(OperatingSystems.MacOSX, SkipReason = "Missing platform support.")]
621[OSSkipCondition(OperatingSystems.Windows | OperatingSystems.Linux, SkipReason = "MacOS only test.")]
705[OSSkipCondition(OperatingSystems.MacOSX, SkipReason = "Missing platform support.")]
753[OSSkipCondition(OperatingSystems.MacOSX, SkipReason = "Missing platform support.")]
803[OSSkipCondition(OperatingSystems.MacOSX, SkipReason = "Fails on OSX.")]
876[OSSkipCondition(OperatingSystems.MacOSX, SkipReason = "Missing platform support.")]
919[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10)] // HTTP/2 requires Win10
947[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10)] // HTTP/2 requires Win10
1014[OSSkipCondition(OperatingSystems.MacOSX, SkipReason = "Missing platform support.")]
1060[OSSkipCondition(OperatingSystems.MacOSX, SkipReason = "Missing platform support.")]
1384[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10)]
1414[OSSkipCondition(OperatingSystems.MacOSX | OperatingSystems.Linux, SkipReason = "Downgrade logic only applies on Windows")]
1415[MaximumOSVersion(OperatingSystems.Windows, WindowsVersions.Win81)]
1428[OSSkipCondition(OperatingSystems.MacOSX | OperatingSystems.Linux, SkipReason = "Downgrade logic only applies on Windows")]
1429[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10)]
1442[OSSkipCondition(OperatingSystems.MacOSX | OperatingSystems.Linux, SkipReason = "Error logic only applies on Windows")]
1443[MaximumOSVersion(OperatingSystems.Windows, WindowsVersions.Win81)]
1455[OSSkipCondition(OperatingSystems.MacOSX | OperatingSystems.Linux, SkipReason = "Error logic only applies on Windows")]
1456[MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10)]
Interop.FunctionalTests (8)
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (1)
Microsoft.AspNetCore.Components.WebViewE2E.Test (2)
Microsoft.AspNetCore.DataProtection.Tests (8)
Microsoft.AspNetCore.DeveloperCertificates.XPlat.Tests (2)
Microsoft.AspNetCore.FunctionalTests (2)
Microsoft.AspNetCore.Hosting.FunctionalTests (4)
Microsoft.AspNetCore.Hosting.WindowsServices.Tests (2)
Microsoft.AspNetCore.Http.Connections.Tests (6)
Microsoft.AspNetCore.Http.Tests (5)
Microsoft.AspNetCore.InternalTesting (30)
Microsoft.AspNetCore.InternalTesting.Tests (91)
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,
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,
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
Microsoft.AspNetCore.Mvc.Razor.Test (2)
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)]
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)]
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)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (4)
Microsoft.AspNetCore.Server.Kestrel.Tests (10)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (7)
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (4)
Microsoft.AspNetCore.StaticFiles.FunctionalTests (4)
Microsoft.AspNetCore.StaticFiles.Tests (21)
Microsoft.AspNetCore.Tests (2)
Microsoft.AspNetCore.WebUtilities.Tests (2)
Microsoft.Extensions.SecretManager.Tools.Tests (1)
ServerComparison.FunctionalTests (2)
Sockets.FunctionalTests (9)
Templates.Mvc.Tests (8)