Home
last modified time | relevance | path

Searched refs:_mockActionDescriptor (Results 1 – 3 of 3) sorted by relevance

/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/test/System.Web.Http.Test/Tracing/Tracers/
H A DHttpActionSelectorTracerTest.cs14 private Mock<HttpActionDescriptor> _mockActionDescriptor; field in System.Web.Http.Tracing.Tracers.HttpActionSelectorTracerTest
21 _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()
H A DHttpActionBindingTracerTest.cs16 private Mock<HttpActionDescriptor> _mockActionDescriptor; field in System.Web.Http.Tracing.Tracers.HttpActionBindingTracerTest
26 _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()
H A DHttpControllerTracerTest.cs18 private Mock<HttpActionDescriptor> _mockActionDescriptor; field in System.Web.Http.Tracing.Tracers.HttpControllerTracerTest
23 _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()