/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 | 61 verify(mock, atLeastOnce()).clear(); in shouldFailOnWrongMethod() 62 verify(mockTwo, atLeastOnce()).add("add"); in shouldFailOnWrongMethod() 64 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 | VerificationWithTimeoutTest.java | 65 verify(mock, timeout(100).atLeastOnce()).oneArg('c'); in shouldVerifyWithTimeout() 79 verify(mock, timeout(20).atLeastOnce()).oneArg('c'); in shouldFailVerificationWithTimeout()
|
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/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/mockito/src/test/java/org/mockito/internal/progress/ |
D | MockingProgressImplTest.java | 44 mockingProgress.verificationStarted(VerificationModeFactory.atLeastOnce()); in shouldCheckIfVerificationWasFinished() 46 mockingProgress.verificationStarted(VerificationModeFactory.atLeastOnce()); in shouldCheckIfVerificationWasFinished()
|
/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/mockito/src/main/java/org/mockito/ |
D | Mockito.java | 2479 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/ |
D | DeqpTestRunnerTest.java | 221 .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/ |
D | ServletDispatchIntegrationTest.java | 289 .atLeastOnce(); in testQueryInRequestUri_regex() 327 .atLeastOnce(); in testQueryInRequestUri()
|
/external/mockito/src/test/java/org/mockitousage/stubbing/ |
D | BasicStubbingTest.java | 113 verify(localMock, atLeastOnce()).objectReturningMethod(eq(200)); in test_stub_only_not_verifiable()
|
/external/mockito/src/test/java/org/mockitousage/examples/use/ |
D | ExampleTest.java | 92 inOrder.verify(mockDatabase, atLeastOnce()).save((Article) anyObject()); in shouldPersistRecalculatedArticle()
|
/external/mockito/src/test/java/org/mockito/internal/handler/ |
D | MockHandlerImplTest.java | 50 mockingProgress().verificationStarted(VerificationModeFactory.atLeastOnce()); in should_remove_verification_mode_even_when_invalid_matchers()
|