87 references to HttpResponseMessage
InMemory.FunctionalTests (1)
Microsoft.AspNetCore.Authentication.Test (12)
Microsoft.AspNetCore.InternalTesting (1)
Microsoft.AspNetCore.SignalR.Client.Tests (6)
Microsoft.AspNetCore.Testing.Tests (3)
Microsoft.Build.Tasks.UnitTests (11)
DownloadFile_Tests.cs (11)
38HttpMessageHandler = new MockHttpMessageHandler((message, token) => new HttpResponseMessage(HttpStatusCode.OK)
67HttpMessageHandler = new MockHttpMessageHandler((message, token) => new HttpResponseMessage(HttpStatusCode.OK)
92using HttpResponseMessage response = new HttpResponseMessage(HttpStatusCode.OK)
146HttpMessageHandler = new MockHttpMessageHandler((message, token) => new HttpResponseMessage(HttpStatusCode.OK)
186HttpMessageHandler = new MockHttpMessageHandler((message, token) => new HttpResponseMessage(HttpStatusCode.NotFound)),
210HttpMessageHandler = new MockHttpMessageHandler((message, token) => new HttpResponseMessage(HttpStatusCode.OK)
241HttpMessageHandler = new MockHttpMessageHandler((message, token) => new HttpResponseMessage(HttpStatusCode.RequestTimeout)),
290return new HttpResponseMessage(HttpStatusCode.InternalServerError);
293return new HttpResponseMessage(HttpStatusCode.OK)
323HttpMessageHandler = new MockHttpMessageHandler((message, token) => new HttpResponseMessage(HttpStatusCode.OK)
352HttpMessageHandler = new MockHttpMessageHandler((message, token) => new HttpResponseMessage(HttpStatusCode.OK)
Microsoft.DotNet.Build.Tasks.Feed.Tests (19)
Microsoft.DotNet.Helix.Sdk.Tests (16)
Microsoft.Extensions.Http.Diagnostics.Tests (5)
Microsoft.Extensions.Http.Polly.Tests (4)
Microsoft.Extensions.Http.Resilience.Tests (8)
System.Net.Http (1)