13 instantiations of TestJsonOutputFormatter
Microsoft.AspNetCore.Mvc.Core.Test (13)
Infrastructure\ObjectResultExecutorTest.cs (13)
34
result.Formatters.Add(new
TestJsonOutputFormatter
());
59
result.Formatters.Add(new
TestJsonOutputFormatter
());
82
result.Formatters.Add(new
TestJsonOutputFormatter
()); // This will be chosen based on the content type
127
result.Formatters.Add(new
TestJsonOutputFormatter
());
149
result.Formatters.Add(new
TestJsonOutputFormatter
());
171
result.Formatters.Add(new
TestJsonOutputFormatter
());
196
result.Formatters.Add(new
TestJsonOutputFormatter
()); // This will be chosen based on the Accept Headers "application/json"
221
result.Formatters.Add(new
TestJsonOutputFormatter
());
243
result.Formatters.Add(new
TestJsonOutputFormatter
());
284
options.OutputFormatters.Add(new
TestJsonOutputFormatter
());
382
result.Formatters.Add(new
TestJsonOutputFormatter
());
419
result.Formatters.Add(new
TestJsonOutputFormatter
());
442
var formatter = new
TestJsonOutputFormatter
();
1 reference to TestJsonOutputFormatter
Microsoft.AspNetCore.Mvc.Core.Test (1)
Infrastructure\ObjectResultExecutorTest.cs (1)
442
var
formatter = new TestJsonOutputFormatter();