Home
last modified time | relevance | path

Searched refs:MockitoListener (Results 1 – 11 of 11) sorted by relevance

/external/mockito/src/main/java/org/mockito/internal/progress/
DMockingProgressImpl.java14 import org.mockito.listeners.MockitoListener;
36 private final Set<MockitoListener> listeners = new LinkedHashSet<MockitoListener>();
64 for (MockitoListener listener : listeners) {
148 for (MockitoListener listener : listeners) {
156 public void addListener(MockitoListener listener) {
157 for (MockitoListener existing : listeners) {
165 public void removeListener(MockitoListener listener) {
DMockingProgress.java9 import org.mockito.listeners.MockitoListener;
46 void addListener(MockitoListener listener); in addListener()
48 void removeListener(MockitoListener listener); in removeListener()
/external/mockito/src/main/java/org/mockito/
DMockitoFramework.java10 import org.mockito.listeners.MockitoListener;
56 MockitoFramework addListener(MockitoListener listener) throws RedundantListenerException; in addListener()
73 MockitoFramework removeListener(MockitoListener listener); in removeListener()
DMockitoSession.java12 import org.mockito.listeners.MockitoListener;
/external/mockito/src/test/java/org/mockito/internal/framework/
DDefaultMockitoFrameworkTest.java15 import org.mockito.listeners.MockitoListener;
56 framework.removeListener(new MockitoListener() {}); in ok_to_remove_unknown_listener()
61 MockitoListener listener = new MockitoListener() {}; in ok_to_remove_listener_multiple_times()
173 private static class MyListener implements MockitoListener {}
/external/mockito/src/main/java/org/mockito/internal/framework/
DDefaultMockitoFramework.java12 import org.mockito.listeners.MockitoListener;
21 public MockitoFramework addListener(MockitoListener listener) { in addListener()
27 public MockitoFramework removeListener(MockitoListener listener) { in removeListener()
/external/mockito/src/main/java/org/mockito/listeners/
DMockitoListener.java11 public interface MockitoListener { interface
DMockCreationListener.java13 public interface MockCreationListener extends MockitoListener {
DVerificationListener.java16 public interface VerificationListener extends MockitoListener {
/external/mockito/src/main/java/org/mockito/exceptions/misusing/
DRedundantListenerException.java8 import org.mockito.listeners.MockitoListener;
/external/mockito/src/test/java/org/mockito/
DStateMaster.java8 import org.mockito.listeners.MockitoListener;