mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-27 13:19:31 -10:00
* Modify some HttpClient tests to use RemoteInvoke on UAP A few of the HttpClient tests were failing and needed to be isolated into their own process. This is due to the UAP stack using per-process connection pooling. Fixes dotnet/corefx#21945 * Address PR feedback Commit migrated from https://github.com/dotnet/corefx/commit/69424bfe32417870a5b3047bad4958cc7fa5d9a8
26 lines
938 B
C#
26 lines
938 B
C#
// Licensed to the .NET Foundation under one or more agreements.
|
|
// The .NET Foundation licenses this file to you under the MIT license.
|
|
// See the LICENSE file in the project root for more information.
|
|
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics;
|
|
using System.Net.Security;
|
|
using System.Net.Test.Common;
|
|
using System.Runtime.InteropServices;
|
|
using System.Security.Authentication.ExtendedProtection;
|
|
using System.Security.Cryptography.X509Certificates;
|
|
using System.Threading.Tasks;
|
|
using Xunit;
|
|
|
|
namespace System.Net.Http.Functional.Tests
|
|
{
|
|
public partial class HttpClientHandler_ServerCertificates_Test : RemoteExecutorTestBase
|
|
{
|
|
private static bool ShouldSuppressRevocationException => false;
|
|
|
|
internal static bool BackendSupportsCustomCertificateHandling => true;
|
|
|
|
private static bool BackendDoesNotSupportCustomCertificateHandling => !BackendSupportsCustomCertificateHandling;
|
|
}
|
|
}
|