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