6 instantiations of TestActionResult
Microsoft.AspNetCore.Mvc.Core.Test (6)
Infrastructure\ControllerActionInvokerTest.cs (6)
1798return new TestActionResult { Value = value }; 1803return new TestActionResult { Value = value }; 1808return await Task.FromResult<TestActionResult>(new TestActionResult { Value = value }); 1818return new TestActionResult { Value = value }; 1823return await Task.FromResult(new TestActionResult { Value = value }); 1982public IActionResult Convert() => new TestActionResult { Value = Value };
19 references to TestActionResult
Microsoft.AspNetCore.Mvc.Core.Test (19)
Infrastructure\ControllerActionInvokerTest.cs (19)
1233var testResult = Assert.IsType<TestActionResult>(result); 1259var testResult = Assert.IsType<TestActionResult>(result); 1320var contentResult = Assert.IsType<TestActionResult>(result); 1352[InlineData(nameof(TestController.TestActionMethodWithNullActionResult), typeof(TestActionResult))] 1354[InlineData(nameof(TestController.AsyncActionMethodWithNullTestActionResult), typeof(TestActionResult))] 1471var testActionResult = Assert.IsType<TestActionResult>(result); 1496var testActionResult = Assert.IsType<TestActionResult>(result); 1520Assert.IsType<TestActionResult>(result); 1801public TestActionResult ActionMethodWithTestActionResult(int value) 1806public async Task<TestActionResult> AsyncActionMethodWithTestActionResult(int value) 1808return await Task.FromResult<TestActionResult>(new TestActionResult { Value = value }); 1826public TestActionResult TestActionMethodWithNullActionResult() 1836public async Task<TestActionResult> AsyncActionMethodWithNullTestActionResult() 1838return await Task.FromResult<TestActionResult>(null);