8
8
9
9
namespace _YetAnotherHttpHandler . Test ;
10
10
11
- [ OSSkipCondition ( OperatingSystems . MacOSX ) ] // .NET 7 or earlier does not support ALPN on macOS.
12
11
public class Http2Test ( ITestOutputHelper testOutputHelper ) : Http2TestBase ( testOutputHelper )
13
12
{
14
13
protected override YetAnotherHttpHandler CreateHandler ( )
@@ -39,7 +38,7 @@ protected override Task<TestWebAppServer> LaunchServerAsyncCore<T>(Action<WebApp
39
38
} ) ;
40
39
}
41
40
42
- [ ConditionalFact ]
41
+ [ Fact ]
43
42
public async Task SelfSignedCertificate_NotTrusted ( )
44
43
{
45
44
// Arrange
@@ -55,7 +54,7 @@ public async Task SelfSignedCertificate_NotTrusted()
55
54
Assert . IsType < HttpRequestException > ( ex ) ;
56
55
}
57
56
58
- [ ConditionalFact ]
57
+ [ Fact ]
59
58
public async Task SelfSignedCertificate_NotTrusted_SkipValidation ( )
60
59
{
61
60
// Arrange
@@ -72,7 +71,7 @@ public async Task SelfSignedCertificate_NotTrusted_SkipValidation()
72
71
Assert . Equal ( "__OK__" , result ) ;
73
72
}
74
73
75
- [ ConditionalFact ]
74
+ [ Fact ]
76
75
public async Task SelfSignedCertificate_Trusted_CustomRootCA ( )
77
76
{
78
77
// Arrange
@@ -94,7 +93,7 @@ public async Task SelfSignedCertificate_Trusted_CustomRootCA()
94
93
Assert . Equal ( "__OK__" , result ) ;
95
94
}
96
95
97
- [ ConditionalFact ]
96
+ [ Fact ]
98
97
public async Task CustomCertificateVerificationHandler_Success ( )
99
98
{
100
99
// Arrange
@@ -118,7 +117,7 @@ public async Task CustomCertificateVerificationHandler_Success()
118
117
Assert . Equal ( "__OK__" , result ) ;
119
118
}
120
119
121
- [ ConditionalFact ]
120
+ [ Fact ]
122
121
public async Task CustomCertificateVerificationHandler_Failure ( )
123
122
{
124
123
// Arrange
@@ -141,7 +140,7 @@ public async Task CustomCertificateVerificationHandler_Failure()
141
140
Assert . IsType < HttpRequestException > ( ex ) ;
142
141
}
143
142
144
- [ ConditionalFact ]
143
+ [ Fact ]
145
144
public async Task CustomCertificateVerificationHandler_Certificate ( )
146
145
{
147
146
// Arrange
0 commit comments