228 references to CreateHttpContext
Microsoft.AspNetCore.Http.Extensions.Tests (228)
RequestDelegateGenerator\CompileTimeCreationTests.cs (16)
32
var httpContext =
CreateHttpContext
();
44
var httpContext =
CreateHttpContext
();
146
var httpContext =
CreateHttpContext
();
182
var httpContext =
CreateHttpContext
();
359
var httpContext =
CreateHttpContext
();
383
var httpContext =
CreateHttpContext
();
409
var httpContext =
CreateHttpContext
();
457
var httpContext =
CreateHttpContext
();
474
var httpContext =
CreateHttpContext
();
501
var httpContext1 =
CreateHttpContext
();
508
var httpContext2 =
CreateHttpContext
();
549
var httpContext1 =
CreateHttpContext
();
554
var httpContext2 =
CreateHttpContext
();
593
var httpContext =
CreateHttpContext
();
612
var httpContext =
CreateHttpContext
();
779
var httpContext =
CreateHttpContext
();
RequestDelegateGenerator\CompileTimeCreationTests.Routes.cs (3)
25
var httpContext =
CreateHttpContext
();
48
var httpContext =
CreateHttpContext
();
77
var httpContext =
CreateHttpContext
();
RequestDelegateGenerator\RequestDelegateCreationTestBase.cs (1)
221
var httpContext =
CreateHttpContext
(serviceProvider);
RequestDelegateGenerator\RequestDelegateCreationTests.Arrays.cs (31)
35
var httpContext =
CreateHttpContext
();
56
var httpContext =
CreateHttpContext
();
77
var httpContext =
CreateHttpContext
();
98
var httpContext =
CreateHttpContext
();
171
var httpContext =
CreateHttpContext
();
196
var httpContext =
CreateHttpContext
();
217
var httpContext =
CreateHttpContext
();
238
var httpContext =
CreateHttpContext
();
259
var httpContext =
CreateHttpContext
();
279
var httpContext =
CreateHttpContext
();
300
var httpContext =
CreateHttpContext
();
321
var httpContext =
CreateHttpContext
();
343
var httpContext =
CreateHttpContext
();
365
var httpContext =
CreateHttpContext
();
386
var httpContext =
CreateHttpContext
();
408
var httpContext =
CreateHttpContext
();
429
var httpContext =
CreateHttpContext
();
451
var httpContext =
CreateHttpContext
();
472
var httpContext =
CreateHttpContext
();
494
var httpContext =
CreateHttpContext
();
515
var httpContext =
CreateHttpContext
();
537
var httpContext =
CreateHttpContext
();
558
var httpContext =
CreateHttpContext
();
580
var httpContext =
CreateHttpContext
();
600
var httpContext =
CreateHttpContext
();
621
var httpContext =
CreateHttpContext
();
648
var httpContext =
CreateHttpContext
();
675
var httpContext =
CreateHttpContext
();
702
var httpContext =
CreateHttpContext
();
729
var httpContext =
CreateHttpContext
();
758
var httpContext =
CreateHttpContext
();
RequestDelegateGenerator\RequestDelegateCreationTests.AsParameters.cs (9)
27
var httpContext =
CreateHttpContext
();
67
var httpContext =
CreateHttpContext
();
95
var httpContext =
CreateHttpContext
();
199
var httpContext =
CreateHttpContext
();
218
var httpContext =
CreateHttpContext
();
278
var httpContext =
CreateHttpContext
();
312
var httpContext =
CreateHttpContext
();
339
var httpContext =
CreateHttpContext
();
380
var httpContext =
CreateHttpContext
();
RequestDelegateGenerator\RequestDelegateCreationTests.BindAsync.cs (9)
56
var httpContext =
CreateHttpContext
();
77
var httpContext =
CreateHttpContext
();
98
var httpContext =
CreateHttpContext
();
128
var httpContext =
CreateHttpContext
();
176
var httpContext =
CreateHttpContext
();
194
var httpContext =
CreateHttpContext
();
209
var httpContext =
CreateHttpContext
();
265
var httpContext =
CreateHttpContext
();
326
var httpContext =
CreateHttpContext
();
RequestDelegateGenerator\RequestDelegateCreationTests.cs (22)
42
var httpContext =
CreateHttpContext
();
72
var httpContext =
CreateHttpContext
();
95
var httpContext =
CreateHttpContext
();
158
var httpContext =
CreateHttpContext
();
162
httpContext =
CreateHttpContext
();
166
httpContext =
CreateHttpContext
();
210
var httpContext =
CreateHttpContext
();
267
var httpContext =
CreateHttpContext
();
297
var httpContext =
CreateHttpContext
();
318
httpContext =
CreateHttpContext
();
324
httpContext =
CreateHttpContext
();
330
httpContext =
CreateHttpContext
();
393
var httpContext =
CreateHttpContext
();
411
var httpContext =
CreateHttpContext
();
430
var httpContext =
CreateHttpContext
();
456
var httpContext =
CreateHttpContext
();
482
var httpContext =
CreateHttpContext
();
503
var httpContext =
CreateHttpContext
();
528
var httpContext =
CreateHttpContext
();
553
var httpContext =
CreateHttpContext
();
582
var httpContext =
CreateHttpContext
();
624
var httpContext =
CreateHttpContext
(serviceProvider);
RequestDelegateGenerator\RequestDelegateCreationTests.Filters.cs (13)
32
var httpContext =
CreateHttpContext
();
61
var httpContext =
CreateHttpContext
();
97
var httpContext =
CreateHttpContext
();
139
var httpContext =
CreateHttpContext
();
181
var httpContext =
CreateHttpContext
();
223
var httpContext =
CreateHttpContext
();
297
var httpContext =
CreateHttpContext
();
338
var httpContext =
CreateHttpContext
();
401
var httpContext =
CreateHttpContext
();
458
var httpContext =
CreateHttpContext
();
524
var httpContext =
CreateHttpContext
();
548
var httpContext =
CreateHttpContext
();
615
var httpContext =
CreateHttpContext
();
RequestDelegateGenerator\RequestDelegateCreationTests.Forms.cs (26)
34
var httpContext =
CreateHttpContext
();
69
var httpContext =
CreateHttpContext
();
104
var httpContext =
CreateHttpContext
();
142
var httpContext =
CreateHttpContext
();
180
var httpContext =
CreateHttpContext
();
221
var httpContext =
CreateHttpContext
();
258
var httpContext =
CreateHttpContext
();
294
var httpContext =
CreateHttpContext
();
321
var httpContext =
CreateHttpContext
();
367
var httpContext =
CreateHttpContext
();
401
var httpContext =
CreateHttpContext
();
450
var httpContext =
CreateHttpContext
();
490
var httpContext =
CreateHttpContext
();
549
var httpContext =
CreateHttpContext
();
596
var httpContext =
CreateHttpContext
();
643
var httpContext =
CreateHttpContext
();
672
var httpContext =
CreateHttpContext
();
705
var httpContext =
CreateHttpContext
();
735
var httpContext =
CreateHttpContext
();
765
var httpContext =
CreateHttpContext
();
828
var httpContext =
CreateHttpContext
();
871
var httpContext =
CreateHttpContext
();
895
var httpContext =
CreateHttpContext
();
929
var httpContext =
CreateHttpContext
();
961
var httpContext =
CreateHttpContext
();
998
var httpContext =
CreateHttpContext
();
RequestDelegateGenerator\RequestDelegateCreationTests.JsonBody.cs (8)
84
var httpContext =
CreateHttpContext
();
104
var httpContext =
CreateHttpContext
();
226
var httpContext =
CreateHttpContext
();
266
var httpContext =
CreateHttpContext
();
307
var httpContext =
CreateHttpContext
();
348
var httpContext =
CreateHttpContext
();
397
var httpContext =
CreateHttpContext
();
425
var httpContext =
CreateHttpContext
();
RequestDelegateGenerator\RequestDelegateCreationTests.JsonBodyOrService.cs (3)
53
var httpContext =
CreateHttpContext
(serviceProvider);
197
var httpContext =
CreateHttpContext
(serviceProvider);
221
var httpContext =
CreateHttpContext
(serviceProvider);
RequestDelegateGenerator\RequestDelegateCreationTests.KeyServices.cs (11)
25
var httpContext =
CreateHttpContext
(serviceProvider);
71
var httpContext1 =
CreateHttpContext
(serviceProvider);
73
var httpContext2 =
CreateHttpContext
(serviceProvider);
91
var httpContext =
CreateHttpContext
(serviceProvider);
111
var httpContext =
CreateHttpContext
(serviceProvider);
126
var httpContext =
CreateHttpContext
();
142
var httpContext =
CreateHttpContext
();
168
var httpContext =
CreateHttpContext
(serviceProvider);
197
var httpContext =
CreateHttpContext
(serviceProvider);
224
var httpContext =
CreateHttpContext
(serviceProvider);
250
var httpContext =
CreateHttpContext
(serviceProvider);
RequestDelegateGenerator\RequestDelegateCreationTests.Logging.cs (14)
35
var httpContext =
CreateHttpContext
(serviceProvider);
97
var httpContext =
CreateHttpContext
();
148
var httpContext =
CreateHttpContext
();
185
var httpContext =
CreateHttpContext
();
220
var httpContext =
CreateHttpContext
();
267
var httpContext =
CreateHttpContext
();
300
var httpContext =
CreateHttpContext
();
347
var httpContext =
CreateHttpContext
();
383
var httpContext =
CreateHttpContext
();
480
var httpContext =
CreateHttpContext
();
516
var httpContext =
CreateHttpContext
();
557
var httpContext =
CreateHttpContext
();
596
var httpContext =
CreateHttpContext
();
636
var httpContext =
CreateHttpContext
();
RequestDelegateGenerator\RequestDelegateCreationTests.QueryParameters.cs (5)
48
var httpContext =
CreateHttpContext
();
99
var httpContext =
CreateHttpContext
();
120
var httpContext =
CreateHttpContext
();
136
var httpContext =
CreateHttpContext
();
177
var httpContext =
CreateHttpContext
();
RequestDelegateGenerator\RequestDelegateCreationTests.Responses.cs (24)
36
var httpContext =
CreateHttpContext
();
61
var httpContext =
CreateHttpContext
();
83
var httpContext =
CreateHttpContext
();
117
var httpContext =
CreateHttpContext
();
141
var httpContext =
CreateHttpContext
();
169
var httpContext =
CreateHttpContext
();
194
var httpContext =
CreateHttpContext
();
222
var httpContext =
CreateHttpContext
();
251
var httpContext =
CreateHttpContext
();
255
httpContext =
CreateHttpContext
();
311
var httpContext =
CreateHttpContext
(serviceProvider);
356
var httpContext =
CreateHttpContext
(serviceProvider);
387
var httpContext =
CreateHttpContext
(serviceProvider);
406
var httpContext =
CreateHttpContext
();
463
var httpContext =
CreateHttpContext
();
484
var httpContext =
CreateHttpContext
();
565
var httpContext =
CreateHttpContext
();
645
var httpContext =
CreateHttpContext
();
668
var httpContext =
CreateHttpContext
();
756
var httpContext =
CreateHttpContext
();
775
var httpContext =
CreateHttpContext
();
833
var httpContext =
CreateHttpContext
();
889
var httpContext =
CreateHttpContext
();
973
var httpContext =
CreateHttpContext
();
RequestDelegateGenerator\RequestDelegateCreationTests.RouteParameter.cs (7)
50
var httpContext =
CreateHttpContext
();
110
var httpContext =
CreateHttpContext
();
134
var httpContext =
CreateHttpContext
();
151
var httpContext =
CreateHttpContext
();
185
var httpContext =
CreateHttpContext
();
201
var httpContext =
CreateHttpContext
();
225
var httpContext =
CreateHttpContext
();
RequestDelegateGenerator\RequestDelegateCreationTests.SpecialTypes.cs (8)
36
var httpContext =
CreateHttpContext
();
56
var httpContext =
CreateHttpContext
();
79
var httpContext =
CreateHttpContext
();
99
var httpContext =
CreateHttpContext
();
118
var httpContext =
CreateHttpContext
();
142
var httpContext =
CreateHttpContext
();
246
var httpContext =
CreateHttpContext
();
278
var httpContext =
CreateHttpContext
();
RequestDelegateGenerator\RequestDelegateCreationTests.TryParse.cs (9)
74
var httpContext =
CreateHttpContext
();
114
var httpContext =
CreateHttpContext
();
146
var httpContext =
CreateHttpContext
();
172
var httpContext =
CreateHttpContext
();
195
var httpContext =
CreateHttpContext
();
211
var httpContext =
CreateHttpContext
();
236
var httpContext =
CreateHttpContext
();
256
var httpContext =
CreateHttpContext
();
276
var httpContext =
CreateHttpContext
();
RequestDelegateGenerator\RuntimeCreationTests.ComplexFormBinding.cs (7)
22
var httpContext =
CreateHttpContext
();
54
var httpContext =
CreateHttpContext
();
90
var httpContext =
CreateHttpContext
();
123
var httpContext =
CreateHttpContext
();
160
var httpContext =
CreateHttpContext
();
199
var httpContext =
CreateHttpContext
();
232
var httpContext =
CreateHttpContext
();
RequestDelegateGenerator\RuntimeCreationTests.cs (2)
39
var httpContext =
CreateHttpContext
();
53
var httpContext =
CreateHttpContext
();