Home
last modified time | relevance | path

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

/external/mockito/src/main/java/org/mockito/internal/debugging/
DVerboseMockInvocationLogger.java33 public void reportInvocation(MethodInvocationReport methodInvocationReport) { in reportInvocation() argument
35 printStubInfo(methodInvocationReport); in reportInvocation()
36 printInvocation(methodInvocationReport.getInvocation()); in reportInvocation()
37 printReturnedValueOrThrowable(methodInvocationReport); in reportInvocation()
41 private void printReturnedValueOrThrowable(MethodInvocationReport methodInvocationReport) { in printReturnedValueOrThrowable() argument
42 if (methodInvocationReport.threwException()) { in printReturnedValueOrThrowable()
43 …String message = methodInvocationReport.getThrowable().getMessage() == null ? "" : " with message … in printReturnedValueOrThrowable()
44 … printlnIndented("has thrown: " + methodInvocationReport.getThrowable().getClass() + message); in printReturnedValueOrThrowable()
46 …String type = (methodInvocationReport.getReturnedValue() == null) ? "" : " (" + methodInvocationRe… in printReturnedValueOrThrowable()
47 … printlnIndented("has returned: \"" + methodInvocationReport.getReturnedValue() + "\"" + type); in printReturnedValueOrThrowable()
[all …]
/external/mockito/src/main/java/org/mockito/listeners/
DInvocationListener.java27 void reportInvocation(MethodInvocationReport methodInvocationReport); in reportInvocation() argument
/external/mockito/src/test/java/org/mockito/internal/handler/
DInvocationNotifierHandlerTest.java129 public void reportInvocation(MethodInvocationReport methodInvocationReport) { in reportInvocation() argument