/external/mockito/src/test/java/org/mockitousage/verification/ |
D | VerificationInOrderMixedWithOrdiraryVerificationTest.java | 44 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()
|
D | RelaxedVerificationInOrderTest.java | 103 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()
|
D | BasicVerificationInOrderTest.java | 57 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()
|
D | DescriptiveMessagesOnVerificationInOrderErrorsTest.java | 46 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()
|
D | BasicVerificationTest.java | 67 verify(mock, atLeastOnce()).clear(); in shouldFailOnWrongMethod() 68 verify(mockTwo, atLeastOnce()).add("add"); in shouldFailOnWrongMethod() 70 verify(mockTwo, atLeastOnce()).add("foo"); in shouldFailOnWrongMethod()
|
D | VerificationInOrderTest.java | 60 inOrder.verify(mockOne, atLeastOnce()).differentMethod(); in shouldMessagesPointToProperMethod() 79 inOrder.verify(mockOne, atLeastOnce()).simpleMethod(); in shouldVerifyInOrderWhenTwoChunksAreEqual()
|
D | DescriptiveMessagesWhenVerificationFailsTest.java | 216 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/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | MessageDeframerTest.java | 27 import static org.mockito.Mockito.atLeastOnce; 129 verify(listener, atLeastOnce()).bytesRead(anyInt()); in simplePayload() 142 verify(listener, atLeastOnce()).bytesRead(anyInt()); in smallCombinedPayloads() 156 verify(listener, atLeastOnce()).bytesRead(anyInt()); in endOfStreamWithPayloadShouldNotifyEndOfStream() 180 verify(listener, atLeastOnce()).bytesRead(anyInt()); in endOfStreamWithPartialMessageShouldNotifyDeframerClosedWithPartialMessage() 206 verify(listener, atLeastOnce()).bytesRead(anyInt()); in payloadSplitBetweenBuffers() 212 verify(listener, atLeastOnce()).bytesRead(anyInt()); in payloadSplitBetweenBuffers() 231 verify(listener, atLeastOnce()).bytesRead(anyInt()); in frameHeaderSplitBetweenBuffers() 236 verify(listener, atLeastOnce()).bytesRead(anyInt()); in frameHeaderSplitBetweenBuffers() 247 verify(listener, atLeastOnce()).bytesRead(anyInt()); in emptyPayload() [all …]
|
/external/mockito/src/test/java/org/mockitousage/stacktrace/ |
D | PointingStackTraceToActualInvocationChunkInOrderTest.java | 71 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()
|
D | PointingStackTraceToActualInvocationInOrderTest.java | 55 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/ |
D | VerificationWrapper.java | 32 public VerificationMode atLeastOnce() { in atLeastOnce() method in VerificationWrapper 33 return copySelfWithNewVerificationMode(VerificationModeFactory.atLeastOnce()); in atLeastOnce()
|
D | VerificationModeFactory.java | 12 public static VerificationMode atLeastOnce() { in atLeastOnce() method in VerificationModeFactory
|
/external/mockito/src/test/java/org/concurrentmockito/ |
D | ThreadVerifiesContinuoslyInteractingMockTest.java | 13 import static org.mockito.Mockito.atLeastOnce; 47 verify(mock, atLeastOnce()).simpleMethod(); in performTest()
|
/external/lottie/lottie/src/test/java/com/airbnb/lottie/ |
D | LottieDrawableTest.java | 24 import static org.mockito.Mockito.atLeastOnce; 92 verify(animatorListener, atLeastOnce()).onAnimationEnd(any(Animator.class), eq(false)); in testPlayWhenSystemAnimationDisabled() 104 verify(animatorListener, atLeastOnce()).onAnimationEnd(any(Animator.class), eq(false)); in testResumeWhenSystemAnimationDisabled()
|
/external/mockito/src/test/java/org/mockito/internal/progress/ |
D | MockingProgressImplTest.java | 41 mockingProgress.verificationStarted(VerificationModeFactory.atLeastOnce()); in shouldCheckIfVerificationWasFinished() 43 mockingProgress.verificationStarted(VerificationModeFactory.atLeastOnce()); in shouldCheckIfVerificationWasFinished()
|
/external/downloader/src/test/java/com/google/android/downloader/ |
D | DownloaderTest.java | 27 import static org.mockito.Mockito.atLeastOnce; 437 verify(mockCallback, atLeastOnce()).onStateChange(State.create(1, 0, 0)); in downloadOneFile_notFound() 446 verify(mockCallback, atLeastOnce()).onStateChange(State.create(0, 0, 0)); in downloadOneFile_notFound() 571 verify(mockCallback, atLeastOnce()).onStateChange(State.create(0, 0, 1)); in downloadOneFile_waitForConnectivity() 584 verify(mockCallback, atLeastOnce()).onStateChange(State.create(0, 0, 0)); in downloadOneFile_waitForConnectivity() 610 verify(mockCallback, atLeastOnce()).onStateChange(State.create(0, 0, 1)); in downloadOneFile_waitForConnectivity_canceled() 620 verify(mockCallback, atLeastOnce()).onStateChange(State.create(0, 0, 0)); in downloadOneFile_waitForConnectivity_canceled() 647 verify(mockCallback, atLeastOnce()).onStateChange(State.create(0, 0, 1)); in downloadOneFile_timeoutConnectivity() 660 verify(mockCallback, atLeastOnce()).onStateChange(State.create(0, 0, 0)); in downloadOneFile_timeoutConnectivity() 701 verify(mockCallback, atLeastOnce()).onStateChange(State.create(1, 1, 0)); in downloadTwoFiles_sequentially() [all …]
|
/external/mockito/src/main/java/org/mockito/verification/ |
D | VerificationWithTimeout.java | 55 VerificationMode atLeastOnce(); in atLeastOnce() method
|
D | VerificationAfterDelay.java | 45 VerificationMode atLeastOnce(); in atLeastOnce() method
|
/external/mockito/src/test/java/org/mockitousage/bugs/ |
D | AIOOBExceptionWithAtLeastTest.java | 31 verify(progressMonitor, atLeastOnce()).worked(anyInt()); in testCompleteProgress()
|
D | ShouldMocksCompareToBeConsistentWithEqualsTest.java | 61 verify(mock, atLeastOnce()).compareTo(any(Date.class)); in should_allow_stubbing_and_verifying_compare_to()
|
/external/easymock/src/org/easymock/ |
D | IExpectationSetters.java | 143 IExpectationSetters<T> atLeastOnce(); in atLeastOnce() method
|
/external/exoplayer/tree/extensions/ima/src/test/java/com/google/android/exoplayer2/ext/ima/ |
D | ImaAdsLoaderTest.java | 20 import static org.mockito.Mockito.atLeastOnce; 141 verify(adDisplayContainer, atLeastOnce()).setAdContainer(adViewGroup); in start_setsAdUiViewGroup() 142 verify(adDisplayContainer, atLeastOnce()).registerVideoControlsOverlay(adOverlayView); in start_setsAdUiViewGroup()
|
/external/deqp/android/cts/runner/tests/src/com/drawelements/deqp/runner/ |
D | DeqpTestRunnerTest.java | 225 .andReturn(Integer.toString(version)).atLeastOnce(); in testGlesVersion() 367 .andReturn(Integer.toString(version)).atLeastOnce(); in testResultCode() 534 .andReturn(Integer.toString(version)).atLeastOnce(); in testRun_multipleTests() 632 .andReturn(Integer.toString(version)).atLeastOnce(); in testFiltering() 871 .andReturn(Integer.toString(version)).atLeastOnce(); in testRun_unexecutableTests() 959 .andReturn(Integer.toString(version)).atLeastOnce(); in testRun_queryPmListFailure() 1001 .andReturn(Integer.toString(version)).atLeastOnce(); in testRun_queryRenderabilityFailure() 1078 .andReturn(Integer.toString(version)).atLeastOnce(); in testOrientation() 1327 .andReturn(Integer.toString(version)).atLeastOnce(); in testRun_unsupportedPixelFormat() 1695 .andReturn(Integer.toString(version)).atLeastOnce(); in testInterrupt_killBeforeBatch() [all …]
|
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
D | ServletDispatchIntegrationTest.java | 298 expect(requestMock.getRequestURI()).andReturn("/index.html?query=params").atLeastOnce(); in testQueryInRequestUri_regex() 334 expect(requestMock.getRequestURI()).andReturn("/index.html?query=params").atLeastOnce(); in testQueryInRequestUri()
|
/external/mockito/src/main/java/org/mockito/ |
D | Mockito.java | 2707 public static VerificationMode atLeastOnce() { in atLeastOnce() method in Mockito 2708 return VerificationModeFactory.atLeastOnce(); in atLeastOnce()
|