35 references to ExpectedUrls
Microsoft.AspNetCore.Mvc.FunctionalTests (35)
RoutingEndpointRoutingTest.cs (2)
24
Assert.Contains("/PageRoute/Attribute/pagevalue", result.
ExpectedUrls
);
311
Assert.Equal("/ConventionalTransformerRoute/conventional-transformer/Param/my-value", Assert.Single(result.
ExpectedUrls
));
RoutingTestsBase.cs (32)
55
Assert.Equal(expectedUrl, Assert.Single(result.
ExpectedUrls
));
269
Assert.Contains("/Home/Index", result.
ExpectedUrls
);
293
Assert.Contains("/", result.
ExpectedUrls
);
327
Assert.Contains("/Travel/Flight/Index", result.
ExpectedUrls
);
364
Assert.Single(result.
ExpectedUrls
, expected);
379
Assert.Contains("/Store/Shop/Products", result.
ExpectedUrls
);
412
Assert.Contains(url, result.
ExpectedUrls
);
486
result.
ExpectedUrls
);
512
result.
ExpectedUrls
);
554
result.
ExpectedUrls
);
582
result.
ExpectedUrls
);
640
Assert.Contains("/Home/About", result.
ExpectedUrls
);
657
Assert.Contains("/Blog/Edit/5", result.
ExpectedUrls
);
687
Assert.Contains("/api/Employee", result.
ExpectedUrls
);
714
Assert.Contains("/Store/Shop/Orders", result.
ExpectedUrls
);
739
Assert.Contains("/api/Employee/5/Salary", result.
ExpectedUrls
);
759
Assert.Contains("/Store/Shop/Orders", result.
ExpectedUrls
);
782
Assert.Contains("/api/Employee", result.
ExpectedUrls
);
804
Assert.Contains("/api/Employee/Manager", result.
ExpectedUrls
);
829
Assert.Equal(new string[] { expectedUrl, expectedUrl }, result.
ExpectedUrls
);
849
Assert.Contains("/api/Employee/5", result.
ExpectedUrls
);
872
Assert.Contains("/api/Employee/5/Administrator", result.
ExpectedUrls
);
893
Assert.Contains("/Manager/5", result.
ExpectedUrls
);
914
Assert.Contains("/Team/5", result.
ExpectedUrls
);
935
Assert.Contains("/Teams", result.
ExpectedUrls
);
973
Assert.Single(result.
ExpectedUrls
, expected);
1077
Assert.Equal("/api/Company/5", result.
ExpectedUrls
.Single());
1095
Assert.Equal("/api/Company/5", result.
ExpectedUrls
.Single());
1117
Assert.Equal("/api/Company/5/Employees", result.
ExpectedUrls
.Single());
1135
Assert.Equal("/api/Company/5/Departments", result.
ExpectedUrls
.Single());
1497
Assert.Contains(path, result.
ExpectedUrls
);
1549
Assert.Contains(path, result.
ExpectedUrls
);
RoutingWithoutRazorPagesTestsBase.cs (1)
48
Assert.Contains("/PageRoute/Attribute/pagevalue", result.
ExpectedUrls
);