Home
last modified time | relevance | path

Searched refs:InvocationListener (Results 1 – 13 of 13) sorted by relevance

/external/mockito/src/test/java/org/mockitousage/debugging/
DInvocationListenerCallbackTest.java11 import org.mockito.listeners.InvocationListener;
60 InvocationListener listener1 = mock(InvocationListener.class, "listener1"); in should_call_all_listener_when_mock_throws_exception()
61 InvocationListener listener2 = mock(InvocationListener.class, "listener2"); in should_call_all_listener_when_mock_throws_exception()
88 private static class RememberingListener implements InvocationListener {
/external/mockito/src/main/java/org/mockito/internal/handler/
DInvocationNotifierHandler.java14 import org.mockito.listeners.InvocationListener;
26 private final List<InvocationListener> invocationListeners;
47 for (InvocationListener listener : invocationListeners) { in notifyMethodCall()
57 for (InvocationListener listener : invocationListeners) { in notifyMethodCallException()
/external/mockito/src/test/java/org/mockitousage/bugs/
DListenersLostOnResetMockTest.java9 import org.mockito.listeners.InvocationListener;
20 InvocationListener invocationListener = mock(InvocationListener.class); in listener()
/external/mockito/src/main/java/org/mockito/internal/creation/
DMockSettingsImpl.java14 import org.mockito.listeners.InvocationListener;
127 public MockSettings invocationListeners(InvocationListener... listeners) { in invocationListeners()
131 for (InvocationListener listener : listeners) { in invocationListeners()
141 for (InvocationListener listener : invocationListeners) { in invocationListenersContainsType()
149 public List<InvocationListener> getInvocationListeners() { in getInvocationListeners()
/external/mockito/src/test/java/org/mockito/internal/handler/
DMockHandlerImplTest.java23 import org.mockito.listeners.InvocationListener;
73 InvocationListener throwingListener = mock(InvocationListener.class); in should_throw_mockito_exception_when_invocation_handler_throws_anything()
93 … private MockHandlerImpl<?> create_correctly_stubbed_handler(InvocationListener throwingListener) { in create_correctly_stubbed_handler()
110 private MockHandlerImpl<?> create_handler_with_listeners(InvocationListener... listener) { in create_handler_with_listeners()
DInvocationNotifierHandlerTest.java16 import org.mockito.listeners.InvocationListener;
43 @Mock private InvocationListener listener1;
44 @Mock private InvocationListener listener2;
131 private static class CustomListener implements InvocationListener {
/external/mockito/src/main/java/org/mockito/internal/creation/settings/
DCreationSettings.java7 import org.mockito.listeners.InvocationListener;
30 protected List<InvocationListener> invocationListeners = new ArrayList<InvocationListener>();
105 public List<InvocationListener> getInvocationListeners() { in getInvocationListeners()
/external/mockito/src/main/java/org/mockito/mock/
DMockCreationSettings.java9 import org.mockito.listeners.InvocationListener;
65 List<InvocationListener> getInvocationListeners(); in getInvocationListeners()
/external/mockito/src/main/java/org/mockito/
DMockSettings.java7 import org.mockito.listeners.InvocationListener;
217 MockSettings invocationListeners(InvocationListener... listeners); in invocationListeners()
/external/mockito/src/test/java/org/mockito/internal/creation/
DMockSettingsImplTest.java12 import org.mockito.listeners.InvocationListener;
26 @Mock private InvocationListener invocationListener;
118 mockSettingsImpl.invocationListeners((InvocationListener[])null); in shouldNotAllowNullListener()
/external/mockito/src/main/java/org/mockito/internal/debugging/
DVerboseMockInvocationLogger.java10 import org.mockito.listeners.InvocationListener;
18 public class VerboseMockInvocationLogger implements InvocationListener {
/external/mockito/src/main/java/org/mockito/listeners/
DInvocationListener.java14 public interface InvocationListener { interface
/external/mockito/src/main/java/org/mockito/internal/exceptions/
DReporter.java21 import org.mockito.listeners.InvocationListener;
673 …public static MockitoException invocationListenerThrewException(InvocationListener listener, Throw… in invocationListenerThrewException()