@@ -361,4 +361,184 @@ public sealed class PlatformHandler_ResponseStream_Http2_Test : ResponseStreamTe
361361
362362 public PlatformHandler_ResponseStream_Http2_Test ( ITestOutputHelper output ) : base ( output ) { }
363363 }
364+
365+ #if NET
366+ #if ! WINHTTPHANDLER_TEST // [ActiveIssue("https://github.com/dotnet/runtime/issues/33930")]
367+ [ ConditionalClass ( typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsWindows10Version1607OrGreater ) ) ]
368+ public sealed class PlatformHandlerTest_Cookies_Http3 : HttpClientHandlerTest_Cookies
369+ {
370+ protected override Version UseVersion => HttpVersion . Version30 ;
371+
372+ public PlatformHandlerTest_Cookies_Http3 ( ITestOutputHelper output ) : base ( output ) { }
373+ }
374+ #endif
375+
376+ public sealed class PlatformHandler_HttpClientHandler_Asynchrony_Http3_Test : HttpClientHandler_Asynchrony_Test
377+ {
378+ protected override Version UseVersion => HttpVersion . Version30 ;
379+
380+ public PlatformHandler_HttpClientHandler_Asynchrony_Http3_Test ( ITestOutputHelper output ) : base ( output ) { }
381+ }
382+
383+ public sealed class PlatformHandler_HttpProtocol_Http3_Tests : HttpProtocolTests
384+ {
385+ protected override Version UseVersion => HttpVersion . Version30 ;
386+
387+ public PlatformHandler_HttpProtocol_Http3_Tests ( ITestOutputHelper output ) : base ( output ) { }
388+ }
389+
390+ public sealed class PlatformHandler_HttpProtocolTests_Http3_Dribble : HttpProtocolTests_Dribble
391+ {
392+ protected override Version UseVersion => HttpVersion . Version30 ;
393+
394+ public PlatformHandler_HttpProtocolTests_Http3_Dribble ( ITestOutputHelper output ) : base ( output ) { }
395+ }
396+
397+ public sealed class PlatformHandler_HttpClient_SelectedSites_Http3_Test : HttpClient_SelectedSites_Test
398+ {
399+ protected override Version UseVersion => HttpVersion . Version30 ;
400+
401+ public PlatformHandler_HttpClient_SelectedSites_Http3_Test ( ITestOutputHelper output ) : base ( output ) { }
402+ }
403+
404+ public sealed class PlatformHandler_HttpClientEKU_Http3_Test : HttpClientEKUTest
405+ {
406+ protected override Version UseVersion => HttpVersion . Version30 ;
407+
408+ public PlatformHandler_HttpClientEKU_Http3_Test ( ITestOutputHelper output ) : base ( output ) { }
409+ }
410+
411+ public sealed class PlatformHandler_HttpClientHandler_Decompression_Http3_Tests : HttpClientHandler_Decompression_Test
412+ {
413+ protected override Version UseVersion => HttpVersion . Version30 ;
414+
415+ public PlatformHandler_HttpClientHandler_Decompression_Http3_Tests ( ITestOutputHelper output ) : base ( output ) { }
416+ }
417+
418+ public sealed class PlatformHandler_HttpClientHandler_DangerousAcceptAllCertificatesValidator_Http3_Test : HttpClientHandler_DangerousAcceptAllCertificatesValidator_Test
419+ {
420+ protected override Version UseVersion => HttpVersion . Version30 ;
421+
422+ public PlatformHandler_HttpClientHandler_DangerousAcceptAllCertificatesValidator_Http3_Test ( ITestOutputHelper output ) : base ( output ) { }
423+ }
424+
425+ public sealed class PlatformHandler_HttpClientHandler_ClientCertificates_Http3_Test : HttpClientHandler_ClientCertificates_Test
426+ {
427+ protected override Version UseVersion => HttpVersion . Version30 ;
428+
429+ public PlatformHandler_HttpClientHandler_ClientCertificates_Http3_Test ( ITestOutputHelper output ) : base ( output ) { }
430+ }
431+
432+ public sealed class PlatformHandler_HttpClientHandler_DefaultProxyCredentials_Http3_Test : HttpClientHandler_DefaultProxyCredentials_Test
433+ {
434+ protected override Version UseVersion => HttpVersion . Version30 ;
435+
436+ public PlatformHandler_HttpClientHandler_DefaultProxyCredentials_Http3_Test ( ITestOutputHelper output ) : base ( output ) { }
437+ }
438+
439+ [ SkipOnPlatform ( TestPlatforms . Browser , "MaxConnectionsPerServer not supported on Browser" ) ]
440+ public sealed class PlatformHandler_HttpClientHandler_MaxConnectionsPerServer_Http3_Test : HttpClientHandler_MaxConnectionsPerServer_Test
441+ {
442+ protected override Version UseVersion => HttpVersion . Version30 ;
443+
444+ public PlatformHandler_HttpClientHandler_MaxConnectionsPerServer_Http3_Test ( ITestOutputHelper output ) : base ( output ) { }
445+ }
446+
447+ public sealed class PlatformHandler_HttpClientHandler_ServerCertificates_Http3_Test : HttpClientHandler_ServerCertificates_Test
448+ {
449+ protected override Version UseVersion => HttpVersion . Version30 ;
450+
451+ public PlatformHandler_HttpClientHandler_ServerCertificates_Http3_Test ( ITestOutputHelper output ) : base ( output )
452+ {
453+ AllowAllCertificates = false ;
454+ }
455+ }
456+
457+ public sealed class PlatformHandler_PostScenario_Http3_Test : PostScenarioTest
458+ {
459+ protected override Version UseVersion => HttpVersion . Version30 ;
460+
461+ public PlatformHandler_PostScenario_Http3_Test ( ITestOutputHelper output ) : base ( output ) { }
462+ }
463+
464+ public sealed class PlatformHandler_HttpClientHandler_SslProtocols_Http3_Test : HttpClientHandler_SslProtocols_Test
465+ {
466+ protected override Version UseVersion => HttpVersion . Version30 ;
467+
468+ public PlatformHandler_HttpClientHandler_SslProtocols_Http3_Test ( ITestOutputHelper output ) : base ( output ) { }
469+ }
470+
471+ public sealed class PlatformHandler_HttpClientHandler_Proxy_Http3_Test : HttpClientHandler_Proxy_Test
472+ {
473+ protected override Version UseVersion => HttpVersion . Version30 ;
474+
475+ public PlatformHandler_HttpClientHandler_Proxy_Http3_Test ( ITestOutputHelper output ) : base ( output ) { }
476+ }
477+
478+ [ ConditionalClass ( typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsWindows10Version1607OrGreater ) ) ]
479+ public sealed class PlatformHandler_HttpClientHandler_Http3_Test : HttpClientHandlerTest
480+ {
481+ protected override Version UseVersion => HttpVersion . Version30 ;
482+
483+ public PlatformHandler_HttpClientHandler_Http3_Test ( ITestOutputHelper output ) : base ( output ) { }
484+ }
485+
486+ public sealed class PlatformHandlerTest_AutoRedirect_Http3 : HttpClientHandlerTest_AutoRedirect
487+ {
488+ protected override Version UseVersion => HttpVersion . Version30 ;
489+
490+ public PlatformHandlerTest_AutoRedirect_Http3 ( ITestOutputHelper output ) : base ( output ) { }
491+ }
492+
493+ public sealed class PlatformHandler_DefaultCredentials_Http3_Test : DefaultCredentialsTest
494+ {
495+ protected override Version UseVersion => HttpVersion . Version30 ;
496+
497+ public PlatformHandler_DefaultCredentials_Http3_Test ( ITestOutputHelper output ) : base ( output ) { }
498+ }
499+
500+ public sealed class PlatformHandler_IdnaProtocol_Http3_Tests : IdnaProtocolTests
501+ {
502+ protected override Version UseVersion => HttpVersion . Version30 ;
503+
504+ public PlatformHandler_IdnaProtocol_Http3_Tests ( ITestOutputHelper output ) : base ( output ) { }
505+ // WinHttp on Win7 does not support IDNA
506+ protected override bool SupportsIdna => ! PlatformDetection . IsWindows7 ;
507+ }
508+
509+ public sealed class PlatformHandlerTest_Cookies_Http11_Http3 : HttpClientHandlerTest_Cookies_Http11
510+ {
511+ protected override Version UseVersion => HttpVersion . Version30 ;
512+
513+ public PlatformHandlerTest_Cookies_Http11_Http3 ( ITestOutputHelper output ) : base ( output ) { }
514+ }
515+
516+ [ ConditionalClass ( typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsWindows10Version1607OrGreater ) ) ]
517+ public sealed class PlatformHandler_HttpClientHandler_MaxResponseHeadersLength_Http3_Test : HttpClientHandler_MaxResponseHeadersLength_Test
518+ {
519+ protected override Version UseVersion => HttpVersion . Version30 ;
520+
521+ public PlatformHandler_HttpClientHandler_MaxResponseHeadersLength_Http3_Test ( ITestOutputHelper output ) : base ( output ) { }
522+ }
523+
524+ public sealed class PlatformHandler_HttpClientHandler_Cancellation_Http3_Test : HttpClientHandler_Cancellation_Test
525+ {
526+ protected override Version UseVersion => HttpVersion . Version30 ;
527+
528+ public PlatformHandler_HttpClientHandler_Cancellation_Http3_Test ( ITestOutputHelper output ) : base ( output ) { }
529+ }
530+
531+ public sealed class PlatformHandler_HttpClientHandler_Authentication_Http3_Test : HttpClientHandler_Authentication_Test
532+ {
533+ protected override Version UseVersion => HttpVersion . Version30 ;
534+
535+ public PlatformHandler_HttpClientHandler_Authentication_Http3_Test ( ITestOutputHelper output ) : base ( output ) { }
536+ }
537+ public sealed class PlatformHandler_ResponseStream_Http3_Test : ResponseStreamTest
538+ {
539+ protected override Version UseVersion => HttpVersion . Version30 ;
540+
541+ public PlatformHandler_ResponseStream_Http3_Test ( ITestOutputHelper output ) : base ( output ) { }
542+ }
543+ #endif
364544}
0 commit comments