ApplicationModels\AttributeRouteModelTests.cs (107)
362data.Add(Create(template: "/", order: null, name: null), null, null);
363data.Add(Create(template: "~/", order: null, name: null), null, null);
364data.Add(Create(template: "", order: null, name: null), null, null);
365data.Add(Create(template: "home", order: null, name: null), null, null);
366data.Add(Create(template: "/", order: 1, name: null), null, null);
367data.Add(Create(template: "~/", order: 1, name: null), null, null);
368data.Add(Create(template: "", order: 1, name: null), null, null);
369data.Add(Create(template: "home", order: 1, name: null), null, null);
372data.Add(Create(template: "/", order: null, name: "Named"), null, "Named");
373data.Add(Create(template: "~/", order: null, name: "Named"), null, "Named");
374data.Add(Create(template: "", order: null, name: "Named"), null, "Named");
375data.Add(Create(template: "home", order: null, name: "Named"), null, "Named");
376data.Add(Create(template: "home", order: null, name: "Named"), Create(null, null, null), "Named");
377data.Add(Create(template: "", order: null, name: "Named"), Create("", null, null), "Named");
380data.Add(Create(template: "", order: null, name: "Named"), Create("", 1, null), "Named");
381data.Add(Create(template: "", order: 1, name: "Named"), Create("", 1, null), "Named");
382data.Add(Create(template: "", order: 2, name: "Named"), Create("", 1, null), "Named");
383data.Add(Create(template: "", order: null, name: "Named"), Create("index", 1, null), null);
384data.Add(Create(template: "", order: 1, name: "Named"), Create("index", 1, null), null);
385data.Add(Create(template: "", order: 2, name: "Named"), Create("index", 1, null), null);
386data.Add(Create(template: "", order: null, name: "Named"), Create("", 1, "right"), "right");
387data.Add(Create(template: "", order: 1, name: "Named"), Create("", 1, "right"), "right");
388data.Add(Create(template: "", order: 2, name: "Named"), Create("", 1, "right"), "right");
391data.Add(Create(template: "/", order: null, name: "Named"), Create(null, null, "right"), "right");
392data.Add(Create(template: "~/", order: null, name: "Named"), Create(null, null, "right"), "right");
393data.Add(Create(template: "", order: null, name: "Named"), Create(null, null, "right"), "right");
394data.Add(Create(template: "home", order: null, name: "Named"), Create(null, null, "right"), "right");
395data.Add(Create(template: "home", order: null, name: "Named"), Create("index", null, null), null);
396data.Add(Create(template: "home", order: null, name: "Named"), Create("/", null, null), null);
397data.Add(Create(template: "home", order: null, name: "Named"), Create("~/", null, null), null);
398data.Add(Create(template: "home", order: null, name: "Named"), Create("index", null, "right"), "right");
399data.Add(Create(template: "home", order: null, name: "Named"), Create("/", null, "right"), "right");
400data.Add(Create(template: "home", order: null, name: "Named"), Create("~/", null, "right"), "right");
401data.Add(Create(template: "home", order: null, name: "Named"), Create("index", null, ""), "");
414data.Add(Create("", order: 1), Create("", order: 2), 2);
415data.Add(Create("", order: 1), Create("", order: null), 1);
416data.Add(Create("", order: 1), null, 1);
417data.Add(Create("", order: 1), Create("/", order: 2), 2);
418data.Add(Create("", order: 1), Create("/", order: null), null);
419data.Add(Create("", order: null), Create("", order: 2), 2);
420data.Add(Create("", order: null), Create("", order: null), null);
421data.Add(Create("", order: null), null, null);
422data.Add(Create("", order: null), Create("/", order: 2), 2);
423data.Add(Create("", order: null), Create("/", order: null), null);
424data.Add(null, Create("", order: 2), 2);
425data.Add(null, Create("", order: null), null);
426data.Add(null, Create("/", order: 2), 2);
427data.Add(null, Create("/", order: null), null);
442var leftModel = Create("Home", order: 3);
444data.Add(leftModel, Create("/"));
445data.Add(leftModel, Create("~/"));
446data.Add(null, Create("/"));
447data.Add(null, Create("~/"));
448data.Add(Create(null), Create("/"));
449data.Add(Create(null), Create("~/"));
463data.Add(null, Create(null));
464data.Add(Create(null), null);
465data.Add(Create(null), Create(null));
477data.Add(null, Create("Index"), Create("Index"));
478data.Add(Create(null), Create("Index"), Create("Index"));
479data.Add(Create("Home"), null, Create("Home"));
480data.Add(Create("Home"), Create(null), Create("Home"));
481data.Add(Create("Home"), Create("Index"), Create("Home/Index"));
482data.Add(Create("Blog"), Create("/Index"), Create("Index"));