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()
DCalls.java52 return VerificationModeFactory.description(this, description); in description()
DOnly.java38 return VerificationModeFactory.description(this, description); in description()
DVerificationWrapperInOrderWrapper.java31 return VerificationModeFactory.description(this, description); in description()
DAtMost.java47 return VerificationModeFactory.description(this, description); in description()
DTimes.java59 return VerificationModeFactory.description(this, description); in description()
DVerificationOverTimeImpl.java125 return VerificationModeFactory.description(this, description); in description()
/external/mockito/src/test/java/org/mockito/internal/progress/
DMockingProgressImplTest.java11 import org.mockito.internal.verification.VerificationModeFactory;
30 VerificationMode mode = VerificationModeFactory.times(19); in shouldStartVerificationAndPullVerificationMode()
41 mockingProgress.verificationStarted(VerificationModeFactory.atLeastOnce()); in shouldCheckIfVerificationWasFinished()
43 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/
DMockito.java15 import org.mockito.internal.verification.VerificationModeFactory;
2670 return VerificationModeFactory.times(wantedNumberOfInvocations); in times()
2708 return VerificationModeFactory.atLeastOnce(); in atLeastOnce()
2725 return VerificationModeFactory.atLeast(minNumberOfInvocations); in atLeast()
2742 return VerificationModeFactory.atMost(maxNumberOfInvocations); in atMost()
2760 return VerificationModeFactory.calls( wantedNumberOfInvocations ); in calls()
2781 return VerificationModeFactory.only(); in only()
2815 return new Timeout(millis, VerificationModeFactory.times(1)); in timeout()
2871 return new After(millis, VerificationModeFactory.times(1)); in after()
/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 org.mockito.internal.verification.VerificationModeFactory;
54 import static org.mockito.internal.verification.VerificationModeFactory.noMoreInteractions;
149 VerificationModeFactory.noMoreInteractions().verifyInOrder(data); in verifyNoMoreInteractionsInOrder()
/external/mockito/src/test/java/org/mockito/internal/handler/
DMockHandlerImplTest.java20 import org.mockito.internal.verification.VerificationModeFactory;
48 mockingProgress().verificationStarted(VerificationModeFactory.atLeastOnce()); in should_remove_verification_mode_even_when_invalid_matchers()