6 instantiations of TestActionResult
Microsoft.AspNetCore.Mvc.Core.Test (6)
Infrastructure\ControllerActionInvokerTest.cs (6)
1794return new TestActionResult { Value = value }; 1799return new TestActionResult { Value = value }; 1804return await Task.FromResult<TestActionResult>(new TestActionResult { Value = value }); 1814return new TestActionResult { Value = value }; 1819return await Task.FromResult(new TestActionResult { Value = value }); 1978public 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))] 1469var testActionResult = Assert.IsType<TestActionResult>(result); 1494var testActionResult = Assert.IsType<TestActionResult>(result); 1518Assert.IsType<TestActionResult>(result); 1797public TestActionResult ActionMethodWithTestActionResult(int value) 1802public async Task<TestActionResult> AsyncActionMethodWithTestActionResult(int value) 1804return await Task.FromResult<TestActionResult>(new TestActionResult { Value = value }); 1822public TestActionResult TestActionMethodWithNullActionResult() 1832public async Task<TestActionResult> AsyncActionMethodWithNullTestActionResult() 1834return await Task.FromResult<TestActionResult>(null);