Home
last modified time | relevance | path

Searched refs:IsAny (Results 1 – 25 of 453) sorted by relevance

12345678910>>...19

/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/test/System.Web.Http.Test/Tracing/Tracers/
H A DContentNegotiatorTracerTest.cs34 n.Negotiate(It.IsAny<Type>(), It.IsAny<HttpRequestMessage>(), in Negotiate_Calls_Inner_Negotiate()
45 n.Negotiate(It.IsAny<Type>(), It.IsAny<HttpRequestMessage>(), in Negotiate_Returns_Inner_MediaType()
46 It.IsAny<IEnumerable<MediaTypeFormatter>>())).Returns( in Negotiate_Returns_Inner_MediaType()
63 n.Negotiate(It.IsAny<Type>(), It.IsAny<HttpRequestMessage>(), in Negotiate_Returns_Wrapped_Inner_XmlFormatter()
64 It.IsAny<IEnumerable<MediaTypeFormatter>>())).Returns( in Negotiate_Returns_Wrapped_Inner_XmlFormatter()
81 n.Negotiate(It.IsAny<Type>(), It.IsAny<HttpRequestMessage>(), in Negotiate_Returns_Wrapped_Inner_JsonFormatter()
99 n.Negotiate(It.IsAny<Type>(), It.IsAny<HttpRequestMessage>(), in Negotiate_Returns_Wrapped_Inner_FormUrlEncodedFormatter()
116 n.Negotiate(It.IsAny<Type>(), It.IsAny<HttpRequestMessage>(), in Negotiate_Returns_Null_Inner_Formatter()
134 n.Negotiate(It.IsAny<Type>(), It.IsAny<HttpRequestMessage>(), in Negotiate_Traces_BeginEnd()
158 n.Negotiate(It.IsAny<Type>(), It.IsAny<HttpRequestMessage>(), in Negotiate_Throws_When_Inner_Throws()
[all …]
H A DMediaTypeFormatterTracerTest.cs25 …f => f.ReadFromStreamAsync(It.IsAny<Type>(), It.IsAny<Stream>(), It.IsAny<HttpContentHeaders>(), I… in OnReadFromStreamAsync_Traces()
53 …f => f.ReadFromStreamAsync(It.IsAny<Type>(), It.IsAny<Stream>(), It.IsAny<HttpContentHeaders>(), I… in OnReadFromStreamAsync_Traces_And_Throws_When_Inner_Throws()
84 …f => f.ReadFromStreamAsync(It.IsAny<Type>(), It.IsAny<Stream>(), It.IsAny<HttpContentHeaders>(), I… in OnReadFromStreamAsync_Traces_And_Faults_When_Inner_Faults()
112 …f => f.WriteToStreamAsync(It.IsAny<Type>(), It.IsAny<Object>(), It.IsAny<Stream>(), It.IsAny<HttpC… in OnWriteToStreamAsync_Traces()
140 f.WriteToStreamAsync(It.IsAny<Type>(), It.IsAny<Object>(), It.IsAny<Stream>(), in OnWriteToStreamAsync_Traces_And_Throws_When_Inner_Throws()
141 It.IsAny<HttpContentHeaders>(), It.IsAny<TransportContext>())). in OnWriteToStreamAsync_Traces_And_Throws_When_Inner_Throws()
173 …f => f.WriteToStreamAsync(It.IsAny<Type>(), It.IsAny<Object>(), It.IsAny<Stream>(), It.IsAny<HttpC… in OnWriteToStreamAsync_Traces_And_Faults_When_Inner_Faults()
204 f.GetPerRequestFormatterInstance(It.IsAny<Type>(), It.IsAny<HttpRequestMessage>(), in GetPerRequestFormatterInstance_Returns_Tracing_MediaTypeFormatter()
205 … It.IsAny<MediaTypeHeaderValue>())).Returns(mockReturnFormatter.Object); in GetPerRequestFormatterInstance_Returns_Tracing_MediaTypeFormatter()
H A DHttpParameterBindingTracerTest.cs27 … b.ExecuteBindingAsync(It.IsAny<ModelMetadataProvider>(), It.IsAny<HttpActionContext>(), in ExecuteBindingAsync_Traces_And_Invokes_Inner()
28 …It.IsAny<CancellationToken>())).Returns(TaskHelpers.Completed()).Callback(() => innerInvoked = tru… in ExecuteBindingAsync_Traces_And_Invokes_Inner()
61 … b.ExecuteBindingAsync(It.IsAny<ModelMetadataProvider>(), It.IsAny<HttpActionContext>(), in ExecuteBindingAsync_Traces_And_Throws_When_Inner_Throws()
62 It.IsAny<CancellationToken>())).Throws(exception); in ExecuteBindingAsync_Traces_And_Throws_When_Inner_Throws()
99 … b.ExecuteBindingAsync(It.IsAny<ModelMetadataProvider>(), It.IsAny<HttpActionContext>(), in ExecuteBindingAsync_Traces_And_Faults_When_Inner_Faults()
100 It.IsAny<CancellationToken>())).Returns(tcs.Task); in ExecuteBindingAsync_Traces_And_Faults_When_Inner_Faults()
H A DHttpControllerActivatorTracerTest.cs20 …mockActivator.Setup(b => b.Create(It.IsAny<HttpRequestMessage>(), It.IsAny<HttpControllerDescripto… in Create_Invokes_Inner_And_Traces()
46 …mockActivator.Setup(b => b.Create(It.IsAny<HttpRequestMessage>(), It.IsAny<HttpControllerDescripto… in Create_Throws_And_Traces_When_Inner_Throws()
H A DHttpActionInvokerTracerTest.cs43 …mockActionDescriptor.Setup(a => a.ExecuteAsync(It.IsAny<HttpControllerContext>(), It.IsAny<IDictio… in InvokeActionAsync_Calls_ActionDescriptor_ExecuteAsync()
130 …a => a.InvokeActionAsync(It.IsAny<HttpActionContext>(), It.IsAny<CancellationToken>())).Returns(tc… in InvokeActionAsync_Returns_Faulted_Inner_Task()
151 …a => a.InvokeActionAsync(It.IsAny<HttpActionContext>(), It.IsAny<CancellationToken>())).Returns(tc… in InvokeActionAsync_Traces_Faulted_Inner_Task()
188 …a => a.InvokeActionAsync(It.IsAny<HttpActionContext>(), It.IsAny<CancellationToken>())).Throws(exp… in InvokeActionAsync_Throws_Exception_Thrown_From_Inner()
207 …a => a.InvokeActionAsync(It.IsAny<HttpActionContext>(), It.IsAny<CancellationToken>())).Throws(exp… in InvokeActionAsync_Traces_Exception_Thrown_From_Inner()
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/test/System.Web.Mvc.Test/Html/Test/
H A DChildActionExtensionsTest.cs27 … route.Setup(r => r.GetVirtualPath(It.IsAny<RequestContext>(), It.IsAny<RouteValueDictionary>())) in ChildActionExtensionsTest()
43 …httpContext.Setup(hc => hc.Server.Execute(It.IsAny<IHttpHandler>(), It.IsAny<TextWriter>(), It.IsA… in ChildActionExtensionsTest()
82 …httpContext.Setup(hc => hc.Server.Execute(It.IsAny<IHttpHandler>(), It.IsAny<TextWriter>(), It.IsA… in ServerExecuteCalledWithWrappedChildActionMvcHandler()
111 …httpContext.Setup(hc => hc.Server.Execute(It.IsAny<IHttpHandler>(), It.IsAny<TextWriter>(), It.IsA… in RouteDataTokensIncludesParentActionViewContext()
126 …httpContext.Setup(hc => hc.Server.Execute(It.IsAny<IHttpHandler>(), It.IsAny<TextWriter>(), It.IsA… in RouteValuesIncludeNewActionName()
143 …httpContext.Setup(hc => hc.Server.Execute(It.IsAny<IHttpHandler>(), It.IsAny<TextWriter>(), It.IsA… in RouteValuesIncludeOldControllerNameWhenControllerNameIsNullOrEmpty()
160 …httpContext.Setup(hc => hc.Server.Execute(It.IsAny<IHttpHandler>(), It.IsAny<TextWriter>(), It.IsA… in RouteValuesIncludeNewControllerNameWhenControllNameIsNotEmpty()
178 …httpContext.Setup(hc => hc.Server.Execute(It.IsAny<IHttpHandler>(), It.IsAny<TextWriter>(), It.IsA… in PassedRouteValuesOverrideParentRequestRouteValues()
197 …httpContext.Setup(hc => hc.Server.Execute(It.IsAny<IHttpHandler>(), It.IsAny<TextWriter>(), It.IsA… in NoChildActionValuesDictionaryCreatedIfNoRouteValuesPassed()
215 …httpContext.Setup(hc => hc.Server.Execute(It.IsAny<IHttpHandler>(), It.IsAny<TextWriter>(), It.IsA… in RouteValuesDoesNotIncludeExplicitlyPassedAreaName()
[all …]
H A DDisplayNameExtensionsTest.cs70 …metadataHelper.MetadataProvider.Setup(p => p.GetMetadataForProperty(It.IsAny<Func<object>>(), type… in DisplayNameConsultsMetadataProviderForMetadataAboutProperty()
88 …taHelper.MetadataProvider.Setup(p => p.GetMetadataForType(It.IsAny<Func<object>>(), It.IsAny<Type>… in DisplayNameUsesMetadataForPropertyName()
248 … MetadataProvider.Setup(p => p.GetMetadataForProperties(It.IsAny<object>(), It.IsAny<Type>())) in MetadataHelper()
250 …dataProvider.Setup(p => p.GetMetadataForProperty(It.IsAny<Func<object>>(), It.IsAny<Type>(), It.Is… in MetadataHelper()
252 … MetadataProvider.Setup(p => p.GetMetadataForType(It.IsAny<Func<object>>(), It.IsAny<Type>())) in MetadataHelper()
H A DLabelExtensionsTest.cs34 … metadataProvider.Setup(p => p.GetMetadataForProperties(It.IsAny<object>(), It.IsAny<Type>())) in LabelExtensionsTest()
36 …dataProvider.Setup(p => p.GetMetadataForProperty(It.IsAny<Func<object>>(), It.IsAny<Type>(), It.Is… in LabelExtensionsTest()
38 … metadataProvider.Setup(p => p.GetMetadataForType(It.IsAny<Func<object>>(), It.IsAny<Type>())) in LabelExtensionsTest()
86 …metadataProvider.Setup(p => p.GetMetadataForProperty(It.IsAny<Func<object>>(), typeof(Model), "Pro… in LabelViewDataFromPropertyGetsActualPropertyType()
115 … metadataProvider.Setup(p => p.GetMetadataForType(It.IsAny<Func<object>>(), It.IsAny<Type>())) in LabelUsesLabelTextBeforeMetadata()
143 … metadataProvider.Setup(p => p.GetMetadataForType(It.IsAny<Func<object>>(), It.IsAny<Type>())) in LabelUsesMetadataForPropertyNameWhenDisplayNameIsNull()
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/test/System.Net.Http.Formatting.Test.Unit/
H A DHttpContentExtensionsTest.cs97 …contentMock.Setup(c => c.SerializeToStreamAsyncPublic(It.IsAny<Stream>(), It.IsAny<TransportContex… in ReadAsAsyncOfT_ReadsFromContent_ThenInvokesFormattersReadFromStreamMethod()
104 …p(f => f.ReadFromStreamAsync(typeof(string), It.IsAny<Stream>(), It.IsAny<HttpContentHeaders>(), I… in ReadAsAsyncOfT_ReadsFromContent_ThenInvokesFormattersReadFromStreamMethod()
126 …k.Verify(f => f.ReadFromStreamAsync(typeof(string), It.IsAny<Stream>(), content.Headers, It.IsAny<… in ReadAsAsyncOfT_InvokesFormatterEvenIfContentLengthIsZero()
141 …tterMock.Verify(f => f.ReadFromStreamAsync(It.IsAny<Type>(), It.IsAny<Stream>(), content.Headers, … in ReadAsAsync_WhenContentIsObjectContentAndValueIsCompatibleType_ReadsValueFromObjectContent()
148 _formatterMock.Setup(f => f.CanReadType(It.IsAny<Type>())).Returns(true); in ReadAsAsync_WhenContentIsObjectContentAndValueIsNull_IfTypeIsNullable_SerializesAndDeserializesValue()
159 …tterMock.Verify(f => f.ReadFromStreamAsync(It.IsAny<Type>(), It.IsAny<Stream>(), content.Headers, … in ReadAsAsync_WhenContentIsObjectContentAndValueIsNull_IfTypeIsNullable_SerializesAndDeserializesValue()
173 …tterMock.Verify(f => f.ReadFromStreamAsync(It.IsAny<Type>(), It.IsAny<Stream>(), content.Headers, … in ReadAsAsync_WhenContentIsObjectContentAndValueIsNull_IfTypeIsNotNullable_SerializesAndDeserializesValue()
189 …tterMock.Verify(f => f.ReadFromStreamAsync(It.IsAny<Type>(), It.IsAny<Stream>(), content.Headers, … in ReadAsAsync_WhenContentIsObjectContentAndValueIsNotCompatibleType_SerializesAndDeserializesValue()
195 …f => f.WriteToStreamAsync(It.IsAny<Type>(), It.IsAny<object>(), It.IsAny<Stream>(), It.IsAny<HttpC… in SetupUpRoundTripSerialization()
197 …ck.Setup(f => f.ReadFromStreamAsync(It.IsAny<Type>(), It.IsAny<Stream>(), It.IsAny<HttpContentHead… in SetupUpRoundTripSerialization()
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/test/System.Web.Mvc.Test/Test/
H A DVirtualPathProviderViewEngineTest.cs120 … .Setup(c => c.InsertViewLocation(It.IsAny<HttpContextBase>(), It.IsAny<string>(), "")) in FindView_VirtualPathViewDoesNotExistAndNoMaster_ReturnsSearchedLocationsResult()
141 … .Setup(c => c.InsertViewLocation(It.IsAny<HttpContextBase>(), It.IsAny<string>(), "")) in FindView_VirtualPathViewNotSupportedAndNoMaster_ReturnsSearchedLocationsResult()
166 … .Setup(c => c.InsertViewLocation(It.IsAny<HttpContextBase>(), It.IsAny<string>(), "")) in FindView_AbsolutePathViewDoesNotExistAndNoMaster_ReturnsSearchedLocationsResult()
187 … .Setup(c => c.InsertViewLocation(It.IsAny<HttpContextBase>(), It.IsAny<string>(), "")) in FindView_AbsolutePathViewNotSupportedAndNoMaster_ReturnsSearchedLocationsResult()
762 … .Setup(c => c.InsertViewLocation(It.IsAny<HttpContextBase>(), It.IsAny<string>(), "")) in FindPartialView_VirtualPathViewDoesNotExist_ReturnsSearchedLocationsResult()
783 … .Setup(c => c.InsertViewLocation(It.IsAny<HttpContextBase>(), It.IsAny<string>(), "")) in FindPartialView_VirtualPathViewNotSupported_ReturnsSearchedLocationsResult()
808 … .Setup(c => c.InsertViewLocation(It.IsAny<HttpContextBase>(), It.IsAny<string>(), "")) in FindPartialView_AbsolutePathViewDoesNotExist_ReturnsSearchedLocationsResult()
829 … .Setup(c => c.InsertViewLocation(It.IsAny<HttpContextBase>(), It.IsAny<string>(), "")) in FindPartialView_AbsolutePathViewNotSupported_ReturnsSearchedLocationsResult()
1271 .Setup(c => c.GetViewLocation(It.IsAny<HttpContextBase>(), It.IsAny<string>())) in NoValueInCacheButFileExistsReturnsNullIfUsingCache()
1275 ….Setup(c => c.InsertViewLocation(It.IsAny<HttpContextBase>(), It.IsAny<string>(), It.IsAny<string>… in NoValueInCacheButFileExistsReturnsNullIfUsingCache()
[all …]
H A DModelMetadataTest.cs409 provider.Setup(p => p.GetMetadataForType(It.IsAny<Func<object>>(), It.IsAny<Type>())) in FromStringExpressionItemNotFoundInViewData()
432 provider.Setup(p => p.GetMetadataForType(It.IsAny<Func<object>>(), It.IsAny<Type>())) in FromStringExpressionNullItemFoundAtRootOfViewData()
456 provider.Setup(p => p.GetMetadataForType(It.IsAny<Func<object>>(), It.IsAny<Type>())) in FromStringExpressionNonNullItemFoundAtRootOfViewData()
480 …provider.Setup(p => p.GetMetadataForProperty(It.IsAny<Func<object>>(), It.IsAny<Type>(), It.IsAny<… in FromStringExpressionNullItemFoundOnPropertyOfItemInViewData()
505 …provider.Setup(p => p.GetMetadataForProperty(It.IsAny<Func<object>>(), It.IsAny<Type>(), It.IsAny<… in FromStringExpressionNonNullItemFoundOnPropertyOfItemInViewData()
612 …provider.Setup(p => p.GetMetadataForProperty(It.IsAny<Func<object>>(), It.IsAny<Type>(), It.IsAny<… in FromLambdaExpressionPropertyExpressionFromParameter()
636 …provider.Setup(p => p.GetMetadataForProperty(It.IsAny<Func<object>>(), It.IsAny<Type>(), It.IsAny<… in FromLambdaExpressionPropertyExpressionFromClosureValue()
660 provider.Setup(p => p.GetMetadataForType(It.IsAny<Func<object>>(), It.IsAny<Type>())) in FromLambdaExpressionFieldExpressionFromParameter()
683 provider.Setup(p => p.GetMetadataForType(It.IsAny<Func<object>>(), It.IsAny<Type>())) in FromLambdaExpressionFieldExpressionFromFieldOfClosureValue()
774 …provider.Setup(p => p.GetMetadataForProperty(It.IsAny<Func<object>>(), It.IsAny<Type>(), It.IsAny<… in FromLambdaExpressionNullReferenceExceptionsInPropertyExpressionPreserveAllExpressionInformation()
[all …]
H A DPartialViewResultTest.cs32 … .Setup(e => e.FindPartialView(It.IsAny<ControllerContext>(), _viewName, It.IsAny<bool>())) in EmptyViewNameUsesActionNameAsViewName()
41 .Setup(e => e.FindPartialView(It.IsAny<ControllerContext>(), _viewName)) in EmptyViewNameUsesActionNameAsViewName()
44 .Setup(o => o.Render(It.IsAny<ViewContext>(), httpContext.Response.Output)) in EmptyViewNameUsesActionNameAsViewName()
54 .Setup(e => e.ReleaseView(context, It.IsAny<IView>())) in EmptyViewNameUsesActionNameAsViewName()
82 .Setup(e => e.FindPartialView(It.IsAny<ControllerContext>(), _viewName)) in EngineLookupFailureThrows()
85 … .Setup(e => e.FindPartialView(It.IsAny<ControllerContext>(), _viewName, It.IsAny<bool>())) in EngineLookupFailureThrows()
120 .Setup(o => o.Render(It.IsAny<ViewContext>(), httpContext.Response.Output)) in EngineLookupSuccessRendersView()
130 .Setup(e => e.FindPartialView(It.IsAny<ControllerContext>(), _viewName)) in EngineLookupSuccessRendersView()
133 … .Setup(e => e.FindPartialView(It.IsAny<ControllerContext>(), _viewName, It.IsAny<bool>())) in EngineLookupSuccessRendersView()
142 .Setup(e => e.ReleaseView(context, It.IsAny<IView>())) in EngineLookupSuccessRendersView()
[all …]
H A DViewResultTest.cs34 .Setup(e => e.FindView(It.IsAny<ControllerContext>(), _viewName, _masterName)) in EmptyViewNameUsesActionNameAsViewName()
37 … .Setup(e => e.FindView(It.IsAny<ControllerContext>(), _viewName, _masterName, It.IsAny<bool>())) in EmptyViewNameUsesActionNameAsViewName()
46 .Setup(o => o.Render(It.IsAny<ViewContext>(), httpContext.Response.Output)) in EmptyViewNameUsesActionNameAsViewName()
56 .Setup(e => e.ReleaseView(context, It.IsAny<IView>())) in EmptyViewNameUsesActionNameAsViewName()
84 .Setup(e => e.FindView(It.IsAny<ControllerContext>(), _viewName, _masterName)) in EngineLookupFailureThrows()
87 … .Setup(e => e.FindView(It.IsAny<ControllerContext>(), _viewName, _masterName, It.IsAny<bool>())) in EngineLookupFailureThrows()
122 .Setup(o => o.Render(It.IsAny<ViewContext>(), httpContext.Response.Output)) in EngineLookupSuccessRendersView()
132 .Setup(e => e.FindView(It.IsAny<ControllerContext>(), _viewName, _masterName)) in EngineLookupSuccessRendersView()
135 … .Setup(e => e.FindView(It.IsAny<ControllerContext>(), _viewName, _masterName, It.IsAny<bool>())) in EngineLookupSuccessRendersView()
144 .Setup(e => e.ReleaseView(context, It.IsAny<IView>())) in EngineLookupSuccessRendersView()
[all …]
H A DAsyncControllerTest.cs73 …ker.Setup(o => o.BeginInvokeAction(It.IsAny<ControllerContext>(), "SomeAction", It.IsAny<AsyncCall… in ExecuteCore_Asynchronous_ActionFound()
98 …ker.Setup(o => o.BeginInvokeAction(It.IsAny<ControllerContext>(), "SomeAction", It.IsAny<AsyncCall… in ExecuteCore_Asynchronous_ActionNotFound()
123 …mockActionInvoker.Setup(o => o.InvokeAction(It.IsAny<ControllerContext>(), "SomeAction")).Returns(… in ExecuteCore_Synchronous_ActionFound()
147 …mockActionInvoker.Setup(o => o.InvokeAction(It.IsAny<ControllerContext>(), "SomeAction")).Returns(… in ExecuteCore_Synchronous_ActionNotFound()
170 ….Setup(o => o.BeginInvokeAction(It.IsAny<ControllerContext>(), "SomeAction", It.IsAny<AsyncCallbac… in ExecuteCore_SavesTempDataOnException()
H A DDefaultModelBinderTest.cs67 … .Setup(b => b.BindModel(It.IsAny<ControllerContext>(), It.IsAny<ModelBindingContext>())) in BindComplexModelCanBindArrays()
116 … .Setup(b => b.BindModel(It.IsAny<ControllerContext>(), It.IsAny<ModelBindingContext>())) in BindComplexModelCanBindCollections()
287 … .Setup(b => b.BindModel(It.IsAny<ControllerContext>(), It.IsAny<ModelBindingContext>())) in BindComplexModelCanBindDictionaries()
301 … .Setup(b => b.BindModel(It.IsAny<ControllerContext>(), It.IsAny<ModelBindingContext>())) in BindComplexModelCanBindDictionaries()
353 … .Setup(b => b.BindModel(It.IsAny<ControllerContext>(), It.IsAny<ModelBindingContext>())) in BindComplexModelCanBindObjects()
393 … .Setup(b => b.BindModel(It.IsAny<ControllerContext>(), It.IsAny<ModelBindingContext>())) in BindComplexModelReturnsNullArrayIfNoValuesProvided()
432 … .Setup(b => b.BindModel(It.IsAny<ControllerContext>(), It.IsAny<ModelBindingContext>())) in BindComplexModelWhereModelTypeContainsBindAttribute()
478 … .Setup(b => b.BindModel(It.IsAny<ControllerContext>(), It.IsAny<ModelBindingContext>())) in BindComplexModelWhereModelTypeDoesNotContainBindAttribute()
526 … .Setup(b => b.BindModel(It.IsAny<ControllerContext>(), It.IsAny<ModelBindingContext>())) in BindModelCanBindObjects()
878 … .Setup(b => b.BindModel(It.IsAny<ControllerContext>(), It.IsAny<ModelBindingContext>())) in BindPropertyCanUpdateComplexReadOnlyProperties()
[all …]
H A DViewEngineCollectionTest.cs80 …engine1.Setup(e => e.FindPartialView(context, "partial", It.IsAny<bool>())).Returns(engine1Result); in FindPartialViewAggregatesAllSearchedLocationsIfAllEnginesFail()
83 …engine2.Setup(e => e.FindPartialView(context, "partial", It.IsAny<bool>())).Returns(engine2Result); in FindPartialViewAggregatesAllSearchedLocationsIfAllEnginesFail()
107 … engine.Setup(e => e.FindPartialView(context, "partial", It.IsAny<bool>())).Returns(engineResult); in FindPartialViewFailureWithOneEngine()
196 …engine1.Setup(e => e.FindPartialView(context, "partial", It.IsAny<bool>())).Returns(engine1Result); in FindPartialViewIteratesThroughCollectionUntilFindsSuccessfulEngine()
199 …engine2.Setup(e => e.FindPartialView(context, "partial", It.IsAny<bool>())).Returns(engine2Result); in FindPartialViewIteratesThroughCollectionUntilFindsSuccessfulEngine()
217 …engine1.Setup(e => e.FindPartialView(context, "partial", It.IsAny<bool>())).Returns(engine1Result); in FindPartialViewRemovesDuplicateSearchedLocationsFromMultipleEngines()
220 …engine2.Setup(e => e.FindPartialView(context, "partial", It.IsAny<bool>())).Returns(engine2Result); in FindPartialViewRemovesDuplicateSearchedLocationsFromMultipleEngines()
259 …engine1.Setup(e => e.FindPartialView(context, "partial", It.IsAny<bool>())).Returns(engine1Result); in FindPartialViewReturnsValueFromFirstSuccessfulEngine()
281 … engine.Setup(e => e.FindPartialView(context, "partial", It.IsAny<bool>())).Returns(engineResult); in FindPartialViewSuccessWithOneEngine()
364 … engine.Setup(e => e.FindView(context, "view", "master", It.IsAny<bool>())).Returns(engineResult); in FindViewFailureWithOneEngine()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/test/System.Web.WebPages.Test/WebPage/
H A DDisplayModeProviderTest.cs35 displayMode1.Setup(d => d.CanHandleContext(It.IsAny<HttpContextBase>())).Returns(false); in GetDisplayInfoForVirtualPathReturnsDisplayInfoFromFirstDisplayModeToHandleRequest()
39 displayMode2.Setup(d => d.CanHandleContext(It.IsAny<HttpContextBase>())).Returns(false); in GetDisplayInfoForVirtualPathReturnsDisplayInfoFromFirstDisplayModeToHandleRequest()
43 displayMode3.Setup(d => d.CanHandleContext(It.IsAny<HttpContextBase>())).Returns(true); in GetDisplayInfoForVirtualPathReturnsDisplayInfoFromFirstDisplayModeToHandleRequest()
68 displayMode1.Setup(d => d.CanHandleContext(It.IsAny<HttpContextBase>())).Returns(true); in GetDisplayInfoForVirtualPathWithConsistentDisplayModeBeginsSearchAtCurrentDisplayMode()
72 displayMode2.Setup(d => d.CanHandleContext(It.IsAny<HttpContextBase>())).Returns(false); in GetDisplayInfoForVirtualPathWithConsistentDisplayModeBeginsSearchAtCurrentDisplayMode()
76 displayMode3.Setup(d => d.CanHandleContext(It.IsAny<HttpContextBase>())).Returns(true); in GetDisplayInfoForVirtualPathWithConsistentDisplayModeBeginsSearchAtCurrentDisplayMode()
99 displayMode1.Setup(d => d.CanHandleContext(It.IsAny<HttpContextBase>())).Returns(true); in GetDisplayInfoForVirtualPathWithoutConsistentDisplayModeIgnoresCurrentDisplayMode()
103 displayMode2.Setup(d => d.CanHandleContext(It.IsAny<HttpContextBase>())).Returns(false); in GetDisplayInfoForVirtualPathWithoutConsistentDisplayModeIgnoresCurrentDisplayMode()
107 displayMode3.Setup(d => d.CanHandleContext(It.IsAny<HttpContextBase>())).Returns(true); in GetDisplayInfoForVirtualPathWithoutConsistentDisplayModeIgnoresCurrentDisplayMode()
156 displayMode1.Setup(d => d.CanHandleContext(It.IsAny<HttpContextBase>())).Returns(true); in GetAvailableDisplayModesForContextWithRestrictingPageElements()
[all …]
H A DWebPageHttpHandlerTest.cs51 httpRequest.Setup(r => r.MapPath(It.IsAny<string>())).Returns<string>(p => p); in SourceFileHeaderTest()
72 response.Setup(c => c.AddHeader(It.IsAny<string>(), It.IsAny<string>())).Callback( in GenerateSourceFilesHeaderGenerates2047EncodedValue()
107 request.Setup(c => c.MapPath(It.IsAny<string>())).Returns<string>(path => path); in HttpHandlerGeneratesSourceFilesHeadersIfRequestIsLocal()
113 …response.Setup(r => r.AppendHeader(It.IsAny<string>(), It.IsAny<string>())).Callback<string, strin… in HttpHandlerGeneratesSourceFilesHeadersIfRequestIsLocal()
114 …response.Setup(r => r.AddHeader(It.IsAny<string>(), It.IsAny<string>())).Callback<string, string>(… in HttpHandlerGeneratesSourceFilesHeadersIfRequestIsLocal()
199 mockBuildManager.Setup(c => c.CreateInstance(It.IsAny<string>())).Returns(handler); in CreateFromVirtualPathNonWebPageTest()
219 mockFactory.Setup(c => c.Exists(It.IsAny<string>())).Returns(true); in CreateFromVirtualPathReturnsIHttpHandlerIfItCannotCreateAWebPageType()
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/test/System.Web.Http.Integration.Test/ContentNegotiation/
H A DDefaultContentNegotiatorTests.cs23 …selector.Setup(s => s.Negotiate(It.IsAny<Type>(), It.IsAny<HttpRequestMessage>(), It.IsAny<IEnumer… in Custom_ContentNegotiator_Used_In_Response()
36 …selector.Verify(s => s.Negotiate(It.IsAny<Type>(), It.IsAny<HttpRequestMessage>(), It.IsAny<IEnume… in Custom_ContentNegotiator_Used_In_Response()
/dports/textproc/opensearch-dashboards/opensearch-dashboards-1.2.0-linux-x64/plugins/observabilityDashboards/node_modules/@reduxjs/toolkit/src/tests/
H A Dhelpers.ts1 import type { IsAny, IsUnknown } from '../../src/tsHelpers'
7 type Equals<T, U> = IsAny<
10 IsAny<U, never, [T] extends [U] ? ([U] extends [T] ? any : never) : never>
21 type EnsureAny<T extends any> = IsAny<T, any, never>
26 type IsNotAny<T> = IsAny<T, never, any>
H A DcreateAction.typetest.ts12 import type { IsAny } from '@internal/tsHelpers'
241 const payload: IsAny<Ret['payload'], true, false> = true
242 const error: IsAny<Ret['error'], true, false> = true
243 const meta: IsAny<Ret['meta'], true, false> = true
246 const payloadNotAny: IsAny<Ret['payload'], true, false> = false
248 const errorNotAny: IsAny<Ret['error'], true, false> = false
250 const metaNotAny: IsAny<Ret['meta'], true, false> = false
345 expectType<IsAny<AnyPayload, true, false>>(true)
/dports/textproc/py-sphinx-autoapi/sphinx-autoapi-1.8.4/tests/dotnetexample/example/Identity/test/ApiAuth.IS.Test/Extensions/
H A DAutoRedirectEndSessionEndpointTests.cs33 …endSessionValidator.Setup(esv => esv.ValidateAsync(It.IsAny<NameValueCollection>(), It.IsAny<Claim… in AutoRedirectSessionEndpoint_AutoRedirectsValidatedPostLogoutRequests_ToApplicationsWithProfiles()
75 …endSessionValidator.Setup(esv => esv.ValidateAsync(It.IsAny<NameValueCollection>(), It.IsAny<Claim… in AutoRedirectSessionEndpoint_AutoRedirectsValidatedGetLogoutRequests_ToApplicationsWithProfiles()
116 …endSessionValidator.Setup(esv => esv.ValidateAsync(It.IsAny<NameValueCollection>(), It.IsAny<Claim… in AutoRedirectSessionEndpoint_RedirectsToError_WhenValidationFails()
154 …endSessionValidator.Setup(esv => esv.ValidateAsync(It.IsAny<NameValueCollection>(), It.IsAny<Claim… in AutoRedirectSessionEndpoint_RedirectsToLogoutUri_WhenClientDoesntHaveAProfile()
195 …endSessionValidator.Setup(esv => esv.ValidateAsync(It.IsAny<NameValueCollection>(), It.IsAny<Claim… in AutoRedirectSessionEndpoint_RedirectsToLogoutUri_WhenTheValidationRequestDoesNotContainAClient()
278 …thService.Setup(service => service.SignOutAsync(It.IsAny<HttpContext>(), It.IsAny<string>(), It.Is… in SetupRequestServices()
/dports/lang/v8/v8-9.6.180.12/src/objects/
H A Dfield-type.cc57 if (other.IsAny()) return true; in NowIs()
60 if (IsAny()) return false; in NowIs()
67 if (IsAny() && other.IsAny()) return true; in Equals()
78 if (IsAny()) { in PrintTo()
/dports/www/chromium-legacy/chromium-88.0.4324.182/v8/src/objects/
H A Dfield-type.cc57 if (other.IsAny()) return true; in NowIs()
60 if (IsAny()) return false; in NowIs()
67 if (IsAny() && other.IsAny()) return true; in Equals()
78 if (IsAny()) { in PrintTo()
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/test/System.Net.Http.Formatting.Test.Unit/Formatting/
H A DMediaTypeFormatterTestBase.cs83 …mockStream.Verify(s => s.Read(It.IsAny<byte[]>(), It.IsAny<int>(), It.IsAny<int>()), Times.Never()… in ReadFromStreamAsync_WhenContentLengthIsZero_DoesNotReadStream()
85 …tream.Verify(s => s.BeginRead(It.IsAny<byte[]>(), It.IsAny<int>(), It.IsAny<int>(), It.IsAny<Async… in ReadFromStreamAsync_WhenContentLengthIsZero_DoesNotReadStream()
197 …ream.Verify(s => s.BeginWrite(It.IsAny<byte[]>(), It.IsAny<int>(), It.IsAny<int>(), It.IsAny<Async… in WriteToStreamAsync_WhenObjectIsNull_WritesDataButDoesNotCloseStream()

12345678910>>...19