6 instantiations of TestActionResult
Microsoft.AspNetCore.Mvc.Core.Test (6)
Infrastructure\ControllerActionInvokerTest.cs (6)
1794
return new
TestActionResult
{ Value = value };
1799
return new
TestActionResult
{ Value = value };
1804
return await Task.FromResult<TestActionResult>(new
TestActionResult
{ Value = value });
1814
return new
TestActionResult
{ Value = value };
1819
return await Task.FromResult(new
TestActionResult
{ Value = value });
1978
public IActionResult Convert() => new
TestActionResult
{ Value = Value };
19 references to TestActionResult
Microsoft.AspNetCore.Mvc.Core.Test (19)
Infrastructure\ControllerActionInvokerTest.cs (19)
1233
var
testResult = Assert.IsType<
TestActionResult
>(result);
1259
var
testResult = Assert.IsType<
TestActionResult
>(result);
1320
var
contentResult = Assert.IsType<
TestActionResult
>(result);
1352
[InlineData(nameof(TestController.TestActionMethodWithNullActionResult), typeof(
TestActionResult
))]
1354
[InlineData(nameof(TestController.AsyncActionMethodWithNullTestActionResult), typeof(
TestActionResult
))]
1469
var
testActionResult = Assert.IsType<
TestActionResult
>(result);
1494
var
testActionResult = Assert.IsType<
TestActionResult
>(result);
1518
Assert.IsType<
TestActionResult
>(result);
1797
public
TestActionResult
ActionMethodWithTestActionResult(int value)
1802
public async Task<
TestActionResult
> AsyncActionMethodWithTestActionResult(int value)
1804
return await Task.FromResult<
TestActionResult
>(new TestActionResult { Value = value });
1822
public
TestActionResult
TestActionMethodWithNullActionResult()
1832
public async Task<
TestActionResult
> AsyncActionMethodWithNullTestActionResult()
1834
return await Task.FromResult<
TestActionResult
>(null);