149 references to OSID
Binding.Custom.IntegrationTests (2)
CustomBindingTests.4.1.0.cs (2)
17[Issue(3572, OS = OSID.OSX)] 58[Issue(3572, OS = OSID.OSX)]
Binding.Http.IntegrationTests (2)
NetHttpsBindingTests.4.1.0.cs (2)
16[Issue(3572, OS = OSID.OSX)] 83[Issue(3572, OS = OSID.OSX)]
Binding.WS.TransportWithMessageCredentialSecurity.IntegrationTests (2)
WSNetTcpTransportWithMessageCredentialSecurityTests.cs (2)
43if (OSID.OSX.MatchesCurrent()) 99if (OSID.OSX.MatchesCurrent())
Client.ChannelLayer.IntegrationTests (7)
DuplexChannelShapeTests.4.1.0.cs (3)
18[Issue(3572, OS = OSID.OSX)] 20[Issue(1438, OS = OSID.Windows_7)] 81[Issue(1438, OS = OSID.Windows_7)]
DuplexChannelWithSynchronizationContext.cs (3)
17[Issue(1945, OS = OSID.OSX)] 78[Issue(1945, OS = OSID.OSX)] 143[Issue(1945, OS = OSID.OSX)]
RequestReplyChannelShapeTests.4.1.0.cs (1)
19[Issue(3572, OS = OSID.OSX)]
Extensibility.WebSockets.IntegrationTests (18)
WebSocketTests.4.1.0.cs (18)
22[Issue(1438, OS = OSID.Windows_7)] // not supported on Win7 118[Issue(1438, OS = OSID.Windows_7)] // not supported on Win7 186[Issue(1438, OS = OSID.Windows_7)] // not supported on Win7 256[Issue(3572, OS = OSID.OSX)] 257[Issue(1438, OS = OSID.Windows_7)] // not supported on Win7 354[Issue(3572, OS = OSID.OSX)] 355[Issue(1438, OS = OSID.Windows_7)] // not supported on Win7 423[Issue(1438, OS = OSID.Windows_7)] // not supported on Win7 490[Issue(1438, OS = OSID.Windows_7)] // not supported on Win7 545[Issue(1438, OS = OSID.Windows_7)] // not supported on Win7 601[Issue(3572, OS = OSID.OSX)] 602[Issue(1438, OS = OSID.Windows_7)] // not supported on Win7 657[Issue(3572, OS = OSID.OSX)] 658[Issue(1438, OS = OSID.Windows_7)] // not supported on Win7 712[Issue(1438, OS = OSID.Windows_7)] // not supported on Win7 753[Issue(1438, OS = OSID.Windows_7)] // not supported on Win7 794[Issue(1438, OS = OSID.Windows_7)] // not supported on Win7 841[Issue(1438, OS = OSID.Windows_7)] // not supported on Win7
Infrastructure.Common (81)
CertificateManager.cs (1)
241if ((OSHelper.Current & OSID.OSX) == OSHelper.Current)
ConditionalTestDetectors.cs (1)
142return OSID.AnyWindows.MatchesCurrent();
ConditionalWcfTest.cs (1)
234if((OSHelper.Current & OSID.OSX) != OSHelper.Current)
OSHelper.cs (74)
22private static OSID _currentOSID = 0; 29private static List<Tuple<string, OSID>> _runtimeToOSID = new List<Tuple<string, OSID>> 31new Tuple<string, OSID>("azurelinux", OSID.AzureLinux), 32new Tuple<string, OSID>("Mariner", OSID.AzureLinux), // CBL-Mariner (legacy name for Azure Linux) 33new Tuple<string, OSID>("debian", OSID.Debian), 34new Tuple<string, OSID>("fedora", OSID.Fedora), 35new Tuple<string, OSID>("sles", OSID.SLES), 36new Tuple<string, OSID>("opensuse", OSID.OpenSUSE), 37new Tuple<string, OSID>("osx", OSID.OSX), 38new Tuple<string, OSID>("rhel", OSID.RHEL), 39new Tuple<string, OSID>("ubuntu", OSID.Ubuntu), 43new Tuple<string, OSID>("win81", OSID.Windows_8_1 | OSID.Windows_Server_2012_R2), 44new Tuple<string, OSID>("win7", OSID.Windows_7 | OSID.Windows_Server_2008_R2), 51private static List<Tuple<string, OSID>> _descriptionToOSID = new List<Tuple<string, OSID>> 53new Tuple<string, OSID>("Microsoft Azure Linux", OSID.AzureLinux), 54new Tuple<string, OSID>("Microsoft Windows 6.0.", OSID.Windows_Server_2008), 55new Tuple<string, OSID>("Microsoft Windows 6.1.", OSID.Windows_7 | OSID.Windows_Server_2008_R2), 56new Tuple<string, OSID>("Microsoft Windows 6.2.", OSID.Windows_8 | OSID.Windows_Server_2012), 57new Tuple<string, OSID>("Microsoft Windows 6.3.", OSID.Windows_8_1 | OSID.Windows_Server_2012_R2), 58new Tuple<string, OSID>("Microsoft Windows 10.", OSID.Windows_10 | OSID.Windows_Server_2016), 59new Tuple<string, OSID>(MicrosoftWindowsPhoneName, OSID.WindowsPhone), 60new Tuple<string, OSID>(MicrosoftWindowsName, OSID.AnyWindows), // reserved for "Don't know which version" 61new Tuple<string, OSID>("Darwin", OSID.OSX), 77public static OSID Current 98public static bool MatchesCurrent(this OSID id) 105public static string Name(this OSID id) 110private static OSID DetectCurrentOS() 114OSID osid = OSIDfromRuntimeEnvironment(); 115if (osid == OSID.None) 128private static OSID OSIDfromOSDescription() 133return OSID.None; 141OSID detectedID = pair.Item2; 144if (detectedID == OSID.AnyWindows) 155detectedID &= ~(OSID.Windows_Server_2008 | 156OSID.Windows_7 | OSID.Windows_Server_2008_R2 | 157OSID.Windows_8 | OSID.Windows_Server_2008 | OSID.Windows_Server_2012 | 158OSID.WindowsPhone); 164detectedID = OSID.Windows_8; 173detectedID = OSID.None; 181return OSID.None; 184public static OSID OSIDfromRuntimeEnvironment() 189return OSID.None; 200return OSID.None;
ServiceUtilHelper.cs (1)
357if((OSHelper.Current & OSID.OSX) == OSHelper.Current)
xunit\IssueAttribute.cs (3)
32public OSID OS { get; set; } 46OS = OSID.None; 79if (OS == OSID.None && Framework == FrameworkID.None)
Infrastructure.IntegrationTests (5)
OSAndFrameworkTests.4.1.1.cs (5)
25Assert.True(OSHelper.Current != OSID.None, 48OSID id = OSID.Windows_7 | OSID.Ubuntu; 63OSID id = OSHelper.OSIDfromRuntimeEnvironment();
Security.TransportSecurity.IntegrationTests (30)
Https\ClientCredentialTypeTests.4.1.0.cs (4)
29[Issue(3572, OS = OSID.OSX)] 30[Issue(2561, OS = OSID.SLES)] // Active Issue - needs investigation 99[Issue(3572, OS = OSID.OSX)] 100[Issue(2561, OS = OSID.SLES)] // Active Issue - needs investigation
Https\HttpsTests.4.1.0.cs (8)
68[Issue(3572, OS = OSID.OSX)] 107[Issue(3572, OS = OSID.OSX)] 146[Issue(3572, OS = OSID.OSX)] 185[Issue(3572, OS = OSID.OSX)] 451[Issue(3572, OS = OSID.OSX)] 452[Issue(1438, OS = OSID.Windows_7)] // not supported on Win7 511[Issue(3572, OS = OSID.OSX)] 512[Issue(1438, OS = OSID.Windows_7)] // not supported on Win7
Https\HttpsTests.4.1.1.cs (3)
70[Issue(1945, OS = OSID.OSX)] // OSX doesn't support the TrustedPeople certificate store 130[Issue(1945, OS = OSID.OSX)] // OSX doesn't support the TrustedPeople certificate store 180[Issue(2870, OS = OSID.OSX)]
Negotiate\NegotiateStream_Http_Tests.4.1.0.cs (1)
84if (Environment.Version.Major == 5 && !OSID.AnyWindows.MatchesCurrent() && !TestProperties.GetProperty(TestProperties.ServiceUri_PropertyName).Contains("/"))
Negotiate\NegotiateStream_Tcp_Tests.4.1.0.cs (2)
280[Issue(2147, OS = OSID.OSX | OSID.AnyUnix)]
Tcp\ClientCredentialTypeCertificateCanonicalNameTests.4.1.0.cs (3)
28[Issue(3572, OS = OSID.OSX)] 100[Issue(3572, OS = OSID.OSX)] 177[Issue(3572, OS = OSID.OSX)]
Tcp\ClientCredentialTypeTests.4.1.0.cs (1)
116[Issue(3572, OS = OSID.OSX)]
Tcp\ClientCredentialTypeTests.4.1.1.cs (5)
17[Issue(1945, OS = OSID.OSX)] 65[Issue(1945, OS = OSID.OSX)] 124[Issue(1945, OS = OSID.OSX)] 172[Issue(3572, OS = OSID.OSX)] 219[Issue(1945, OS = OSID.OSX)]
Tcp\IdentityTests.4.1.0.cs (1)
17[Issue(3572, OS = OSID.OSX)]
Tcp\IdentityTests.4.1.1.cs (1)
17[Issue(3572, OS = OSID.OSX)]
Tcp\SctRenewalRegressionTests.cs (1)
35[Issue(2870, OS = OSID.OSX)]
System.ServiceModel.Primitives.Tests (2)
ServiceModel\X509CertificateEndpointIdentityTest.cs (2)
17[Issue(3572, OS = OSID.OSX)] 53[Issue(3572, OS = OSID.OSX)]