9 references to ConstraintTypes
Microsoft.AspNetCore.Mvc.FunctionalTests (9)
ApiExplorerTest.cs (9)
188Assert.Empty(parameter.RouteInfo.ConstraintTypes); 211Assert.Equal("IntRouteConstraint", Assert.Single(parameter.RouteInfo.ConstraintTypes)); 258Assert.Equal("IntRouteConstraint", Assert.Single(parameter.RouteInfo.ConstraintTypes)); 284Assert.Equal("RangeRouteConstraint", Assert.Single(month.RouteInfo.ConstraintTypes)); 289Assert.Equal("IntRouteConstraint", Assert.Single(day.RouteInfo.ConstraintTypes)); 294Assert.Equal("IntRouteConstraint", Assert.Single(year.RouteInfo.ConstraintTypes)); 320Assert.Equal("RangeRouteConstraint", Assert.Single(month.RouteInfo.ConstraintTypes)); 325Assert.Equal("IntRouteConstraint", Assert.Single(day.RouteInfo.ConstraintTypes)); 330Assert.Equal("IntRouteConstraint", Assert.Single(year.RouteInfo.ConstraintTypes));