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"
224
result.Formatters.Add(new
TestJsonOutputFormatter
());
267
result.Formatters.Add(new
TestJsonOutputFormatter
());
308
options.OutputFormatters.Add(new
TestJsonOutputFormatter
());
406
result.Formatters.Add(new
TestJsonOutputFormatter
());
443
result.Formatters.Add(new
TestJsonOutputFormatter
());
466
var formatter = new
TestJsonOutputFormatter
();
1 reference to TestJsonOutputFormatter
Microsoft.AspNetCore.Mvc.Core.Test (1)
Infrastructure\ObjectResultExecutorTest.cs (1)
466
var
formatter = new TestJsonOutputFormatter();