6 instantiations of TestActionResult
Microsoft.AspNetCore.Mvc.Core.Test (6)
Infrastructure\ControllerActionInvokerTest.cs (6)
1798
return new
TestActionResult
{ Value = value };
1803
return new
TestActionResult
{ Value = value };
1808
return await Task.FromResult<TestActionResult>(new
TestActionResult
{ Value = value });
1818
return new
TestActionResult
{ Value = value };
1823
return await Task.FromResult(new
TestActionResult
{ Value = value });
1982
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
))]
1471
var
testActionResult = Assert.IsType<
TestActionResult
>(result);
1496
var
testActionResult = Assert.IsType<
TestActionResult
>(result);
1520
Assert.IsType<
TestActionResult
>(result);
1801
public
TestActionResult
ActionMethodWithTestActionResult(int value)
1806
public async Task<
TestActionResult
> AsyncActionMethodWithTestActionResult(int value)
1808
return await Task.FromResult<
TestActionResult
>(new TestActionResult { Value = value });
1826
public
TestActionResult
TestActionMethodWithNullActionResult()
1836
public async Task<
TestActionResult
> AsyncActionMethodWithNullTestActionResult()
1838
return await Task.FromResult<
TestActionResult
>(null);