Cleanup HttpClient certificate tests
authorDavid Shulman <david.shulman@microsoft.com>
Sat, 2 Nov 2019 20:22:04 +0000 (13:22 -0700)
committerDavid Shulman <david.shulman@microsoft.com>
Sun, 3 Nov 2019 17:24:36 +0000 (09:24 -0800)
commitbe863f4aaa43e878c2e68a4dd481da8dabe48f1e
treeec147b110d98235e74c81891cac835425fca724b
parentbf0187b56cbf4241d5886570081870d3c769ca34
Cleanup HttpClient certificate tests

Some of the client certificate tests weren't running because they were conditioned on having
the "test root" installed. But that isn't needed for these tests.

Moved test to the loopback server. Also, cleaned up code which assumed the tests ran against
.NET Framework or UAP which isn't true anymore.

Commit migrated from https://github.com/dotnet/corefx/commit/a6c0e516956acd30bf412fc23bcb6b82cbb490ae
src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.ClientCertificates.cs