Home
last modified time | relevance | path

Searched refs:reportInvocation (Results 1 – 8 of 8) sorted by relevance

/external/mockito/src/test/java/org/mockito/internal/debugging/
DVerboseMockInvocationLoggerTest.java48 listener.reportInvocation(new NotifiedMethodInvocationReport(invocation, "return value")); in should_print_invocation_with_return_value()
60 …listener.reportInvocation(new NotifiedMethodInvocationReport(invocation, new ThirdPartyException()… in should_print_invocation_with_exception()
71 listener.reportInvocation(new NotifiedMethodInvocationReport(invocation, "whatever")); in should_print_if_method_has_not_been_stubbed()
80 listener.reportInvocation(new NotifiedMethodInvocationReport(invocation, "whatever")); in should_print_stubbed_info_if_available()
90 …listener.reportInvocation(new NotifiedMethodInvocationReport(invocation, new ThirdPartyException()… in should_log_count_of_interactions()
93 …listener.reportInvocation(new NotifiedMethodInvocationReport(invocation, new ThirdPartyException()… in should_log_count_of_interactions()
96 …listener.reportInvocation(new NotifiedMethodInvocationReport(invocation, new ThirdPartyException()… in should_log_count_of_interactions()
/external/mockito/src/test/java/org/mockito/internal/handler/
DInvocationNotifierHandlerTest.java68 …verify(listener1).reportInvocation(new NotifiedMethodInvocationReport(invocation, "returned value"… in should_notify_all_listeners_when_calling_delegate_handler()
69 …verify(listener2).reportInvocation(new NotifiedMethodInvocationReport(invocation, "returned value"… in should_notify_all_listeners_when_calling_delegate_handler()
82 …verify(listener1).reportInvocation(new NotifiedMethodInvocationReport(invocation, (Object) compute… in should_notify_all_listeners_when_called_delegate_handler_returns_ex()
83 …verify(listener2).reportInvocation(new NotifiedMethodInvocationReport(invocation, (Object) compute… in should_notify_all_listeners_when_called_delegate_handler_returns_ex()
98 …verify(listener1).reportInvocation(new NotifiedMethodInvocationReport(invocation, parseException)); in should_notify_all_listeners_when_called_delegate_handler_throws_exception_and_rethrow_it()
99 …verify(listener2).reportInvocation(new NotifiedMethodInvocationReport(invocation, parseException)); in should_notify_all_listeners_when_called_delegate_handler_throws_exception_and_rethrow_it()
105 …willThrow(new NullPointerException()).given(customListener).reportInvocation(any(MethodInvocationR… in should_report_listener_exception()
129 public void reportInvocation(MethodInvocationReport methodInvocationReport) { in reportInvocation() method in InvocationNotifierHandlerTest.CustomListener
DMockHandlerImplTest.java72 …doThrow(new Throwable()).when(throwingListener).reportInvocation(any(MethodInvocationReport.class)… in should_throw_mockito_exception_when_invocation_handler_throws_anything()
/external/mockito/src/test/java/org/mockitousage/debugging/
DInvocationListenerCallbackTest.java111 orderedVerify.verify(listener1).reportInvocation(any(MethodInvocationReport.class)); in should_call_all_listener_when_mock_throws_exception()
112 orderedVerify.verify(listener2).reportInvocation(any(MethodInvocationReport.class)); in should_call_all_listener_when_mock_throws_exception()
141 public void reportInvocation(MethodInvocationReport mcr) {
/external/mockito/src/main/java/org/mockito/internal/handler/
DInvocationNotifierHandler.java48 … listener.reportInvocation(new NotifiedMethodInvocationReport(invocation, returnValue)); in notifyMethodCall()
58 … listener.reportInvocation(new NotifiedMethodInvocationReport(invocation, exception)); in notifyMethodCallException()
/external/mockito/src/main/java/org/mockito/listeners/
DInvocationListener.java27 void reportInvocation(MethodInvocationReport methodInvocationReport); in reportInvocation() method
/external/mockito/src/test/java/org/mockitousage/bugs/
DListenersLostOnResetMockTest.java27 verify(invocationListener).reportInvocation(any(MethodInvocationReport.class)); in listener()
/external/mockito/src/main/java/org/mockito/internal/debugging/
DVerboseMockInvocationLogger.java33 public void reportInvocation(MethodInvocationReport methodInvocationReport) { in reportInvocation() method in VerboseMockInvocationLogger