Home
last modified time | relevance | path

Searched refs:realMethod (Results 1 – 6 of 6) sorted by relevance

/external/mockito/src/test/java/org/mockito/
DStaticMockingExperimentTest.java46 InvocationFactory.RealMethodBehavior realMethod = new InvocationFactory.RealMethodBehavior() { field in StaticMockingExperimentTest
61 …vocationFactory().createInvocation(mock, withSettings().build(Foo.class), staticMethod, realMethod, in verify_static_method()
72 …vocationFactory().createInvocation(mock, withSettings().build(Foo.class), staticMethod, realMethod, in verify_static_method()
80 …vocationFactory().createInvocation(mock, withSettings().build(Foo.class), staticMethod, realMethod, in verify_static_method()
89 …vocationFactory().createInvocation(mock, withSettings().build(Foo.class), staticMethod, realMethod, in verification_failure_static_method()
95 …vocationFactory().createInvocation(mock, withSettings().build(Foo.class), staticMethod, realMethod, in verification_failure_static_method()
107 …vocationFactory().createInvocation(mock, withSettings().build(Foo.class), staticMethod, realMethod, in stubbing_static_method()
119 …vocationFactory().createInvocation(mock, withSettings().build(Foo.class), staticMethod, realMethod, in stubbing_static_method()
131 … .createInvocation(mock, withSettings().build(Foo.class), staticMethod, realMethod, "foo"); in do_answer_stubbing_static_method()
139 …vocationFactory().createInvocation(mock, withSettings().build(Foo.class), staticMethod, realMethod, in do_answer_stubbing_static_method()
[all …]
/external/mockito/src/main/java/org/mockito/internal/invocation/
DDefaultInvocationFactory.java21 …t target, MockCreationSettings settings, Method method, final Callable realMethod, Object... args)… in createInvocation() argument
22 RealMethod superMethod = new RealMethod.FromCallable(realMethod); in createInvocation()
26 …rget, MockCreationSettings settings, Method method, RealMethodBehavior realMethod, Object... args)… in createInvocation() argument
27 RealMethod superMethod = new RealMethod.FromBehavior(realMethod); in createInvocation()
35 …tion(Object mock, Method invokedMethod, Object[] arguments, RealMethod realMethod, MockCreationSet… in createInvocation() argument
40 realMethod, in createInvocation()
47 arguments, RealMethod realMethod, MockCreationSettings settings) { in createInvocation() argument
48 … return createInvocation(mock, invokedMethod, arguments, realMethod, settings, new LocationImpl()); in createInvocation()
DInterceptedInvocation.java26 private final RealMethod realMethod; field in InterceptedInvocation
39 RealMethod realMethod, in InterceptedInvocation() argument
46 this.realMethod = realMethod; in InterceptedInvocation()
124 if (!realMethod.isInvokable()) { in callRealMethod()
127 return realMethod.invoke(); in callRealMethod()
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/
DMockMethodInterceptor.java48 RealMethod realMethod) throws Throwable { in doIntercept() argument
53 realMethod, in doIntercept()
61 RealMethod realMethod, in doIntercept() argument
63 …return handler.handle(createInvocation(mock, invokedMethod, arguments, realMethod, mockCreationSet… in doIntercept()
DMockMethodAdvice.java101 RealMethod realMethod; in handle() local
103 realMethod = new SerializableRealMethodCall(identifier, origin, instance, arguments); in handle()
105 realMethod = new RealMethodCall(selfCallInfo, origin, instance, arguments); in handle()
112 realMethod, in handle()
/external/mockito/src/main/java/org/mockito/invocation/
DInvocationFactory.java50 …(Object target, MockCreationSettings settings, Method method, Callable realMethod, Object... args); in createInvocation() argument
76 …rget, MockCreationSettings settings, Method method, RealMethodBehavior realMethod, Object... args); in createInvocation() argument