16 references to TestHandler1
Microsoft.AspNetCore.Components.Tests (16)
Routing\RouteTableFactoryTests.cs (16)
451[InlineData("/literal", null, "literal", "literal/{parameter?}", typeof(TestHandler1))]
453[InlineData("/literal", null, "literal/{parameter?}", "literal/{*parameter}", typeof(TestHandler1))]
454[InlineData("/literal/value", "value", "literal/{parameter?}", "literal/{*parameter}", typeof(TestHandler1))]
462.AddRoute(first, typeof(TestHandler1))
768.AddRoute("/an/awesome/path", typeof(TestHandler1))
786.AddRoute("/users/1", typeof(TestHandler1))
804.AddRoute("/users/{id}", typeof(TestHandler1))
848.AddRoute(first, typeof(TestHandler1))
883.AddRoute(first, typeof(TestHandler1))
910.AddRoute("/users/1/friends", typeof(TestHandler1))
921Assert.Equal(typeof(TestHandler1), context.Handler);
963.AddRoute("/{anythingGoes}", typeof(TestHandler1))
1073.AddRoute("/products/{param2}/{PaRam1}", typeof(TestHandler1))
1074.AddRoute("/products/{param1:int}", typeof(TestHandler1))
1075.AddRoute("/", typeof(TestHandler1))
1110Assert.Same(typeof(TestHandler1), context.Handler);