Lines Matching refs:HttpRequestMessage

56             await handler.TestSendAsync(new HttpRequestMessage(), CancellationToken.None);  in SendAsync_CallMethod_ProcessRequestAndProcessResponseCalled()
68 … Assert.ThrowsAsync<MockException>(() => handler.TestSendAsync(new HttpRequestMessage(), Cancellat… in SendAsync_InnerHandlerThrows_ThrowWithoutCallingProcessRequest()
80 …wsAsync<InvalidOperationException>(() => handler.TestSendAsync(new HttpRequestMessage(), Cancellat… in SendAsync_InnerHandlerReturnsNullResponse_ThrowInvalidOperationExceptionWithoutCallingProcessRequest()
95 … Assert.ThrowsAsync<MockException>(() => handler.TestSendAsync(new HttpRequestMessage(), Cancellat… in SendAsync_ProcessRequestThrows_ThrowWithoutCallingProcessRequestNorInnerHandler()
110 … Assert.ThrowsAsync<MockException>(() => handler.TestSendAsync(new HttpRequestMessage(), Cancellat… in SendAsync_ProcessResponseThrows_TaskIsFaulted()
127 …ThrowsAsync<TaskCanceledException>(() => handler.TestSendAsync(new HttpRequestMessage(), cts.Token… in SendAsync_OperationCanceledWhileInnerHandlerIsWorking_TaskSetToIsCanceled()
142 …ThrowsAsync<TaskCanceledException>(() => handler.TestSendAsync(new HttpRequestMessage(), cts.Token… in SendAsync_OperationCanceledWhileProcessRequestIsExecuted_TaskSetToIsCanceled()
155 …ThrowsAsync<TaskCanceledException>(() => handler.TestSendAsync(new HttpRequestMessage(), cts.Token… in SendAsync_OperationCanceledWhileProcessResponseIsExecuted_TaskSetToIsCanceled()
169 …sAsync<OperationCanceledException>(() => handler.TestSendAsync(new HttpRequestMessage(), cts.Token… in SendAsync_ProcessRequestThrowsOperationCanceledExceptionNotBoundToCts_TaskSetToIsFaulted()
185 …sAsync<OperationCanceledException>(() => handler.TestSendAsync(new HttpRequestMessage(), cts.Token… in SendAsync_ProcessResponseThrowsOperationCanceledExceptionNotBoundToCts_TaskSetToIsFaulted()
202 …sAsync<OperationCanceledException>(() => handler.TestSendAsync(new HttpRequestMessage(), cts.Token… in SendAsync_ProcessRequestThrowsOperationCanceledExceptionUsingOtherCts_TaskSetToIsFaulted()
219 …sAsync<OperationCanceledException>(() => handler.TestSendAsync(new HttpRequestMessage(), cts.Token… in SendAsync_ProcessResponseThrowsOperationCanceledExceptionUsingOtherCts_TaskSetToIsFaulted()
258 …public Task<HttpResponseMessage> TestSendAsync(HttpRequestMessage request, CancellationToken cance… in TestSendAsync()
263 protected override HttpRequestMessage ProcessRequest(HttpRequestMessage request, in ProcessRequest()
319 protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, in SendAsync()