43 references to TestRouteTableBuilder
Microsoft.AspNetCore.Components.Tests (43)
Routing\RouteTableFactoryTests.cs (43)
173var routeTable = new TestRouteTableBuilder().AddRoute("/").Build(); 187var routeTable = new TestRouteTableBuilder().AddRoute("/literal").Build(); 201var routeTable = new TestRouteTableBuilder().AddRoute("/some/awesome/route/").Build(); 215var routeTable = new TestRouteTableBuilder().AddRoute("/some/AWESOME/route/").Build(); 229var routeTable = new TestRouteTableBuilder().AddRoute("/some/ünicõdē/🛣/").Build(); 243var routeTable = new TestRouteTableBuilder().AddRoute("/some/AWESOME/route/").Build(); 265var routeTable = new TestRouteTableBuilder().AddRoute(template).Build(); 281var routeTable = new TestRouteTableBuilder().AddRoute("/some/awesome/route/").Build(); 300var routeTable = new TestRouteTableBuilder().AddRoute("/{parameter}").Build(); 317var routeTable = new TestRouteTableBuilder().AddRoute("/blog/{*parameter}").Build(); 332var routeTable = new TestRouteTableBuilder().AddRoute("/{some}/awesome/{route}/").Build(); 353var routeTable = new TestRouteTableBuilder().AddRoute("/{some}/awesome/{route}/with/{*catchAll}").Build(); 391var routeTable = new TestRouteTableBuilder().AddRoute(template).Build(); 415var builder = new TestRouteTableBuilder() 461var table = new TestRouteTableBuilder() 485var table = new TestRouteTableBuilder() 505var table = new TestRouteTableBuilder() 525var table = new TestRouteTableBuilder() 549var table = new TestRouteTableBuilder() 583var table = new TestRouteTableBuilder() 621var table = new TestRouteTableBuilder() 643var table = new TestRouteTableBuilder() 664var routeTable = new TestRouteTableBuilder().AddRoute(template).Build(); 694var routeTable = new TestRouteTableBuilder().AddRoute(template).Build(); 720var routeTable = new TestRouteTableBuilder().AddRoute(template).Build(); 750var routeTable = new TestRouteTableBuilder().AddRoute(template).Build(); 767var routeTable = new TestRouteTableBuilder() 785var routeTable = new TestRouteTableBuilder() 803Assert.Throws<InvalidOperationException>(() => new TestRouteTableBuilder() 821Assert.Throws<RoutePatternException>(() => new TestRouteTableBuilder() 836Assert.Throws<InvalidOperationException>(() => new TestRouteTableBuilder() 847var exception = Assert.Throws<InvalidOperationException>(() => new TestRouteTableBuilder() 882var builder = new TestRouteTableBuilder() 900Assert.Throws<RoutePatternException>(() => new TestRouteTableBuilder() 909var routeTable = new TestRouteTableBuilder() 930var routeTable = new TestRouteTableBuilder() 942var routeTable = new TestRouteTableBuilder() 962var routeTable = new TestRouteTableBuilder() 982var routeTable = new TestRouteTableBuilder() 995var builder = new TestRouteTableBuilder(); 1044var exception = Assert.Throws<InvalidOperationException>(() => new TestRouteTableBuilder() 1060new TestRouteTableBuilder() 1071var routeTable = new TestRouteTableBuilder()