Imported Upstream version 6.8.0.80

Former-commit-id: 6c79e92bc868a64c146c9562ab817ef0ea9053a4
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2019-12-19 08:39:53 +00:00
parent 3d05ea281d
commit 665300eaa7
147 changed files with 450 additions and 3962 deletions

View File

@@ -0,0 +1,10 @@
using Xunit;
namespace System.Net.Http.Functional.Tests
{
[SkipOnTargetFramework(TargetFrameworkMonikers.NetFramework, "NetEventSource is only part of .NET Core.")]
[SkipOnTargetFramework(TargetFrameworkMonikers.Mono, "NetEventSource is only part of .NET Core.")]
public abstract class DiagnosticsTest : HttpClientTestBase
{
}
}

View File

@@ -0,0 +1,9 @@
using Xunit;
namespace System.Net.Http.Functional.Tests
{
[SkipOnTargetFramework(TargetFrameworkMonikers.Mono, "We don't support BrotliStream yet.")]
public abstract class HttpClientHandler_Decompression_Test : HttpClientTestBase
{
}
}

View File

@@ -2,16 +2,15 @@ thisdir = class/System.Net.Http/FunctionalTests
SUBDIRS =
include ../../../build/rules.make
ASSEMBLY = System.Net.Http.FunctionalTests
LIBRARY = System.Net.Http.FunctionalTests.dll
NO_BUILD = yes
NO_INSTALL = yes
XTEST_LIB_REFS = System System.Core Facades/System.Threading.Tasks
XTEST_LIB_REFS = System System.Core Facades/System.Threading.Tasks System.Net.Http
USE_XTEST_REMOTE_EXECUTOR = YES
XTEST_LIB_FLAGS = /resource:../../System/Test/TestData/testservereku.contoso.com.pfx
the_assembly = $(topdir)/class/lib/$(PROFILE_DIRECTORY)/System.Net.Http.dll
include ../../../build/tests.make
include ../../../build/library.make
TEST_RUNTIME := MONO_URI_DOTNETRELATIVEORABSOLUTE=true $(TEST_RUNTIME)

View File

@@ -0,0 +1 @@
#include legacy-test.sources

View File

@@ -0,0 +1,43 @@
../../test-helpers/Configuration.Certificates.cs
../../test-helpers/Configuration.Http.cs
../../test-helpers/NetworkStreamHelper.cs
../corefx/Interop.VersionInfo.cs
../corefx/PlatformDetection.cs
# Common Sources
../../../../external/corefx/src/Common/tests/System/Net/Configuration.Http.cs
# Test Utitities
../../../../external/corefx/src/CoreFx.Private.TestUtilities/src/System/AssertExtensions.cs
../../../../external/corefx/src/CoreFx.Private.TestUtilities/src/System/TestEnvironment.cs
../../../../external/corefx/src/CoreFx.Private.TestUtilities/src/System/TheoryExtensions.cs
# Common Test Sources
../../../../external/corefx/src/Common/tests/System/Buffers/NativeMemoryManager.cs
../../../../external/corefx/src/Common/tests/System/Diagnostics/Tracing/TestEventListener.cs
../../../../external/corefx/src/Common/tests/System/Diagnostics/Tracing/ConsoleEventListener.cs
../../../../external/corefx/src/Common/tests/System/IO/DelegateStream.cs
../../../../external/corefx/src/Common/tests/System/Net/RemoteServerQuery.cs
../../../../external/corefx/src/Common/tests/System/Net/EventSourceTestLogging.cs
../../../../external/corefx/src/Common/tests/System/Net/HttpsTestServer.cs
../../../../external/corefx/src/Common/tests/System/Net/Capability.Security.cs
../../../../external/corefx/src/Common/tests/System/Net/Configuration.cs
../../../../external/corefx/src/Common/tests/System/Net/Configuration.Http.cs
../../../../external/corefx/src/Common/tests/System/Net/Configuration.Security.cs
../../../../external/corefx/src/Common/tests/System/Net/TestWebProxies.cs
../../../../external/corefx/src/Common/tests/System/Net/VerboseTestLogging.cs
../../../../external/corefx/src/Common/tests/System/Net/Http/LoopbackServer.cs
../../../../external/corefx/src/Common/tests/System/Net/Http/LoopbackServer.AuthenticationHelpers.cs
../../../../external/corefx/src/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs
# System.Net.Http FunctionalTests
../../../../external/corefx/src/System.Net.Http/tests/FunctionalTests/*.cs:MultiInterfaceReadOnlyStream.cs,MultiInterfaceNonRewindableReadOnlyStream.cs,HttpClientHandlerTest.ServerCertificates.Windows.cs,HttpClientHandlerTest.SslProtocols.Windows.cs,HttpClientHandlerTest.Decompression.cs,PostScenarioUWPTest.cs,DiagnosticsTests.cs,FakeDiagnosticSourceListenerObserver.cs,PlatformHandlerTest.cs
# Stubbed out
DiagnosticsTests.cs
HttpClientHandlerTest.Decompression.cs

View File

@@ -0,0 +1 @@
#include functional-tests.sources

View File

@@ -0,0 +1 @@
#include functional-tests.sources

View File

@@ -0,0 +1 @@
#include functional-tests.sources