Searched refs:_mockActionDescriptor (Results 1 – 3 of 3) sorted by relevance
14 private Mock<HttpActionDescriptor> _mockActionDescriptor; field in System.Web.Http.Tracing.Tracers.HttpActionSelectorTracerTest21 _mockActionDescriptor = new Mock<HttpActionDescriptor>() { CallBase = true }; in HttpActionSelectorTracerTest()22 _mockActionDescriptor.Setup(a => a.ActionName).Returns("test"); in HttpActionSelectorTracerTest()23 …_mockActionDescriptor.Setup(a => a.GetParameters()).Returns(new Collection<HttpParameterDescriptor… in HttpActionSelectorTracerTest()30 …ontextUtil.CreateActionContext(_controllerContext, actionDescriptor: _mockActionDescriptor.Object); in HttpActionSelectorTracerTest()39 … mockSelector.Setup(s => s.SelectAction(_controllerContext)).Returns(_mockActionDescriptor.Object); in SelectAction_Traces_And_Returns_ActionDescriptor_Tracer()
16 private Mock<HttpActionDescriptor> _mockActionDescriptor; field in System.Web.Http.Tracing.Tracers.HttpActionBindingTracerTest26 _mockActionDescriptor = new Mock<HttpActionDescriptor>() { CallBase = true }; in HttpActionBindingTracerTest()27 _mockActionDescriptor.Setup(a => a.ActionName).Returns("test"); in HttpActionBindingTracerTest()28 …_mockActionDescriptor.Setup(a => a.GetParameters()).Returns(new Collection<HttpParameterDescriptor… in HttpActionBindingTracerTest()32 …_actionBinding = new HttpActionBinding(_mockActionDescriptor.Object, new HttpParameterBinding[] { … in HttpActionBindingTracerTest()39 …ontextUtil.CreateActionContext(_controllerContext, actionDescriptor: _mockActionDescriptor.Object); in HttpActionBindingTracerTest()
18 private Mock<HttpActionDescriptor> _mockActionDescriptor; field in System.Web.Http.Tracing.Tracers.HttpControllerTracerTest23 _mockActionDescriptor = new Mock<HttpActionDescriptor>() { CallBase = true }; in HttpControllerTracerTest()24 _mockActionDescriptor.Setup(a => a.ActionName).Returns("test"); in HttpControllerTracerTest()25 …_mockActionDescriptor.Setup(a => a.GetParameters()).Returns(new Collection<HttpParameterDescriptor… in HttpControllerTracerTest()108 …ContextUtil.CreateActionContext(controllerContext, actionDescriptor: _mockActionDescriptor.Object); in ExecuteAsync_Invokes_Inner_And_Traces()142 …ContextUtil.CreateActionContext(controllerContext, actionDescriptor: _mockActionDescriptor.Object); in ExecuteAsync_Faults_And_Traces_When_Inner_Faults()174 …ContextUtil.CreateActionContext(controllerContext, actionDescriptor: _mockActionDescriptor.Object); in ExecuteAsync_IsCancelled_And_Traces_When_Inner_IsCancelled()