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.UDS.IntegrationTests (1)
UDSBindingTests.cs (1)
96
[Issue(2870, OS =
OSID
.OSX)]
Binding.WS.FederationHttp.IntegrationTests (3)
WSFederationHttpBindingTests.cs (3)
17
[Issue(2870, OS =
OSID
.OSX)]
78
[Issue(2870, OS =
OSID
.OSX)]
129
[Issue(2870, OS =
OSID
.OSX)]
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)]
77
[Issue(1945, OS =
OSID
.OSX)]
141
[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)
21
[Issue(1438, OS =
OSID
.Windows_7)] // not supported on Win7
117
[Issue(1438, OS =
OSID
.Windows_7)] // not supported on Win7
184
[Issue(1438, OS =
OSID
.Windows_7)] // not supported on Win7
252
[Issue(3572, OS =
OSID
.OSX)]
253
[Issue(1438, OS =
OSID
.Windows_7)] // not supported on Win7
350
[Issue(3572, OS =
OSID
.OSX)]
351
[Issue(1438, OS =
OSID
.Windows_7)] // not supported on Win7
419
[Issue(1438, OS =
OSID
.Windows_7)] // not supported on Win7
485
[Issue(1438, OS =
OSID
.Windows_7)] // not supported on Win7
539
[Issue(1438, OS =
OSID
.Windows_7)] // not supported on Win7
594
[Issue(3572, OS =
OSID
.OSX)]
595
[Issue(1438, OS =
OSID
.Windows_7)] // not supported on Win7
649
[Issue(3572, OS =
OSID
.OSX)]
650
[Issue(1438, OS =
OSID
.Windows_7)] // not supported on Win7
702
[Issue(1438, OS =
OSID
.Windows_7)] // not supported on Win7
742
[Issue(1438, OS =
OSID
.Windows_7)] // not supported on Win7
782
[Issue(1438, OS =
OSID
.Windows_7)] // not supported on Win7
829
[Issue(1438, OS =
OSID
.Windows_7)] // not supported on Win7
Infrastructure.Common (76)
ConditionalTestDetectors.cs (1)
142
return
OSID
.AnyWindows.MatchesCurrent();
ConditionalWcfTest.cs (1)
234
if((OSHelper.Current &
OSID
.OSX) != OSHelper.Current)
OSHelper.cs (70)
22
private static
OSID
_currentOSID = 0;
29
private static List<Tuple<string,
OSID
>> _runtimeToOSID = new List<Tuple<string,
OSID
>>
31
new Tuple<string,
OSID
>("Mariner",
OSID
.Mariner),
32
new Tuple<string,
OSID
>("debian",
OSID
.Debian),
33
new Tuple<string,
OSID
>("fedora",
OSID
.Fedora),
34
new Tuple<string,
OSID
>("sles",
OSID
.SLES),
35
new Tuple<string,
OSID
>("opensuse",
OSID
.OpenSUSE),
36
new Tuple<string,
OSID
>("osx",
OSID
.OSX),
37
new Tuple<string,
OSID
>("rhel",
OSID
.RHEL),
38
new Tuple<string,
OSID
>("ubuntu",
OSID
.Ubuntu),
42
new Tuple<string,
OSID
>("win81",
OSID
.Windows_8_1 |
OSID
.Windows_Server_2012_R2),
43
new Tuple<string,
OSID
>("win7",
OSID
.Windows_7 |
OSID
.Windows_Server_2008_R2),
50
private static List<Tuple<string,
OSID
>> _descriptionToOSID = new List<Tuple<string,
OSID
>>
52
new Tuple<string,
OSID
>("Microsoft Windows 6.0.",
OSID
.Windows_Server_2008),
53
new Tuple<string,
OSID
>("Microsoft Windows 6.1.",
OSID
.Windows_7 |
OSID
.Windows_Server_2008_R2),
54
new Tuple<string,
OSID
>("Microsoft Windows 6.2.",
OSID
.Windows_8 |
OSID
.Windows_Server_2012),
55
new Tuple<string,
OSID
>("Microsoft Windows 6.3.",
OSID
.Windows_8_1 |
OSID
.Windows_Server_2012_R2),
56
new Tuple<string,
OSID
>("Microsoft Windows 10.",
OSID
.Windows_10 |
OSID
.Windows_Server_2016),
57
new Tuple<string,
OSID
>(MicrosoftWindowsPhoneName,
OSID
.WindowsPhone),
58
new Tuple<string,
OSID
>(MicrosoftWindowsName,
OSID
.AnyWindows), // reserved for "Don't know which version"
59
new Tuple<string,
OSID
>("Darwin",
OSID
.OSX),
75
public static
OSID
Current
96
public static bool MatchesCurrent(this
OSID
id)
103
public static string Name(this
OSID
id)
108
private static
OSID
DetectCurrentOS()
112
OSID
osid = OSIDfromRuntimeEnvironment();
113
if (osid ==
OSID
.None)
126
private static
OSID
OSIDfromOSDescription()
131
return
OSID
.None;
139
OSID
detectedID = pair.Item2;
142
if (detectedID ==
OSID
.AnyWindows)
153
detectedID &= ~(
OSID
.Windows_Server_2008 |
154
OSID
.Windows_7 |
OSID
.Windows_Server_2008_R2 |
155
OSID
.Windows_8 |
OSID
.Windows_Server_2008 |
OSID
.Windows_Server_2012 |
156
OSID
.WindowsPhone);
162
detectedID =
OSID
.Windows_8;
171
detectedID =
OSID
.None;
179
return
OSID
.None;
182
public static
OSID
OSIDfromRuntimeEnvironment()
187
return
OSID
.None;
198
return
OSID
.None;
ServiceUtilHelper.cs (1)
353
if((OSHelper.Current &
OSID
.OSX) == OSHelper.Current)
xunit\IssueAttribute.cs (3)
32
public
OSID
OS { get; set; }
46
OS =
OSID
.None;
79
if (OS ==
OSID
.None && Framework == FrameworkID.None)
Infrastructure.IntegrationTests (5)
OSAndFrameworkTests.4.1.1.cs (5)
25
Assert.True(OSHelper.Current !=
OSID
.None,
48
OSID
id =
OSID
.Windows_7 |
OSID
.Ubuntu;
63
OSID
id = OSHelper.OSIDfromRuntimeEnvironment();
Security.TransportSecurity.IntegrationTests (35)
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 (14)
21
[Issue(2870, OS =
OSID
.OSX)]
69
[Issue(3572, OS =
OSID
.OSX)]
108
[Issue(3572, OS =
OSID
.OSX)]
147
[Issue(3572, OS =
OSID
.OSX)]
186
[Issue(3572, OS =
OSID
.OSX)]
224
[Issue(2870, OS =
OSID
.OSX)]
272
[Issue(2870, OS =
OSID
.OSX)]
313
[Issue(2870, OS =
OSID
.OSX)]
351
[Issue(2870, OS =
OSID
.OSX)]
401
[Issue(2870, OS =
OSID
.OSX)]
456
[Issue(3572, OS =
OSID
.OSX)]
457
[Issue(1438, OS =
OSID
.Windows_7)] // not supported on Win7
515
[Issue(3572, OS =
OSID
.OSX)]
516
[Issue(1438, OS =
OSID
.Windows_7)] // not supported on Win7
Https\HttpsTests.4.1.1.cs (3)
69
[Issue(1945, OS =
OSID
.OSX)] // OSX doesn't support the TrustedPeople certificate store
129
[Issue(1945, OS =
OSID
.OSX)] // OSX doesn't support the TrustedPeople certificate store
174
[Issue(2870, OS =
OSID
.OSX)]
Negotiate\NegotiateStream_Http_Tests.4.1.0.cs (1)
83
if (Environment.Version.Major == 5 && !
OSID
.AnyWindows.MatchesCurrent() && !TestProperties.GetProperty(TestProperties.ServiceUri_PropertyName).Contains("/"))
Negotiate\NegotiateStream_Tcp_Tests.4.1.0.cs (2)
283
[Issue(2147, OS =
OSID
.OSX |
OSID
.AnyUnix)]
Tcp\ClientCredentialTypeCertificateCanonicalNameTests.4.1.0.cs (1)
175
[Issue(3572, OS =
OSID
.OSX)]
Tcp\ClientCredentialTypeTests.4.1.0.cs (3)
16
[Issue(2870, OS =
OSID
.OSX)]
65
[Issue(2870, OS =
OSID
.OSX)]
118
[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)]