8 references to AssertRequestDuration
Microsoft.AspNetCore.Hosting.Tests (8)
HostingMetricsTests.cs (8)
45m => AssertRequestDuration(m, "1.1", StatusCodes.Status200OK));
59m => AssertRequestDuration(m, "1.1", StatusCodes.Status200OK),
60m => AssertRequestDuration(m, "2", StatusCodes.Status500InternalServerError, exceptionName: "System.InvalidOperationException"));
75m => AssertRequestDuration(m, "1.1", StatusCodes.Status200OK),
76m => AssertRequestDuration(m, "2", StatusCodes.Status500InternalServerError, exceptionName: "System.InvalidOperationException"));
88m => AssertRequestDuration(m, "1.1", StatusCodes.Status200OK),
89m => AssertRequestDuration(m, "2", StatusCodes.Status500InternalServerError, exceptionName: "System.InvalidOperationException"),
90m => AssertRequestDuration(m, "3", StatusCodes.Status404NotFound, unhandledRequest: true));