/external/mockito/src/test/java/org/mockitousage/verification/ |
D | SelectedMocksInOrderVerificationTest.java | 10 import org.mockito.InOrder; 41 InOrder inOrder = inOrder(mockOne, mockTwo, mockThree); in shouldVerifyAllInvocationsInOrder() 52 InOrder inOrder = inOrder(mockTwo, mockThree); in shouldVerifyInOrderMockTwoAndThree() 62 InOrder inOrder = inOrder(mockOne, mockThree); in shouldVerifyInOrderMockOneAndThree() 72 InOrder inOrder = inOrder(mockOne); in shouldVerifyMockOneInOrder() 82 InOrder inOrder = inOrder(mockOne); in shouldFailVerificationForMockOne() 93 InOrder inOrder = inOrder(mockOne); in shouldFailVerificationForMockOneBecauseOfWrongOrder() 104 InOrder inOrder = inOrder(mockTwo); in shouldVerifyMockTwoWhenThreeTimesUsed() 113 InOrder inOrder = inOrder(mockTwo); in shouldVerifyMockTwo() 122 InOrder inOrder = inOrder(mockTwo); in shouldFailVerificationForMockTwo() [all …]
|
D | VerificationInOrderWithCallsTest.java | 10 import org.mockito.InOrder; 31 InOrder verifier = inOrder( mockOne ); in shouldFailWhenMethodNotCalled() 51 InOrder verifier = inOrder( mockOne ); in shouldFailWhenMethodCalledTooFewTimes() 72 InOrder verifier = inOrder( mockOne ); in shouldFailWhenSingleMethodCallsAreOutOfSequence() 92 InOrder verifier = inOrder( mockOne ); in shouldFailWhenDifferentMethodCallsAreOutOfSequence() 112 InOrder verifier = inOrder( mockOne, mockTwo ); in shouldFailWhenMethodCallsOnDifferentMocksAreOutOfSequence() 135 InOrder verifier = inOrder( mockOne ); in shouldAllowSequentialCallsToCallsForSingleMethod() 155 InOrder verifier = inOrder( mockOne ); in shouldAllowSequentialCallsToCallsForDifferentMethods() 175 InOrder verifier = inOrder( mockOne, mockTwo ); in shouldAllowSequentialCallsToCallsForMethodsOnDifferentMocks() 198 InOrder verifier = inOrder( mockOne ); in shouldAllowFewerCallsForSingleMethod() [all …]
|
D | FindingRedundantInvocationsInOrderTest.java | 9 import org.mockito.InOrder; 29 InOrder inOrder = inOrder(mock); in shouldWorkFineIfNoInvocations() 41 InOrder inOrder = inOrder(mock); in shouldSayNoInteractionsWanted() 58 InOrder inOrder = inOrder(mock); in shouldVerifyNoMoreInteractionsInOrder() 72 InOrder inOrder = inOrder(mock, mock2); in shouldVerifyNoMoreInteractionsInOrderWithMultipleMocks() 86 InOrder inOrder = inOrder(mock); in shouldFailToVerifyNoMoreInteractionsInOrder() 102 InOrder inOrder = inOrder(mock, mock2); in shouldFailToVerifyNoMoreInteractionsInOrderWithMultipleMocks() 114 InOrder inOrder = inOrder(mock); in shouldValidateState()
|
D | VerificationExcludingStubsTest.java | 9 import org.mockito.InOrder; 55 InOrder inOrder = inOrder(ignoreStubs(mock)); in shouldExcludeFromVerificationInOrder()
|
D | VerificationInOrderTest.java | 10 import org.mockito.InOrder; 25 private InOrder inOrder;
|
/external/dexmaker/dexmaker-mockito-inline-extended/src/main/java/com/android/dx/mockito/inline/extended/ |
D | StaticInOrder.java | 19 import org.mockito.InOrder; 30 public class StaticInOrder implements InOrder { 31 private final InOrder instanceInOrder; 33 StaticInOrder(InOrder inOrder) { in StaticInOrder()
|
/external/mockito/src/test/java/org/mockitousage/stacktrace/ |
D | ModellingDescriptiveMessagesTest.java | 13 import org.mockito.InOrder; 78 InOrder inOrder = inOrder(mock); in shouldSayWantedButNotInvokedInOrder() 89 InOrder inOrder = inOrder(mock); in shouldSayTooLittleInvocationsInOrder() 99 InOrder inOrder = inOrder(mock); in shouldSayTooManyInvocationsInOrder() 114 InOrder inOrder = inOrder(mock); in shouldSayTooLittleInvocationsInAtLeastModeInOrder()
|
D | StackTraceFilteringTest.java | 12 import org.mockito.InOrder; 89 InOrder inOrder = inOrder(mock); in shouldFilterStacktraceWhenVerifyingInOrder() 115 InOrder inOrder = inOrder(mock); in shouldFilterStacktraceWhenInOrderVerifies()
|
D | PointingStackTraceToActualInvocationChunkInOrderTest.java | 11 import org.mockito.InOrder; 27 private InOrder inOrder;
|
/external/mockito/src/test/java/org/mockitousage/bugs/ |
D | MultipleInOrdersTest.java | 8 import org.mockito.InOrder; 28 InOrder inOrder = inOrder(list); in inOrderTest() 29 InOrder inAnotherOrder = inOrder(list); in inOrderTest()
|
/external/dagger2/producers/src/test/java/dagger/producers/monitoring/internal/ |
D | MonitorsTest.java | 26 import org.mockito.InOrder; 128 InOrder order = inOrder(mockProducerMonitor); in singleMonitor_normalProducerMonitorSuccess() 149 InOrder order = inOrder(mockProducerMonitor); in singleMonitor_normalProducerMonitorFailure() 173 InOrder order = inOrder(mockProducerMonitor); in singleMonitor_throwingProducerMonitorSuccess() 197 InOrder order = inOrder(mockProducerMonitor); in singleMonitor_throwingProducerMonitorFailure() 261 InOrder order = inOrder(mockProducerMonitorA); in multipleMonitors_someNullProductionComponentMonitors() 295 InOrder order = inOrder(mockProducerMonitorA); in multipleMonitors_someThrowingProductionComponentMonitorFactories() 320 InOrder order = inOrder(mockProducerMonitorA, mockProducerMonitorB, mockProducerMonitorC); in multipleMonitors_normalProductionComponentMonitorSuccess() 351 InOrder order = inOrder(mockProducerMonitorA, mockProducerMonitorB, mockProducerMonitorC); in multipleMonitors_normalProductionComponentMonitorFailure() 385 InOrder order = inOrder(mockProducerMonitorA, mockProducerMonitorB, mockProducerMonitorC); in multipleMonitors_someThrowingProducerMonitorsSuccess() [all …]
|
/external/grpc-grpc-java/testing/src/test/java/io/grpc/testing/ |
D | GrpcCleanupRuleTest.java | 45 import org.mockito.InOrder; 96 InOrder inOrder = inOrder(statement, channel); in singleChannelCleanup() 123 InOrder inOrder = inOrder(statement, server); in singleServerCleanup() 156 InOrder inOrder = inOrder(statement, resource1, resource2, resource3); in multiResource_cleanupGracefully() 224 InOrder inOrder = inOrder(statement, resource1, resource2, resource3); in multiResource_awaitReleasedFails() 271 InOrder inOrder = inOrder(statement, resource1, resource2, resource3); in multiResource_awaitReleasedInterrupted() 319 InOrder inOrder = inOrder(statement, resource1, resource2); in multiResource_timeoutCalculation() 356 InOrder inOrder = inOrder(statement, resource1, resource2); in multiResource_timeoutCalculation_customTimeout() 393 InOrder inOrder = inOrder(statement, resource1, resource2, resource3); in baseTestFailsThenCleanupFails()
|
/external/dagger2/compiler/src/it/producers-functional-tests/src/test/java/producerstest/ |
D | ProducerFactoryTest.java | 31 import org.mockito.InOrder; 69 InOrder order = inOrder(componentMonitor, monitor); in noArgMethod() 100 InOrder order = inOrder(componentMonitor, monitor); in successMonitor() 127 InOrder order = inOrder(componentMonitor, monitor); in failureMonitor() 157 InOrder order = inOrder(componentMonitor, monitor); in failureMonitorDueToThrowingProducer()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | ChannelExecutorTest.java | 35 import org.mockito.InOrder; 75 InOrder inOrder = inOrder(task1, task2, task3); in singleThread() 89 InOrder inOrder = inOrder(task1, task2); in multiThread() 151 InOrder inOrder = inOrder(task1, task2, task3); in taskThrows()
|
/external/mockito/src/test/java/org/concurrentmockito/ |
D | VerificationInOrderFromMultipleThreadsTest.java | 9 import org.mockito.InOrder; 37 InOrder inOrder = inOrder(testInf); in shouldVerifyInOrderWhenMultipleThreadsInteractWithMock()
|
/external/mockito/src/test/java/org/mockitousage/customization/ |
D | BDDMockitoTest.java | 9 import org.mockito.InOrder; 300 InOrder inOrder = inOrder(mock); in should_pass_for_interactions_that_happened_in_correct_order() 307 InOrder inOrder = inOrder(mock); in should_fail_for_interactions_that_were_in_wrong_order() 348 InOrder inOrder = inOrder(person); in should_pass_fluent_bdd_scenario_with_ordered_verification() 363 InOrder inOrder = inOrder(person, police); in should_pass_fluent_bdd_scenario_with_ordered_verification_for_two_mocks()
|
/external/mockito/src/test/java/org/mockitousage/misuse/ |
D | CleaningUpPotentialStubbingTest.java | 8 import org.mockito.InOrder; 34 InOrder inOrder = inOrder(mock); in shouldResetOngoingStubbingOnInOrder()
|
D | RestrictedObjectMethodsTest.java | 10 import org.mockito.InOrder; 62 InOrder inOrder = inOrder(mock); in shouldBeSilentWhenVerifyEqualsInOrder()
|
/external/mockito/src/test/java/org/mockitousage/spies/ |
D | SpyingOnRealObjectsTest.java | 9 import org.mockito.InOrder; 107 InOrder inOrder = inOrder(spy); in shouldVerifyInOrder() 119 InOrder inOrder = inOrder(spy); in shouldVerifyInOrderAndFail()
|
/external/mockito/src/main/java/org/mockito/ |
D | BDDMockito.java | 243 T should(InOrder inOrder); in should() 249 T should(InOrder inOrder, VerificationMode mode); in should() 292 public T should(InOrder inOrder) { in should() 300 public T should(InOrder inOrder, VerificationMode mode) { in should()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/ |
D | PickFirstLoadBalancerTest.java | 52 import org.mockito.InOrder; 139 InOrder inOrder = inOrder(mockHelper); in pickAfterResolvedAndChanged() 168 InOrder inOrder = inOrder(mockHelper); in pickAfterStateChangeAfterResolution() 201 InOrder inOrder = inOrder(mockHelper); in nameResolutionSuccessAfterError() 224 InOrder inOrder = inOrder(mockHelper); in nameResolutionErrorWithStateChanges()
|
/external/volley/src/test/java/com/android/volley/ |
D | NetworkDispatcherTest.java | 40 import org.mockito.InOrder; 89 InOrder inOrder = inOrder(listener); in successNotifiesListener() 119 InOrder inOrder = inOrder(listener); in exceptionNotifiesListener()
|
D | RequestQueueIntegrationTest.java | 35 import org.mockito.InOrder; 95 InOrder inOrder = inOrder(mMockListener); in add_requestProcessedInCorrectOrder() 130 InOrder inOrder = inOrder(mMockListener); in add_dedupeByCacheKey()
|
/external/mockito/src/main/java/org/mockito/internal/ |
D | InOrderImpl.java | 8 import org.mockito.InOrder; 28 public class InOrderImpl implements InOrder, InOrderContext {
|
/external/mockito/src/test/java/org/mockito/verification/ |
D | TimeoutTest.java | 8 import org.mockito.InOrder; 38 InOrder inOrder = inOrder(timer); in should_pass_when_verification_passes()
|