Home
last modified time | relevance | path

Searched refs:atLeastOnce (Results 1 – 25 of 28) sorted by relevance

12

/external/mockito/src/test/java/org/mockitousage/verification/
DVerificationInOrderMixedWithOrdiraryVerificationTest.java44 inOrder.verify(mockOne, atLeastOnce()).simpleMethod(1); in shouldMixVerificationInOrderAndOrdinaryVerification()
54 inOrder.verify(mockOne, atLeastOnce()).simpleMethod(1); in shouldAllowOrdinarilyVerifyingMockPassedToInOrderObject()
65 verify(mockOne, atLeastOnce()).simpleMethod(1); in shouldAllowRedundantVerifications()
70 inOrder.verify(mockOne, atLeastOnce()).simpleMethod(1); in shouldAllowRedundantVerifications()
79 inOrder.verify(mockOne, atLeastOnce()).simpleMethod(1); in shouldFailOnNoMoreInteractions()
91 inOrder.verify(mockOne, atLeastOnce()).simpleMethod(1); in shouldFailOnNoMoreInteractionsOnMockVerifiedInOrder()
104 verify(mockOne, atLeastOnce()).simpleMethod(1); in shouldAllowOneMethodVerifiedInOrder()
106 inOrder.verify(mockOne, atLeastOnce()).simpleMethod(1); in shouldAllowOneMethodVerifiedInOrder()
117 inOrder.verify(mockOne, atLeastOnce()).simpleMethod(1); in shouldFailOnLastInvocationTooEarly()
124 inOrder.verify(mockTwo, atLeastOnce()).simpleMethod(1); in shouldScreamWhenUnfamiliarMockPassedToInOrderObject()
DRelaxedVerificationInOrderTest.java103 inOrder.verify(mockTwo, atLeastOnce()).simpleMethod(2); in shouldVerifyInteractionsFromAllChunksWhenAtLeastOnceMode()
130 inOrder.verify(mockTwo, atLeastOnce()).simpleMethod(2); in shouldPassOnCombinationOfTimesAndAtLeastOnce()
140 inOrder.verify(mockTwo, atLeastOnce()).simpleMethod(2); in shouldPassOnEdgyCombinationOfTimesAndAtLeastOnce()
182 inOrder.verify(mockTwo, atLeastOnce()).simpleMethod(2); in shouldVerifyMockTwoCalledAtLeastOnce()
187 inOrder.verify(mockTwo, atLeastOnce()).differentMethod(); in shouldFailOnWrongMethodCalledOnMockTwo()
192 inOrder.verify(mockTwo, atLeastOnce()).simpleMethod(2); in shouldAllowTimesZeroButOnlyInOrder()
222 inOrder.verify(mockTwo, atLeastOnce()).simpleMethod(2); in shouldVerifySecondAndLastInvocation()
228 inOrder.verify(mockTwo, atLeastOnce()).simpleMethod(2); in shouldVerifySecondAndLastInvocationWhenAtLeastOnceUsed()
236 inOrder.verify(mockTwo, atLeastOnce()).simpleMethod(2); in shouldFailOnLastTwoInvocationsInWrongOrder()
DBasicVerificationInOrderTest.java57 inOrder.verify(mockOne, atLeastOnce()).simpleMethod(1); in shouldVerifyInOrderUsingAtLeastOnce()
61 inOrder.verify(mockOne, atLeastOnce()).simpleMethod(4); in shouldVerifyInOrderUsingAtLeastOnce()
134 inOrder.verify(mockOne, atLeastOnce()).simpleMethod(1); in shouldFailOnLastMethodBecauseOneInvocationWanted()
136 inOrder.verify(mockThree, atLeastOnce()).simpleMethod(3); in shouldFailOnLastMethodBecauseOneInvocationWanted()
137 inOrder.verify(mockTwo, atLeastOnce()).simpleMethod(2); in shouldFailOnLastMethodBecauseOneInvocationWanted()
147 inOrder.verify(mockOne, atLeastOnce()).simpleMethod(1); in shouldFailOnLastMethodBecauseOneInvocationWantedAgain()
149 inOrder.verify(mockThree, atLeastOnce()).simpleMethod(3); in shouldFailOnLastMethodBecauseOneInvocationWantedAgain()
150 inOrder.verify(mockTwo, atLeastOnce()).simpleMethod(2); in shouldFailOnLastMethodBecauseOneInvocationWantedAgain()
240 inOrder.verify(mockTwo, atLeastOnce()).simpleMethod(2); in shouldFailWhenMiddleMethodVerifiedFirstInAtLeastOnceMode()
DDescriptiveMessagesOnVerificationInOrderErrorsTest.java46 inOrder.verify(two, atLeastOnce()).simpleMethod(2); in shouldPrintVerificationInOrderErrorAndShowBothWantedAndPrevious()
49 inOrder.verify(one, atLeastOnce()).simpleMethod(11); in shouldPrintVerificationInOrderErrorAndShowBothWantedAndPrevious()
169 inOrder.verify(one, atLeastOnce()).simpleMethod(anyInt()); in shouldPrintTooLittleInvocations()
171 inOrder.verify(three, atLeastOnce()).simpleMethod(3); in shouldPrintTooLittleInvocations()
DBasicVerificationTest.java61 verify(mock, atLeastOnce()).clear(); in shouldFailOnWrongMethod()
62 verify(mockTwo, atLeastOnce()).add("add"); in shouldFailOnWrongMethod()
64 verify(mockTwo, atLeastOnce()).add("foo"); in shouldFailOnWrongMethod()
DVerificationInOrderTest.java60 inOrder.verify(mockOne, atLeastOnce()).differentMethod(); in shouldMessagesPointToProperMethod()
79 inOrder.verify(mockOne, atLeastOnce()).simpleMethod(); in shouldVerifyInOrderWhenTwoChunksAreEqual()
DVerificationWithTimeoutTest.java65 verify(mock, timeout(100).atLeastOnce()).oneArg('c'); in shouldVerifyWithTimeout()
79 verify(mock, timeout(20).atLeastOnce()).oneArg('c'); in shouldFailVerificationWithTimeout()
DDescriptiveMessagesWhenVerificationFailsTest.java216 verify(mock, atLeastOnce()).twoArgumentMethod(1, 2); in should_print_method_name_when_verifying_at_least_once()
226 verify(mock, atLeastOnce()).twoArgumentMethod(anyInt(), eq(100)); in should_print_method_when_matcher_used()
/external/mockito/src/test/java/org/mockitousage/stacktrace/
DPointingStackTraceToActualInvocationChunkInOrderTest.java71 inOrder.verify(mock, atLeastOnce()).simpleMethod(anyInt()); in shouldPointToThirdInteractionBecauseAtLeastOnceUsed()
85 inOrder.verify(mock, atLeastOnce()).simpleMethod(anyInt()); in shouldPointToThirdChunkWhenTooLittleActualInvocations()
97 inOrder.verify(mock, atLeastOnce()).simpleMethod(anyInt()); in shouldPointToFourthChunkBecauseTooManyActualInvocations()
DPointingStackTraceToActualInvocationInOrderTest.java55 inOrder.verify(mock, atLeastOnce()).simpleMethod(anyInt()); in shouldPointStackTraceToPreviousVerified()
68 inOrder.verify(mock, atLeastOnce()).simpleMethod(anyInt()); in shouldPointToThirdMethod()
/external/mockito/src/main/java/org/mockito/internal/verification/
DVerificationWrapper.java32 public VerificationMode atLeastOnce() { in atLeastOnce() method in VerificationWrapper
33 return copySelfWithNewVerificationMode(VerificationModeFactory.atLeastOnce()); in atLeastOnce()
DVerificationModeFactory.java12 public static VerificationMode atLeastOnce() { in atLeastOnce() method in VerificationModeFactory
/external/mockito/src/test/java/org/concurrentmockito/
DThreadVerifiesContinuoslyInteractingMockTest.java13 import static org.mockito.Mockito.atLeastOnce;
47 verify(mock, atLeastOnce()).simpleMethod(); in performTest()
/external/mockito/src/test/java/org/mockito/internal/progress/
DMockingProgressImplTest.java44 mockingProgress.verificationStarted(VerificationModeFactory.atLeastOnce()); in shouldCheckIfVerificationWasFinished()
46 mockingProgress.verificationStarted(VerificationModeFactory.atLeastOnce()); in shouldCheckIfVerificationWasFinished()
/external/mockito/src/main/java/org/mockito/verification/
DVerificationWithTimeout.java55 VerificationMode atLeastOnce(); in atLeastOnce() method
DVerificationAfterDelay.java45 VerificationMode atLeastOnce(); in atLeastOnce() method
/external/mockito/src/test/java/org/mockitousage/bugs/
DAIOOBExceptionWithAtLeastTest.java31 verify(progressMonitor, atLeastOnce()).worked(anyInt()); in testCompleteProgress()
DShouldMocksCompareToBeConsistentWithEqualsTest.java61 verify(mock, atLeastOnce()).compareTo(any(Date.class)); in should_allow_stubbing_and_verifying_compare_to()
/external/easymock/src/org/easymock/
DIExpectationSetters.java143 IExpectationSetters<T> atLeastOnce(); in atLeastOnce() method
/external/mockito/src/main/java/org/mockito/
DMockito.java2479 public static VerificationMode atLeastOnce() { in atLeastOnce() method in Mockito
2480 return VerificationModeFactory.atLeastOnce(); in atLeastOnce()
/external/deqp/android/cts/runner/tests/src/com/drawelements/deqp/runner/
DDeqpTestRunnerTest.java221 .andReturn(Integer.toString(version)).atLeastOnce(); in testGlesVersion()
363 .andReturn(Integer.toString(version)).atLeastOnce(); in testResultCode()
530 .andReturn(Integer.toString(version)).atLeastOnce(); in testRun_multipleTests()
627 .andReturn(Integer.toString(version)).atLeastOnce(); in testFiltering()
872 .andReturn(Integer.toString(version)).atLeastOnce(); in testRun_unexecutableTests()
959 .andReturn(Integer.toString(version)).atLeastOnce(); in testRun_queryPmListFailure()
1008 .andReturn(Integer.toString(version)).atLeastOnce(); in testRun_queryRenderabilityFailure()
1092 .andReturn(Integer.toString(version)).atLeastOnce(); in testOrientation()
1342 .andReturn(Integer.toString(version)).atLeastOnce(); in testRun_unsupportedPixelFormat()
1709 .andReturn(Integer.toString(version)).atLeastOnce(); in testInterrupt_killBeforeBatch()
[all …]
/external/guice/extensions/servlet/test/com/google/inject/servlet/
DServletDispatchIntegrationTest.java289 .atLeastOnce(); in testQueryInRequestUri_regex()
327 .atLeastOnce(); in testQueryInRequestUri()
/external/mockito/src/test/java/org/mockitousage/stubbing/
DBasicStubbingTest.java113 verify(localMock, atLeastOnce()).objectReturningMethod(eq(200)); in test_stub_only_not_verifiable()
/external/mockito/src/test/java/org/mockitousage/examples/use/
DExampleTest.java92 inOrder.verify(mockDatabase, atLeastOnce()).save((Article) anyObject()); in shouldPersistRecalculatedArticle()
/external/mockito/src/test/java/org/mockito/internal/handler/
DMockHandlerImplTest.java50 mockingProgress().verificationStarted(VerificationModeFactory.atLeastOnce()); in should_remove_verification_mode_even_when_invalid_matchers()

12