1 write to Client
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
JsonOutputFormatterTestBase.cs (1)
28
Client
= Factory.CreateDefaultClient();
16 references to Client
Microsoft.AspNetCore.Mvc.FunctionalTests (16)
JsonOutputFormatterTestBase.cs (11)
56
var response = await
Client
.SendAsync(request);
81
var response = await
Client
.GetAsync($"/JsonOutputFormatter/{nameof(JsonOutputFormatterController.IntResult)}");
92
var response = await
Client
.GetAsync($"/JsonOutputFormatter/{nameof(JsonOutputFormatterController.StringResult)}");
103
var response = await
Client
.GetAsync($"/JsonOutputFormatter/{nameof(JsonOutputFormatterController.StringWithUnicodeResult)}");
114
var response = await
Client
.GetAsync($"/JsonOutputFormatter/{nameof(JsonOutputFormatterController.StringWithNonAsciiContent)}");
128
var response = await
Client
.GetAsync($"/JsonOutputFormatter/{nameof(JsonOutputFormatterController.SimpleModelResult)}");
142
var response = await
Client
.GetAsync($"/JsonOutputFormatter/{nameof(JsonOutputFormatterController.CollectionModelResult)}");
156
var response = await
Client
.GetAsync($"/JsonOutputFormatter/{nameof(JsonOutputFormatterController.DictionaryResult)}");
171
var response = await
Client
.GetAsync($"/JsonOutputFormatter/{nameof(JsonOutputFormatterController.LargeObjectResult)}");
184
var response = await
Client
.GetAsync($"/JsonOutputFormatter/{nameof(JsonOutputFormatterController.ProblemDetailsResult)}");
203
var response = await
Client
.GetAsync($"/JsonOutputFormatter/{nameof(JsonOutputFormatterController.PolymorphicResult)}");
NewtonsoftJsonOutputFormatterTest.cs (2)
31
var response = await
Client
.GetAsync("http://localhost/JsonFormatter/ReturnsIndentedJson");
43
var response = await
Client
.GetAsync($"/JsonOutputFormatter/{nameof(JsonOutputFormatterController.SimpleModelResult)}");
SystemTextJsonOutputFormatterTest.cs (3)
20
var response = await
Client
.GetAsync($"/JsonOutputFormatter/{nameof(JsonOutputFormatterController.StringWithUnicodeResult)}");
62
var response = await
Client
.GetAsync($"/SystemTextJsonOutputFormatter/{nameof(SystemTextJsonOutputFormatterController.PolymorphicResult)}");
77
var response = await
Client
.GetAsync($"/SystemTextJsonOutputFormatter/{nameof(SystemTextJsonOutputFormatterController.AsyncEnumerable)}");