31 references to GetHttpContext
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (31)
NewtonsoftJsonInputFormatterTest.cs (8)
161
var httpContext =
GetHttpContext
(contentBytes, "application/json;charset=utf-8");
238
var httpContext =
GetHttpContext
(contentBytes);
263
var httpContext =
GetHttpContext
(contentBytes);
293
var httpContext =
GetHttpContext
(contentBytes);
326
var httpContext =
GetHttpContext
(contentBytes);
358
var httpContext =
GetHttpContext
(contentBytes);
389
var httpContext =
GetHttpContext
(contentBytes);
420
var httpContext =
GetHttpContext
(contentBytes);
src\Mvc\Mvc.Core\test\Formatters\JsonInputFormatterTestBase.cs (23)
39
var httpContext =
GetHttpContext
(contentBytes, contentType: requestContentType);
71
var httpContext =
GetHttpContext
(contentBytes);
92
var httpContext =
GetHttpContext
(contentBytes);
113
var httpContext =
GetHttpContext
(contentBytes, "application/json;charset=utf-16");
137
var httpContext =
GetHttpContext
(contentBytes);
165
var httpContext =
GetHttpContext
(contentBytes);
192
var httpContext =
GetHttpContext
(contentBytes);
219
var httpContext =
GetHttpContext
(contentBytes);
240
var httpContext =
GetHttpContext
(contentBytes);
262
var httpContext =
GetHttpContext
(contentBytes);
294
var httpContext =
GetHttpContext
(contentBytes);
315
var httpContext =
GetHttpContext
(contentBytes);
342
var httpContext =
GetHttpContext
(contentBytes);
368
var httpContext =
GetHttpContext
(contentBytes);
394
var httpContext =
GetHttpContext
(contentBytes);
421
var httpContext =
GetHttpContext
(contentBytes);
451
var httpContext =
GetHttpContext
(contentBytes);
475
var httpContext =
GetHttpContext
(contentBytes);
501
var httpContext =
GetHttpContext
(contentBytes);
525
var httpContext =
GetHttpContext
(contentBytes);
545
var httpContext =
GetHttpContext
(contentBytes);
568
var httpContext =
GetHttpContext
(contentBytes);
592
var httpContext =
GetHttpContext
(contentBytes);