51 references to HttpMockProvider
Microsoft.Extensions.Http.Diagnostics.Tests (51)
Latency\Internal\HttpClientLatencyLogEnricherTest.cs (6)
20
var lcti =
HttpMockProvider
.GetTokenIssuer();
23
var lc =
HttpMockProvider
.GetLatencyContext();
37
var lcti =
HttpMockProvider
.GetTokenIssuer();
40
var lc =
HttpMockProvider
.GetLatencyContext();
57
var lcti =
HttpMockProvider
.GetTokenIssuer();
60
var lc =
HttpMockProvider
.GetLatencyContext();
Latency\Internal\HttpLatencyTelemetryHandlerTest.cs (14)
24
var lc =
HttpMockProvider
.GetLatencyContext();
25
var lcp =
HttpMockProvider
.GetContextProvider(lc);
32
var lcti =
HttpMockProvider
.GetTokenIssuer();
33
var lcti2 =
HttpMockProvider
.GetTokenIssuer();
35
using var listener =
HttpMockProvider
.GetListener(context, lcti.Object);
45
var lc =
HttpMockProvider
.GetLatencyContext();
46
var lcp =
HttpMockProvider
.GetContextProvider(lc);
53
var lcti =
HttpMockProvider
.GetTokenIssuer();
54
var lcti2 =
HttpMockProvider
.GetTokenIssuer();
56
using var listener =
HttpMockProvider
.GetListener(context, lcti.Object);
87
var lc =
HttpMockProvider
.GetLatencyContext();
88
var lcp =
HttpMockProvider
.GetContextProvider(lc);
94
var lcti =
HttpMockProvider
.GetTokenIssuer();
96
using var listener =
HttpMockProvider
.GetListener(context, lcti.Object);
Latency\Internal\HttpRequestLatencyListenerTest.cs (31)
17
var lc =
HttpMockProvider
.GetLatencyContext();
28
var lcti =
HttpMockProvider
.GetTokenIssuer();
29
var lc =
HttpMockProvider
.GetLatencyContext();
33
using var listener =
HttpMockProvider
.GetListener(context, lcti.Object);
43
var lcti =
HttpMockProvider
.GetTokenIssuer();
44
var lc =
HttpMockProvider
.GetLatencyContext();
48
using var listener =
HttpMockProvider
.GetListener(context, lcti.Object);
51
using var es = new
HttpMockProvider
.MockEventSource();
56
using var esSockets = new
HttpMockProvider
.SockeyMockEventSource();
61
using var esHttp = new
HttpMockProvider
.HttpMockEventSource();
66
using var esNameRes = new
HttpMockProvider
.NameResolutionEventSource();
75
var lcti =
HttpMockProvider
.GetTokenIssuer();
76
var lc =
HttpMockProvider
.GetLatencyContext();
80
using var listener =
HttpMockProvider
.GetListener(context, lcti.Object);
84
using var es = new
HttpMockProvider
.MockEventSource();
93
var lcti =
HttpMockProvider
.GetTokenIssuer();
94
var lc =
HttpMockProvider
.GetLatencyContext();
98
using var listener =
HttpMockProvider
.GetListener(context, lcti.Object);
102
using var esSockets = new
HttpMockProvider
.SockeyMockEventSource();
107
using var esHttp = new
HttpMockProvider
.HttpMockEventSource();
112
using var esNameRes = new
HttpMockProvider
.NameResolutionEventSource();
121
var lcti =
HttpMockProvider
.GetTokenIssuer();
122
var lc =
HttpMockProvider
.GetLatencyContext();
126
using var listener =
HttpMockProvider
.GetListener(context, lcti.Object);
130
using var esSockets = new
HttpMockProvider
.SockeyMockEventSource();
143
var lcti =
HttpMockProvider
.GetTokenIssuer();
144
var lc =
HttpMockProvider
.GetLatencyContext();
148
using var listener =
HttpMockProvider
.GetListener(context, lcti.Object);
166
var lcti =
HttpMockProvider
.GetTokenIssuer();
167
var lc =
HttpMockProvider
.GetLatencyContext();
171
using var listener =
HttpMockProvider
.GetListener(context, lcti.Object);