Searched refs:VerificationModeFactory (Results 1 – 23 of 23) sorted by relevance
/external/mockito/src/main/java/org/mockito/internal/verification/ |
D | VerificationWrapper.java | 25 … 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()
|
D | VerificationModeFactory.java | 10 public class VerificationModeFactory { class
|
D | Description.java | 49 return VerificationModeFactory.description(this, description); in description()
|
D | InOrderWrapper.java | 35 return VerificationModeFactory.description(this, description); in description()
|
D | AtLeast.java | 51 return VerificationModeFactory.description(this, description); in description()
|
D | MockAwareVerificationMode.java | 50 return VerificationModeFactory.description(this, description); in description()
|
D | NoMoreInteractions.java | 42 return VerificationModeFactory.description(this, description); in description()
|
D | Calls.java | 52 return VerificationModeFactory.description(this, description); in description()
|
D | Only.java | 38 return VerificationModeFactory.description(this, description); in description()
|
D | VerificationWrapperInOrderWrapper.java | 31 return VerificationModeFactory.description(this, description); in description()
|
D | AtMost.java | 47 return VerificationModeFactory.description(this, description); in description()
|
D | Times.java | 59 return VerificationModeFactory.description(this, description); in description()
|
D | VerificationOverTimeImpl.java | 125 return VerificationModeFactory.description(this, description); in description()
|
/external/mockito/src/test/java/org/mockito/internal/progress/ |
D | MockingProgressImplTest.java | 11 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()
|
D | AtLeastTest.java | 9 import org.mockito.internal.verification.VerificationModeFactory; 20 VerificationModeFactory.atLeast(-50); in shouldNotAllowNegativeNumberOfMinimumInvocations() 29 VerificationModeFactory.atLeast(0); in shouldAllowZeroInvocations()
|
D | VerificationModeBuilder.java | 10 import org.mockito.internal.verification.VerificationModeFactory; 17 return VerificationModeFactory.times(times); in inOrder()
|
D | TimesTest.java | 12 import org.mockito.internal.verification.VerificationModeFactory; 25 VerificationModeFactory.times(-50); in shouldNotAllowNegativeNumberOfInvocations()
|
/external/mockito/src/main/java/org/mockito/ |
D | Mockito.java | 15 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/ |
D | After.java | 7 import org.mockito.internal.verification.VerificationModeFactory; 44 return VerificationModeFactory.description(this, description); in description()
|
D | Timeout.java | 10 import org.mockito.internal.verification.VerificationModeFactory; 65 return VerificationModeFactory.description(this, description); in description()
|
/external/mockito/src/main/java/org/mockito/internal/ |
D | InOrderImpl.java | 12 import org.mockito.internal.verification.VerificationModeFactory; 43 return this.verify(mock, VerificationModeFactory.times(1)); in verify()
|
D | MockitoCore.java | 22 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/ |
D | MockHandlerImplTest.java | 20 import org.mockito.internal.verification.VerificationModeFactory; 48 mockingProgress().verificationStarted(VerificationModeFactory.atLeastOnce()); in should_remove_verification_mode_even_when_invalid_matchers()
|