14 references to Path
Microsoft.AspNetCore.Diagnostics.Middleware (1)
Logging\HttpLoggingTagNames.cs (1)
69
Path
,
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (13)
Logging\AcceptanceTests.cs (6)
190
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Path
&& x.Value == TelemetryConstants.Unknown);
250
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Path
&& x.Value == TelemetryConstants.Unknown);
322
Assert.Single(requestState, x => x.Key == HttpLoggingTagNames.
Path
&& x.Value == TelemetryConstants.Unknown);
378
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Path
&& x.Value == TelemetryConstants.Unknown);
463
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Path
&& x.Value == RequestPath);
584
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Path
&& x.Value == TelemetryConstants.Unknown);
Logging\AcceptanceTests.Mvc.cs (5)
82
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Path
&& x.Value == redactedPath);
120
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Path
&& x.Value == ActionRouteTemplate);
172
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Path
&& x.Value == expectedPath);
207
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Path
&& x.Value == $"/api/users/testUserId/someTestData");
250
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Path
&& x.Value == expectedPath);
Logging\AcceptanceTests.Routing.cs (2)
139
Assert.Equal(expectedHttpPath, state[HttpLoggingTagNames.
Path
]);
177
Assert.Equal(httpRoute, state[HttpLoggingTagNames.
Path
]);