16 references to ComplexModel
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (16)
src\Mvc\Mvc.Core\test\Formatters\JsonInputFormatterTestBase.cs (16)
242
var formatterContext = CreateInputFormatterContext(typeof(
ComplexModel
), httpContext);
249
var
userModel = Assert.IsType<
ComplexModel
>(result.Model);
317
var formatterContext = CreateInputFormatterContext(typeof(List<
ComplexModel
>), httpContext);
344
var formatterContext = CreateInputFormatterContext(typeof(
ComplexModel
), httpContext);
396
var formatterContext = CreateInputFormatterContext(typeof(
ComplexModel
[]), httpContext, modelName: "names");
423
var formatterContext = CreateInputFormatterContext(typeof(
ComplexModel
), httpContext);
549
var formatterContext = CreateInputFormatterContext(typeof(
ComplexModel
), httpContext);
555
var
userModel = Assert.IsType<
ComplexModel
>(result.Model);
571
var formatterContext = CreateInputFormatterContext(typeof(
ComplexModel
), httpContext);
577
var
userModel = Assert.IsType<
ComplexModel
>(result.Model);
597
var formatterContext = CreateInputFormatterContext(typeof(
ComplexModel
), httpContext);
603
var
userModel = Assert.IsType<
ComplexModel
>(result.Model);