29 references to Link
Microsoft.AspNetCore.Mvc.FunctionalTests (29)
RoutingEndpointRoutingTest.cs (7)
134
Assert.Equal("/endpoint-routing/ParameterTransformer", result.
Link
);
154
Assert.Equal("/endpoint-routing/5", result.
Link
);
174
Assert.Equal("/Blog/ShowPosts", result.
Link
);
194
Assert.Equal("/", result.
Link
);
330
Assert.Equal("/", result.
Link
);
349
Assert.Equal("/ConventionalTransformerRoute/conventional-transformer/Param/my-value", result.
Link
);
368
Assert.Equal("/ConventionalTransformerRoute/conventional-transformer", result.
Link
);
RoutingTestsBase.cs (22)
121
Assert.Equal("/Travel/Home/Contact", result.
Link
);
141
Assert.Equal("/Travel/Home/Contact", result.
Link
);
993
Assert.Equal("/api/Employee", result.
Link
);
1013
Assert.Equal("/api/Employee/5", result.
Link
);
1033
Assert.Equal("/Blog/ShowPosts", result.
Link
);
1053
Assert.Equal("/", result.
Link
);
1157
Assert.Equal("/DefaultValuesRoute/Optional", result.
Link
);
1178
Assert.Equal("/DefaultValuesRoute/Optional/DEFAULTVALUES/OPTIONALPARAMETER/123", result.
Link
);
1200
Assert.Equal("/DefaultValuesRoute/Default", result.
Link
);
1222
Assert.Equal("/DefaultValuesRoute/Default/DEFAULTVALUES/DEFAULTPARAMETER/17/CatchAll", result.
Link
);
1244
Assert.Equal("/DefaultValuesRoute/Default/DEFAULTVALUES/DEFAULTPARAMETER/123", result.
Link
);
1266
Assert.Equal("/DefaultValuesRoute/Default", result.
Link
);
1287
Assert.Equal("/Travel/Flight/BuyTickets", result.
Link
);
1307
Assert.Equal("/Travel/Flight/BuyTickets", result.
Link
);
1328
Assert.Equal("/", result.
Link
);
1349
Assert.Equal("/ContosoCorp/Trains/CheckSchedule", result.
Link
);
1369
Assert.Equal("/ContosoCorp/Trains", result.
Link
);
1390
Assert.Equal("/", result.
Link
);
1411
Assert.Equal("/Travel/Flight", result.
Link
);
1432
Assert.Equal("/ContosoCorp/Trains", result.
Link
);
1453
Assert.Equal("/Admin/Users/All", result.
Link
);
1474
Assert.Equal("/Admin/Users/All", result.
Link
);