Home
last modified time | relevance | path

Searched refs:VerificationModeFactory (Results 1 – 23 of 23) sorted by relevance

/external/mockito/src/main/java/org/mockito/internal/verification/
DVerificationWrapper.java25 … return copySelfWithNewVerificationMode(VerificationModeFactory.times(wantedNumberOfInvocations)); in times()
29 return copySelfWithNewVerificationMode(VerificationModeFactory.atMost(0)); in never()
33 return copySelfWithNewVerificationMode(VerificationModeFactory.atLeastOnce()); in atLeastOnce()
37 … return copySelfWithNewVerificationMode(VerificationModeFactory.atLeast(minNumberOfInvocations)); in atLeast()
41 … return copySelfWithNewVerificationMode(VerificationModeFactory.atMost(maxNumberOfInvocations)); in atMost()
45 return copySelfWithNewVerificationMode(VerificationModeFactory.only()); in only()
DVerificationModeFactory.java10 public class VerificationModeFactory { class
DDescription.java49 return VerificationModeFactory.description(this, description); in description()
DInOrderWrapper.java35 return VerificationModeFactory.description(this, description); in description()
DAtLeast.java51 return VerificationModeFactory.description(this, description); in description()
DMockAwareVerificationMode.java50 return VerificationModeFactory.description(this, description); in description()
DNoMoreInteractions.java42 return VerificationModeFactory.description(this, description); in description()
DOnly.java39 return VerificationModeFactory.description(this, description); in description()
DCalls.java52 return VerificationModeFactory.description(this, description); in description()
DVerificationWrapperInOrderWrapper.java31 return VerificationModeFactory.description(this, description); in description()
DTimes.java59 return VerificationModeFactory.description(this, description); in description()
DAtMost.java48 return VerificationModeFactory.description(this, description); in description()
DVerificationOverTimeImpl.java125 return VerificationModeFactory.description(this, description); in description()
/external/mockito/src/main/java/org/mockito/
DMockito.java12 import org.mockito.internal.verification.VerificationModeFactory;
2444 return VerificationModeFactory.times(wantedNumberOfInvocations); in times()
2480 return VerificationModeFactory.atLeastOnce(); in atLeastOnce()
2496 return VerificationModeFactory.atLeast(minNumberOfInvocations); in atLeast()
2512 return VerificationModeFactory.atMost(maxNumberOfInvocations); in atMost()
2529 return VerificationModeFactory.calls( wantedNumberOfInvocations ); in calls()
2549 return VerificationModeFactory.only(); in only()
2588 return new Timeout(millis, VerificationModeFactory.times(1)); in timeout()
2628 return new After(millis, VerificationModeFactory.times(1)); in after()
/external/mockito/src/test/java/org/mockito/internal/progress/
DMockingProgressImplTest.java11 import org.mockito.internal.verification.VerificationModeFactory;
33 VerificationMode mode = VerificationModeFactory.times(19); in shouldStartVerificationAndPullVerificationMode()
44 mockingProgress.verificationStarted(VerificationModeFactory.atLeastOnce()); in shouldCheckIfVerificationWasFinished()
46 mockingProgress.verificationStarted(VerificationModeFactory.atLeastOnce()); in shouldCheckIfVerificationWasFinished()
DAtLeastTest.java9 import org.mockito.internal.verification.VerificationModeFactory;
20 VerificationModeFactory.atLeast(-50); in shouldNotAllowNegativeNumberOfMinimumInvocations()
29 VerificationModeFactory.atLeast(0); in shouldAllowZeroInvocations()
DVerificationModeBuilder.java10 import org.mockito.internal.verification.VerificationModeFactory;
17 return VerificationModeFactory.times(times); in inOrder()
DTimesTest.java12 import org.mockito.internal.verification.VerificationModeFactory;
25 VerificationModeFactory.times(-50); in shouldNotAllowNegativeNumberOfInvocations()
/external/mockito/src/main/java/org/mockito/verification/
DAfter.java7 import org.mockito.internal.verification.VerificationModeFactory;
44 return VerificationModeFactory.description(this, description); in description()
DTimeout.java10 import org.mockito.internal.verification.VerificationModeFactory;
65 return VerificationModeFactory.description(this, description); in description()
/external/mockito/src/main/java/org/mockito/internal/
DInOrderImpl.java12 import org.mockito.internal.verification.VerificationModeFactory;
43 return this.verify(mock, VerificationModeFactory.times(1)); in verify()
DMockitoCore.java22 import static org.mockito.internal.verification.VerificationModeFactory.noMoreInteractions;
41 import org.mockito.internal.verification.VerificationModeFactory;
137 VerificationModeFactory.noMoreInteractions().verifyInOrder(data); in verifyNoMoreInteractionsInOrder()
/external/mockito/src/test/java/org/mockito/internal/handler/
DMockHandlerImplTest.java21 import org.mockito.internal.verification.VerificationModeFactory;
50 mockingProgress().verificationStarted(VerificationModeFactory.atLeastOnce()); in should_remove_verification_mode_even_when_invalid_matchers()