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/test/java/org/mockito/internal/framework/
DDefaultMockitoFrameworkTest.java10 import org.mockito.listeners.MockitoListener;
42 framework.removeListener(new MockitoListener() {}); in ok_to_remove_unknown_listener()
47 MockitoListener listener = new MockitoListener() {}; in ok_to_remove_listener_multiple_times()
111 private static class MyListener implements MockitoListener {}
/external/mockito/src/main/java/org/mockito/
DMockitoFramework.java8 import org.mockito.listeners.MockitoListener;
52 MockitoFramework addListener(MockitoListener listener) throws RedundantListenerException; in addListener()
68 MockitoFramework removeListener(MockitoListener listener); in removeListener()
DMockitoSession.java7 import org.mockito.listeners.MockitoListener;
/external/mockito/src/main/java/org/mockito/internal/framework/
DDefaultMockitoFramework.java9 import org.mockito.listeners.MockitoListener;
15 public MockitoFramework addListener(MockitoListener listener) { in addListener()
21 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.java12 public interface VerificationListener extends MockitoListener {
/external/mockito/src/main/java/org/mockito/exceptions/misusing/
DRedundantListenerException.java4 import org.mockito.listeners.MockitoListener;
/external/mockito/src/test/java/org/mockito/
DStateMaster.java8 import org.mockito.listeners.MockitoListener;