Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Update the disabled test with the new bug numbers #28036

Merged
merged 1 commit into from
Mar 15, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public async Task HttpClientHandler_Authentication_Succeeds(string authenticateH
{
if (PlatformDetection.IsWindowsNanoServer || (IsCurlHandler && authenticateHeader.ToLowerInvariant().Contains("digest")))
{
// TODO: #27113: Fix failing authentication test cases on different httpclienthandlers.
// TODO: #28065: Fix failing authentication test cases on different httpclienthandlers.
return;
}

Expand All @@ -63,7 +63,7 @@ public async void HttpClientHandler_MultipleAuthenticateHeaders_WithSameAuth_Suc
{
if (IsWinHttpHandler)
{
// TODO: #27113: Fix failing authentication test cases on different httpclienthandlers.
// TODO: #28065: Fix failing authentication test cases on different httpclienthandlers.
return;
}

Expand All @@ -77,7 +77,7 @@ public async Task HttpClientHandler_MultipleAuthenticateHeaders_Succeeds(string
{
if (PlatformDetection.IsWindowsNanoServer || (IsCurlHandler && authenticateHeader.Contains("Digest")))
{
// TODO: #27113: Fix failing authentication test cases on different httpclienthandlers.
// TODO: #28065: Fix failing authentication test cases on different httpclienthandlers.
return;
}

Expand Down Expand Up @@ -114,7 +114,7 @@ public static IEnumerable<object[]> Authentication_TestData()
yield return new object[] { "basic", true };

// Add digest tests fail on CurlHandler.
// TODO: #27113: Fix failing authentication test cases on different httpclienthandlers.
// TODO: #28065: Fix failing authentication test cases on different httpclienthandlers.
yield return new object[] { "Digest realm=\"testrealm\" nonce=\"testnonce\"", false };
yield return new object[] { $"Digest realm=\"testrealm\", nonce=\"{Convert.ToBase64String(Encoding.UTF8.GetBytes($"{DateTimeOffset.UtcNow}:XMh;z+$5|`i6Hx}}\", qop=auth-int, algorithm=MD5"))}\"", true };
yield return new object[] { "Digest realm=\"api@example.org\", qop=\"auth\", algorithm=MD5-sess, nonce=\"5TsQWLVdgBdmrQ0XsxbDODV+57QdFR34I9HAbC/RVvkK\", " +
Expand All @@ -126,8 +126,7 @@ public static IEnumerable<object[]> Authentication_TestData()

if (PlatformDetection.IsNetCore)
{
// These fail on full framework runs.
// TODO: #27113: Fix failing authentication test cases on different httpclienthandlers.
// TODO: #28060: Fix failing authentication test cases on Framework run.
yield return new object[] { "Digest realm=\"testrealm1\", nonce=\"testnonce1\" Digest realm=\"testrealm2\", nonce=\"testnonce2\"", false };
yield return new object[] { "Basic something, Digest something", false };
yield return new object[] { $"Digest realm=\"testrealm\", nonce=\"testnonce\", algorithm=MD5 " +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ public async void SocketsHttpHandler_Authentication_Succeeds(string authenticate
public static IEnumerable<object[]> Authentication_SocketsHttpHandler_TestData()
{
// These test cases pass on SocketsHttpHandler, fail everywhere else.
// TODO: #27113: Fix failing authentication test cases on different httpclienthandlers.
// TODO: #28065: Investigate failing authentication test cases on WinHttpHandler & CurlHandler.
yield return new object[] { "Basic realm=\"testrealm1\" basic realm=\"testrealm1\"", true };
yield return new object[] { "Basic something digest something", true };
yield return new object[] { "Digest ", false };
Expand Down