1 type derived from ValidateSomeProperties
Microsoft.AspNetCore.Mvc.IntegrationTests (1)
ValidationIntegrationTests.cs (1)
1342
private class ValidateNoProperties :
ValidateSomeProperties
22 references to ValidateSomeProperties
Microsoft.AspNetCore.Mvc.IntegrationTests (22)
ValidationIntegrationTests.cs (22)
1353
ParameterType = typeof(
ValidateSomeProperties
),
1358
= new QueryString($"?{nameof(
ValidateSomeProperties
.NeverValidBecauseType)}.{nameof(NeverValid.NeverValidProperty)}=1"));
1368
var
model = Assert.IsType<
ValidateSomeProperties
>(result.Model);
1377
Assert.Equal(nameof(
ValidateSomeProperties
.NeverValidBecauseType), state.Key);
1389
$"{nameof(
ValidateSomeProperties
.NeverValidBecauseType)}.{nameof(NeverValid.NeverValidProperty)}",
1402
ParameterType = typeof(
ValidateSomeProperties
),
1407
= new QueryString($"?{nameof(
ValidateSomeProperties
.NeverValidBecauseAttribute)}=1"));
1417
var
model = Assert.IsType<
ValidateSomeProperties
>(result.Model);
1423
Assert.Equal(nameof(
ValidateSomeProperties
.NeverValidBecauseAttribute), kvp.Key);
1441
ParameterType = typeof(
ValidateSomeProperties
),
1446
= new QueryString($"?{nameof(
ValidateSomeProperties
.ValidateNever)}=1"));
1456
var
model = Assert.IsType<
ValidateSomeProperties
>(result.Model);
1461
Assert.Equal(nameof(
ValidateSomeProperties
.ValidateNever), kvp.Key);
1474
ParameterType = typeof(
ValidateSomeProperties
),
1486
var
model = Assert.IsType<
ValidateSomeProperties
>(result.Model);
1496
[InlineData(nameof(
ValidateSomeProperties
.NeverValidBecauseType) + "." + nameof(NeverValid.NeverValidProperty))]
1497
[InlineData(nameof(
ValidateSomeProperties
.NeverValidBecauseAttribute))]
1498
[InlineData(nameof(
ValidateSomeProperties
.ValidateNever))]