Home
last modified time | relevance | path

Searched refs:VerificationMode (Results 1 – 25 of 44) sorted by relevance

12

/external/mockito/src/main/java/org/mockito/internal/verification/
DVerificationWrapper.java8 import org.mockito.verification.VerificationMode;
10 …bstract class VerificationWrapper<WrapperType extends VerificationMode> implements VerificationMod…
22 …protected abstract VerificationMode copySelfWithNewVerificationMode(VerificationMode verificationM… in copySelfWithNewVerificationMode()
24 public VerificationMode times(int wantedNumberOfInvocations) { in times()
28 public VerificationMode never() { in never()
32 public VerificationMode atLeastOnce() { in atLeastOnce()
36 public VerificationMode atLeast(int minNumberOfInvocations) { in atLeast()
40 public VerificationMode atMost(int maxNumberOfInvocations) { in atMost()
44 public VerificationMode only() { in only()
DVerificationOverTimeImpl.java10 import org.mockito.verification.VerificationMode;
17 public class VerificationOverTimeImpl implements VerificationMode {
20 private final VerificationMode delegate;
35 …public VerificationOverTimeImpl(long pollingPeriodMillis, long durationMillis, VerificationMode de… in VerificationOverTimeImpl()
50 …public VerificationOverTimeImpl(long pollingPeriodMillis, VerificationMode delegate, boolean retur… in VerificationOverTimeImpl()
107 protected boolean canRecoverFromFailure(VerificationMode verificationMode) { in canRecoverFromFailure()
111 public VerificationOverTimeImpl copyWithVerificationMode(VerificationMode verificationMode) { in copyWithVerificationMode()
124 public VerificationMode description(String description) { in description()
140 public VerificationMode getDelegate() { in getDelegate()
DVerificationModeFactory.java8 import org.mockito.verification.VerificationMode;
12 public static VerificationMode atLeastOnce() { in atLeastOnce()
16 public static VerificationMode atLeast(int minNumberOfInvocations) { in atLeast()
20 public static VerificationMode only() { in only()
36 public static VerificationMode atMost(int maxNumberOfInvocations) { in atMost()
47 public static VerificationMode description(VerificationMode mode, String description) { in description()
DVerificationWrapperInOrderWrapper.java11 import org.mockito.verification.VerificationMode;
13 public class VerificationWrapperInOrderWrapper implements VerificationMode {
14 private final VerificationMode delegate;
17 VerificationMode verificationMode = verificationWrapper.wrappedVerification; in VerificationWrapperInOrderWrapper()
19VerificationMode inOrderWrappedVerificationMode = wrapInOrder(verificationWrapper, verificationMod… in VerificationWrapperInOrderWrapper()
30 public VerificationMode description(String description) { in description()
34 …private VerificationMode wrapInOrder(VerificationWrapper<?> verificationWrapper, VerificationMode in wrapInOrder()
DDescription.java9 import org.mockito.verification.VerificationMode;
17 public class Description implements VerificationMode {
19 private final VerificationMode verification;
27 public Description(VerificationMode verification, String description) { in Description()
48 public VerificationMode description(String description) { in description()
DMockAwareVerificationMode.java11 import org.mockito.verification.VerificationMode;
13 public class MockAwareVerificationMode implements VerificationMode {
16 private final VerificationMode mode;
19 …public MockAwareVerificationMode(Object mock, VerificationMode mode, Set<VerificationListener> lis… in MockAwareVerificationMode()
49 public VerificationMode description(String description) { in description()
DVerificationEventImpl.java9 import org.mockito.verification.VerificationMode;
13 private final VerificationMode mode;
18 …public VerificationEventImpl(Object mock, VerificationMode mode, VerificationData data, Throwable … in VerificationEventImpl()
29 public VerificationMode getMode() { in getMode()
DInOrderWrapper.java13 import org.mockito.verification.VerificationMode;
17 public class InOrderWrapper implements VerificationMode {
34 public VerificationMode description(String description) { in description()
DAtLeast.java15 import org.mockito.verification.VerificationMode;
17 public class AtLeast implements VerificationInOrderMode, VerificationMode {
50 public VerificationMode description(String description) { in description()
DNoMoreInteractions.java19 import org.mockito.verification.VerificationMode;
21 public class NoMoreInteractions implements VerificationMode, VerificationInOrderMode {
41 public VerificationMode description(String description) { in description()
DOnly.java18 import org.mockito.verification.VerificationMode;
20 public class Only implements VerificationMode {
37 public VerificationMode description(String description) { in description()
DCalls.java18 import org.mockito.verification.VerificationMode;
20 public class Calls implements VerificationMode, VerificationInOrderMode {
51 public VerificationMode description(String description) { in description()
DAtMost.java18 import org.mockito.verification.VerificationMode;
20 public class AtMost implements VerificationMode {
46 public VerificationMode description(String description) { in description()
/external/mockito/src/main/java/org/mockito/verification/
DVerificationAfterDelay.java29 public interface VerificationAfterDelay extends VerificationMode {
34 VerificationMode times(int wantedNumberOfInvocations); in times()
40 VerificationMode never(); in never()
45 VerificationMode atLeastOnce(); in atLeastOnce()
50 VerificationMode atLeast(int minNumberOfInvocations); in atLeast()
56 VerificationMode atMost(int maxNumberOfInvocations); in atMost()
62 VerificationMode only(); in only()
DTimeout.java28 public Timeout(long millis, VerificationMode delegate) { in Timeout()
35 Timeout(long pollingPeriodMillis, long millis, VerificationMode delegate) { in Timeout()
42 Timeout(long pollingPeriodMillis, VerificationMode delegate, Timer timer) { in Timeout()
51 … protected VerificationMode copySelfWithNewVerificationMode(VerificationMode newVerificationMode) { in copySelfWithNewVerificationMode()
55 public VerificationMode atMost(int maxNumberOfInvocations) { in atMost()
59 public VerificationMode never() { in never()
64 public VerificationMode description(String description) { in description()
DVerificationWithTimeout.java28 public interface VerificationWithTimeout extends VerificationMode {
42 VerificationMode times(int wantedNumberOfInvocations); in times()
55 VerificationMode atLeastOnce(); in atLeastOnce()
69 VerificationMode atLeast(int minNumberOfInvocations); in atLeast()
87 VerificationMode only(); in only()
DAfter.java25 public After(long delayMillis, VerificationMode verificationMode) { in After()
29 After(long pollingPeriod, long delayMillis, VerificationMode verificationMode) { in After()
38 protected VerificationMode copySelfWithNewVerificationMode(VerificationMode verificationMode) { in copySelfWithNewVerificationMode()
43 public VerificationMode description(String description) { in description()
/external/mockito/src/main/java/org/mockito/internal/progress/
DMockingProgressImpl.java18 import org.mockito.verification.VerificationMode;
33 private Localized<VerificationMode> verificationMode;
44 public VerificationMode maybeVerifyLazily(VerificationMode mode) { in getDefaultVerificationStrategy()
74 public void verificationStarted(VerificationMode verify) {
87 public VerificationMode pullVerificationMode() {
92 VerificationMode temp = verificationMode.getObject();
173 public VerificationMode maybeVerifyLazily(VerificationMode mode) {
DMockingProgress.java13 import org.mockito.verification.VerificationMode;
24 void verificationStarted(VerificationMode verificationMode); in verificationStarted()
26 VerificationMode pullVerificationMode(); in pullVerificationMode()
52 VerificationMode maybeVerifyLazily(VerificationMode mode); in maybeVerifyLazily()
/external/mockito/src/main/java/org/mockito/internal/junit/
DVerificationCollectorImpl.java15 import org.mockito.verification.VerificationMode;
61 public VerificationMode maybeVerifyLazily(VerificationMode mode) {
81 private class VerificationWrapper implements VerificationMode {
83 private final VerificationMode delegate;
85 private VerificationWrapper(VerificationMode delegate) {
97 public VerificationMode description(String description) {
/external/mockito/src/main/java/org/mockito/
DMockito.java41 import org.mockito.verification.VerificationMode;
2140 public static <T> T verify(T mock, VerificationMode mode) { in verify()
2659 public static VerificationMode times(int wantedNumberOfInvocations) { in times()
2681 public static VerificationMode never() { in never()
2697 public static VerificationMode atLeastOnce() { in atLeastOnce()
2714 public static VerificationMode atLeast(int minNumberOfInvocations) { in atLeast()
2731 public static VerificationMode atMost(int maxNumberOfInvocations) { in atMost()
2749 public static VerificationMode calls( int wantedNumberOfInvocations ){ in calls()
2770 public static VerificationMode only() { in only()
2958 public static VerificationMode description(String description) { in description()
/external/mockito/src/test/java/org/mockitousage/debugging/
DVerificationListenerCallBackTest.java18 import org.mockito.verification.VerificationMode;
45 VerificationMode never = never(); in should_call_single_listener_on_verify()
63 VerificationMode never = never(); in should_call_all_listeners_on_verify()
150 VerificationMode mode;
167 …Condition<RememberingListener> notifiedFor(final Object mock, final VerificationMode mode, final M… in notifiedFor()
179 private static class RuntimeExceptionVerificationMode implements VerificationMode {
186 public VerificationMode description(String description) {
/external/dexmaker/dexmaker-mockito-inline-extended/src/main/java/com/android/dx/mockito/inline/extended/
DStaticInOrder.java21 import org.mockito.verification.VerificationMode;
43 public <T> T verify(T mock, VerificationMode mode) { in verify()
129 public void verify(MockedVoidMethod method, VerificationMode mode) { in verify()
140 public void verify(MockedMethod method, VerificationMode mode) { in verify()
/external/mockito/src/test/java/org/mockitousage/verification/
DCustomVerificationTest.java13 import org.mockito.verification.VerificationMode;
39 private VerificationMode ignoreParametersUsingOldApi() { in ignoreParametersUsingOldApi()
40 return new VerificationMode() { in ignoreParametersUsingOldApi()
60 public VerificationMode description(String description) { in ignoreParametersUsingOldApi()
/external/mockito/src/test/java/org/mockito/internal/verification/
DDummyVerificationMode.java8 import org.mockito.verification.VerificationMode;
10 public class DummyVerificationMode implements VerificationMode {
14 public VerificationMode description(String description) { in description()

12