Searched refs:delegateMethod (Results 1 – 4 of 4) sorted by relevance
/external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/ |
D | ForwardsInvocations.java | 36 Method delegateMethod = getDelegateMethod(mockMethod); in answer() local 38 … if (!compatibleReturnTypes(mockMethod.getReturnType(), delegateMethod.getReturnType())) { in answer() 39 …throw delegatedMethodHasWrongReturnType(mockMethod, delegateMethod, invocation.getMock(), delegate… in answer() 43 return delegateMethod.invoke(delegatedObject, rawArguments); in answer()
|
/external/javassist/src/main/javassist/ |
D | CtNewMethod.java | 65 String delegateObj, String delegateMethod) in make() argument 70 if (delegateMethod != null) in make() 71 compiler.recordProceed(delegateObj, delegateMethod); in make()
|
D | CtBehavior.java | 391 String delegateObj, String delegateMethod) in setBody() argument 398 if (delegateMethod != null) in setBody() 399 jv.recordProceed(delegateObj, delegateMethod); in setBody()
|
/external/mockito/src/main/java/org/mockito/internal/exceptions/ |
D | Reporter.java | 792 …xception delegatedMethodHasWrongReturnType(Method mockMethod, Method delegateMethod, Object mock, … in delegatedMethodHasWrongReturnType() argument 796 …be: " + mockMethod.getReturnType().getSimpleName() + ", but was: " + delegateMethod.getReturnType(… in delegatedMethodHasWrongReturnType()
|