37 references to CreateVirtualPathContext
Microsoft.AspNetCore.Routing.Tests (37)
Tree\TreeRouterTest.cs (37)
811var context = CreateVirtualPathContext( 833var context = CreateVirtualPathContext( 866var context = CreateVirtualPathContext( 898var context = CreateVirtualPathContext( 935var context = CreateVirtualPathContext(values: null, ambientValues: new { parameter = 5 }); 970context = CreateVirtualPathContext(values: null, ambientValues: new { parameter = parameter }); 974context = CreateVirtualPathContext(values: null, ambientValues: null); 1018var context = CreateVirtualPathContext(null, ambientValues: new { parameter = 5 }); 1048var context = CreateVirtualPathContext(values: null, ambientValues: new { first = 5, second = 5 }); 1078var context = CreateVirtualPathContext(values: null, ambientValues: new { first = 5, second = 5 }); 1100var context = CreateVirtualPathContext(values: null, ambientValues: null); 1136var context = CreateVirtualPathContext(values: null, ambientValues: null, name: "NamedRoute"); 1163var context = CreateVirtualPathContext(values: null, ambientValues: null, name: "NonExistingNamedRoute"); 1193var context = CreateVirtualPathContext(values: null, ambientValues: ambientValues, name: "NamedRoute"); 1222var context = CreateVirtualPathContext(values: null, ambientValues: ambientValues, name: "NamedRoute"); 1242var context = CreateVirtualPathContext(new { }); 1262var context = CreateVirtualPathContext(new { action = "Index", controller = "Store" }); 1282var context = CreateVirtualPathContext(new { action = "Index", controller = "Store" }); 1299var context = CreateVirtualPathContext(new { }, new { action = "Index", controller = "Store" }); 1319var context = CreateVirtualPathContext(new { page = "/Customers/SeparatePageModels/Index" }, new { page = "/Customers/SeparatePageModels/Edit", id = "17" }); 1339var context = CreateVirtualPathContext(new { action = "Index", controller = "Store" }); 1362var context = CreateVirtualPathContext( 1384var context = CreateVirtualPathContext(new { action = "Index", controller = "Store" }); 1405var context = CreateVirtualPathContext(new { action = "Index", controller = "Store", id = 5 }); 1426var context = CreateVirtualPathContext(new { action = "Index", controller = "Store", id = "heyyyy" }); 1443var context = CreateVirtualPathContext(new { action = "Index" }, new { controller = "Store" }); 1463var context = CreateVirtualPathContext(new { action = "Index", id = 5 }, new { controller = "Store" }); 1485var context = CreateVirtualPathContext(new { action = "Index", controller = "Blog" }); 1510var context = CreateVirtualPathContext(new { area = "Help", action = "Edit", controller = "Store" }); 1535var context = CreateVirtualPathContext(new { area = "Help", action = "Edit", controller = "Store" }); 1560var context = CreateVirtualPathContext( 1587var context = CreateVirtualPathContext( 1683var context = CreateVirtualPathContext(values, ambientValues); 1906var context = CreateVirtualPathContext(new { area = (string)null, action = "Edit", controller = "Store" }); 1928var context = CreateVirtualPathContext(new { area = "", action = "Edit", controller = "Store" }); 1950var context = CreateVirtualPathContext(new { foo = (string)null, action = "Edit", controller = "Store" }); 1972var context = CreateVirtualPathContext(new { foo = "", action = "Edit", controller = "Store" });