147 instantiations of OSSkipCondition
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)]
InMemory.FunctionalTests (13)
Http2\TlsTests.cs (1)
31[OSSkipCondition(OperatingSystems.Linux, SkipReason = "TLS 1.1 ciphers are now disabled by default: https://github.com/dotnet/docs/issues/20842")]
HttpsConnectionMiddlewareTests.cs (12)
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.")] 1014[OSSkipCondition(OperatingSystems.MacOSX, SkipReason = "Missing platform support.")] 1060[OSSkipCondition(OperatingSystems.MacOSX, SkipReason = "Missing platform support.")] 1414[OSSkipCondition(OperatingSystems.MacOSX | OperatingSystems.Linux, SkipReason = "Downgrade logic only applies on Windows")] 1428[OSSkipCondition(OperatingSystems.MacOSX | OperatingSystems.Linux, SkipReason = "Downgrade logic only applies on Windows")] 1442[OSSkipCondition(OperatingSystems.MacOSX | OperatingSystems.Linux, SkipReason = "Error logic only applies on Windows")] 1455[OSSkipCondition(OperatingSystems.MacOSX | OperatingSystems.Linux, SkipReason = "Error logic only applies on Windows")]
Interop.FunctionalTests (2)
HttpClientHttp2InteropTests.cs (2)
1597[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX, SkipReason = "Not supported yet")] 1642[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX, SkipReason = "Not supported yet")]
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (1)
UserJwtsTests.cs (1)
745[OSSkipCondition(OperatingSystems.Windows, SkipReason = "UnixFileMode is not supported on Windows.")]
Microsoft.AspNetCore.Components.WebViewE2E.Test (1)
WebViewManagerE2ETests.cs (1)
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 (1)
WebHostFunctionalTests.cs (1)
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 (3)
HttpConnectionDispatcherTests.cs (3)
1824[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX)] 1876[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX)] 1928[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX)]
Microsoft.AspNetCore.Http.Tests (3)
BindingAddressTests.cs (3)
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.Tests (24)
ConditionalTheoryTest.cs (3)
69[OSSkipCondition(OperatingSystems.Windows)] 70[OSSkipCondition(OperatingSystems.MacOSX)] 71[OSSkipCondition(OperatingSystems.Linux)]
MaximumOSVersionTest.cs (4)
12[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX)] 38[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX)] 51[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX)] 64[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX)]
MinimumOSVersionTest.cs (2)
37[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX)] 50[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX)]
OSSkipConditionTest.cs (9)
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 (2)
Properties\AssemblyInfo.cs (2)
7[assembly: OSSkipCondition(OperatingSystems.MacOSX)] 8[assembly: OSSkipCondition(OperatingSystems.Linux)]
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 (2)
AddressBinderTests.cs (2)
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.")]
Microsoft.AspNetCore.Server.Kestrel.Tests (5)
KestrelConfigurationLoaderTests.cs (5)
930[OSSkipCondition(OperatingSystems.Windows)] // Windows has poor support for directory symlinks (e.g. https://github.com/dotnet/runtime/issues/27826) 1021[OSSkipCondition(OperatingSystems.Linux)] 1040[OSSkipCondition(OperatingSystems.MacOSX)] 1100[OSSkipCondition(OperatingSystems.Linux)] 1109[OSSkipCondition(OperatingSystems.MacOSX)]
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (3)
QuicConnectionListenerTests.cs (2)
109[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX)] 150[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX)]
WebHostTests.cs (1)
33[OSSkipCondition(OperatingSystems.MacOSX, SkipReason = "HTTP/3 isn't supported on MacOS.")]
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (2)
HubConnectionTests.cs (2)
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 (1)
WebApplicationTests.cs (1)
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 (1)
NtlmAuthenticationTest.cs (1)
31[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX)]
Sockets.FunctionalTests (2)
src\Servers\Kestrel\test\FunctionalTests\Http2\HandshakeTests.cs (1)
43[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX)]
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.")]
Templates.Mvc.Tests (4)
BlazorTemplateTest.cs (1)
48[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX, SkipReason = "No LocalDb on non-Windows")]
MvcTemplateTest.cs (2)
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 (1)
125[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX, SkipReason = "No LocalDb on non-Windows")]
8 references to OSSkipCondition
Microsoft.AspNetCore.InternalTesting.Tests (8)
OSSkipConditionAttributeTest.cs (8)
16var osSkipAttribute = new OSSkipConditionAttribute( 28var osSkipAttribute = new OSSkipConditionAttribute( 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);