Home
last modified time | relevance | path

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

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