13 references to TestHandler2
Microsoft.AspNetCore.Components.Tests (13)
Routing\RouteTableFactoryTests.cs (13)
452[InlineData("/literal/value", "value", "literal", "literal/{parameter?}", typeof(TestHandler2))]
455[InlineData("/literal/value/other", "value/other", "literal /{parameter?}", "literal/{*parameter}", typeof(TestHandler2))]
463.AddRoute(second, typeof(TestHandler2))
769.AddRoute("/{some}/awesome/{route}/", typeof(TestHandler2))
787.AddRoute("/users/{id?}", typeof(TestHandler2))
805.AddRoute("/users/{id?}", typeof(TestHandler2))
849.AddRoute(second, typeof(TestHandler2))
884.AddRoute(second, typeof(TestHandler2));
911.AddRoute("/users/{id}/{location}", typeof(TestHandler2))
912.AddRoute("/users/1/{location}", typeof(TestHandler2))
964.AddRoute("/users/{id?}", typeof(TestHandler2))
973Assert.Equal(typeof(TestHandler2), context.Handler);
1072.AddRoute("/{unrelated}", typeof(TestHandler2))