Searched refs:methodInvocationReport (Results 1 – 2 of 2) sorted by relevance
34 public void reportInvocation(MethodInvocationReport methodInvocationReport) { in reportInvocation() argument36 printStubInfo(methodInvocationReport); in reportInvocation()37 printInvocation(methodInvocationReport.getInvocation()); in reportInvocation()38 printReturnedValueOrThrowable(methodInvocationReport); in reportInvocation()42 private void printReturnedValueOrThrowable(MethodInvocationReport methodInvocationReport) { in printReturnedValueOrThrowable() argument43 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 …]
27 void reportInvocation(MethodInvocationReport methodInvocationReport); in reportInvocation() argument