19 references to ValidateSomeProperties
Microsoft.AspNetCore.Mvc.IntegrationTests (19)
ValidationWithRecordIntegrationTests.cs (19)
1197
ParameterType = typeof(
ValidateSomeProperties
),
1202
= new QueryString($"?{nameof(
ValidateSomeProperties
.NeverValidBecauseType)}.{nameof(NeverValid.NeverValidProperty)}=1"));
1212
var
model = Assert.IsType<
ValidateSomeProperties
>(result.Model);
1221
Assert.Equal(nameof(
ValidateSomeProperties
.NeverValidBecauseType), state.Key);
1233
$"{nameof(
ValidateSomeProperties
.NeverValidBecauseType)}.{nameof(NeverValid.NeverValidProperty)}",
1246
ParameterType = typeof(
ValidateSomeProperties
),
1251
= new QueryString($"?{nameof(
ValidateSomeProperties
.NeverValidBecauseAttribute)}=1"));
1261
var
model = Assert.IsType<
ValidateSomeProperties
>(result.Model);
1267
Assert.Equal(nameof(
ValidateSomeProperties
.NeverValidBecauseAttribute), kvp.Key);
1285
ParameterType = typeof(
ValidateSomeProperties
),
1290
= new QueryString($"?{nameof(
ValidateSomeProperties
.ValidateNever)}=1"));
1300
var
model = Assert.IsType<
ValidateSomeProperties
>(result.Model);
1305
Assert.Equal(nameof(
ValidateSomeProperties
.ValidateNever), kvp.Key);
1318
ParameterType = typeof(
ValidateSomeProperties
),
1330
var
model = Assert.IsType<
ValidateSomeProperties
>(result.Model);