Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 0f22f46

Browse files
author
Geoff Kizer
committed
move managed handler test class to ManagedHandlerTest.cs
1 parent bc64832 commit 0f22f46

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

src/System.Net.Http/tests/FunctionalTests/IdnaProtocolTests.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,4 @@ public sealed class HttpClientHandler_IdnaProtocolTests : IdnaProtocolTests
136136
// WinHttp on Win7 does not support IDNA
137137
protected override bool SupportsIdna => !PlatformDetection.IsWindows7 && !PlatformDetection.IsFullFramework;
138138
}
139-
140-
public sealed class ManagedHandler_IdnaProtocolTests : IdnaProtocolTests
141-
{
142-
protected override bool UseManagedHandler => true;
143-
protected override bool SupportsIdna => true;
144-
}
145139
}

src/System.Net.Http/tests/FunctionalTests/ManagedHandlerTest.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,13 @@ public ManagedHandler_DefaultCredentialsTest(ITestOutputHelper output) : base(ou
104104
protected override bool UseManagedHandler => true;
105105
}
106106

107+
public sealed class ManagedHandler_IdnaProtocolTests : IdnaProtocolTests
108+
{
109+
protected override bool UseManagedHandler => true;
110+
protected override bool SupportsIdna => true;
111+
}
112+
113+
107114
// TODO #23141: Socket's don't support canceling individual operations, so ReadStream on NetworkStream
108115
// isn't cancelable once the operation has started. We either need to wrap the operation with one that's
109116
// "cancelable", meaning that the underlying operation will still be running even though we've returned "canceled",

0 commit comments

Comments
 (0)