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;
51 List<InvocationListener> container = new ArrayList<InvocationListener>(); in should_call_listeners_in_order()
67 List<InvocationListener> container = new ArrayList<InvocationListener>(); in should_allow_same_listener()
99 InvocationListener listener1 = mock(InvocationListener.class, "listener1"); in should_call_all_listener_when_mock_throws_exception()
100 InvocationListener listener2 = mock(InvocationListener.class, "listener2"); in should_call_all_listener_when_mock_throws_exception()
127 private static class RememberingListener implements InvocationListener {
128 private final List<InvocationListener> listenerContainer;
133 RememberingListener(List<InvocationListener> listenerContainer) {
138 this(new ArrayList<InvocationListener>());
/external/mockito/src/main/java/org/mockito/internal/handler/
DInvocationNotifierHandler.java10 import org.mockito.listeners.InvocationListener;
25 private final List<InvocationListener> invocationListeners;
46 for (InvocationListener listener : invocationListeners) { in notifyMethodCall()
56 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/test/java/org/mockito/internal/handler/
DMockHandlerImplTest.java22 import org.mockito.listeners.InvocationListener;
71 InvocationListener throwingListener = mock(InvocationListener.class); in should_throw_mockito_exception_when_invocation_handler_throws_anything()
91 … private MockHandlerImpl<?> create_correctly_stubbed_handler(InvocationListener throwingListener) { in create_correctly_stubbed_handler()
108 private MockHandlerImpl<?> create_handler_with_listeners(InvocationListener... listener) { in create_handler_with_listeners()
DInvocationNotifierHandlerTest.java16 import org.mockito.listeners.InvocationListener;
42 @Mock private InvocationListener listener1;
43 @Mock private InvocationListener listener2;
128 private static class CustomListener implements InvocationListener {
/external/mockito/src/main/java/org/mockito/internal/creation/settings/
DCreationSettings.java8 import org.mockito.listeners.InvocationListener;
32 protected List<InvocationListener> invocationListeners = new ArrayList<InvocationListener>();
121 public List<InvocationListener> getInvocationListeners() { in getInvocationListeners()
/external/mockito/src/main/java/org/mockito/mock/
DMockCreationSettings.java11 import org.mockito.listeners.InvocationListener;
75 List<InvocationListener> getInvocationListeners(); in getInvocationListeners()
/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/creation/
DMockSettingsImpl.java13 import org.mockito.listeners.InvocationListener;
175 public MockSettings invocationListeners(InvocationListener... listeners) { in invocationListeners()
202 for (InvocationListener listener : invocationListeners) { in invocationListenersContainsType()
211 public List<InvocationListener> getInvocationListeners() { in getInvocationListeners()
/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/
DMockSettings.java11 import org.mockito.listeners.InvocationListener;
222 MockSettings invocationListeners(InvocationListener... listeners); in invocationListeners()
/external/mockito/src/main/java/org/mockito/listeners/
DInvocationListener.java14 public interface InvocationListener { interface
/external/mockito/src/main/java/org/mockito/internal/exceptions/
DReporter.java28 import org.mockito.listeners.InvocationListener;
692 …public static MockitoException invocationListenerThrewException(InvocationListener listener, Throw… in invocationListenerThrewException()