Home
last modified time | relevance | path

Searched refs:verifyNoMoreInteractions (Results 1 – 25 of 101) sorted by relevance

12345

/external/mockito/src/test/java/org/mockitousage/verification/
DNoMoreInteractionsVerificationTest.java40 verifyNoMoreInteractions(mock); in shouldStubbingNotRegisterRedundantInteractions()
51 verifyNoMoreInteractions(mock); in shouldVerifyWhenWantedNumberOfInvocationsUsed()
56 verifyNoMoreInteractions(mock); in shouldVerifyNoInteractionsAsManyTimesAsYouWant()
57 verifyNoMoreInteractions(mock); in shouldVerifyNoInteractionsAsManyTimesAsYouWant()
78 verifyNoMoreInteractions(mock); in shouldFailNoMoreInteractionsVerification()
91 verifyNoMoreInteractions(mock); in shouldPrintAllInvocationsWhenVerifyingNoMoreInvocations()
103 verifyNoMoreInteractions(mock); in shouldNotContainAllInvocationsWhenSingleUnwantedFound()
122 verifyNoMoreInteractions(list); in shouldVerifyOneMockButFailOnOther()
132 verifyNoMoreInteractions((Object[])null); in verifyNoMoreInteractionsShouldScreamWhenNullPassed()
DRelaxedVerificationInOrderTest.java54 verifyNoMoreInteractions(mockOne, mockTwo, mockThree); in shouldVerifyInOrderAllInvocations()
62 verifyNoMoreInteractions(mockThree); in shouldVerifyInOrderAndBeRelaxed()
71 verifyNoMoreInteractions(mockTwo); in shouldAllowFirstChunkBeforeLastInvocation()
81 verifyNoMoreInteractions(mockTwo); in shouldAllowAllChunksBeforeLastInvocation()
89 verifyNoMoreInteractions(mockTwo); in shouldVerifyDetectFirstChunkOfInvocationThatExistInManyChunks()
98 verifyNoMoreInteractions(mockTwo); in shouldVerifyDetectAllChunksOfInvocationThatExistInManyChunks()
104 verifyNoMoreInteractions(mockTwo); in shouldVerifyInteractionsFromAllChunksWhenAtLeastOnceMode()
115 verifyNoMoreInteractions(mockTwo); in shouldVerifyInteractionsFromFirstChunk()
131 verifyNoMoreInteractions(mockTwo); in shouldPassOnCombinationOfTimesAndAtLeastOnce()
143 verifyNoMoreInteractions(mockThree); in shouldPassOnEdgyCombinationOfTimesAndAtLeastOnce()
[all …]
DFindingRedundantInvocationsInOrderTest.java32 inOrder.verifyNoMoreInteractions(); in shouldWorkFineIfNoInvocations()
43 inOrder.verifyNoMoreInteractions(); in shouldSayNoInteractionsWanted()
61 inOrder.verifyNoMoreInteractions(); in shouldVerifyNoMoreInteractionsInOrder()
75 inOrder.verifyNoMoreInteractions(); in shouldVerifyNoMoreInteractionsInOrderWithMultipleMocks()
89 inOrder.verifyNoMoreInteractions(); in shouldFailToVerifyNoMoreInteractionsInOrder()
105 inOrder.verifyNoMoreInteractions(); in shouldFailToVerifyNoMoreInteractionsInOrderWithMultipleMocks()
119 inOrder.verifyNoMoreInteractions(); in shouldValidateState()
DSelectedMocksInOrderVerificationTest.java47 verifyNoMoreInteractions(mockOne, mockTwo, mockThree); in shouldVerifyAllInvocationsInOrder()
57 verifyNoMoreInteractions(mockTwo, mockThree); in shouldVerifyInOrderMockTwoAndThree()
67 verifyNoMoreInteractions(mockOne, mockThree); in shouldVerifyInOrderMockOneAndThree()
77 verifyNoMoreInteractions(mockOne); in shouldVerifyMockOneInOrder()
108 verifyNoMoreInteractions(mockTwo); in shouldVerifyMockTwoWhenThreeTimesUsed()
117 verifyNoMoreInteractions(mockTwo); in shouldVerifyMockTwo()
165 verifyNoMoreInteractions(mockTwo); in shouldAllowThreeTimesOnMockTwo()
175 verifyNoMoreInteractions(mockTwo, mockThree); in shouldVerifyMockTwoCompletely()
184 verifyNoMoreInteractions(mockTwo); in shouldAllowTwoTimesOnMockTwo()
DVerificationInOrderWithCallsTest.java141 verifyNoMoreInteractions(mockOne); in shouldAllowSequentialCallsToCallsForSingleMethod()
142 verifier.verifyNoMoreInteractions(); in shouldAllowSequentialCallsToCallsForSingleMethod()
161 verifyNoMoreInteractions(mockOne); in shouldAllowSequentialCallsToCallsForDifferentMethods()
162 verifier.verifyNoMoreInteractions(); in shouldAllowSequentialCallsToCallsForDifferentMethods()
181 verifyNoMoreInteractions(mockOne); in shouldAllowSequentialCallsToCallsForMethodsOnDifferentMocks()
182 verifyNoMoreInteractions(mockTwo); in shouldAllowSequentialCallsToCallsForMethodsOnDifferentMocks()
183 verifier.verifyNoMoreInteractions(); in shouldAllowSequentialCallsToCallsForMethodsOnDifferentMocks()
225 verifyNoMoreInteractions( mockOne ); in shouldNotVerifySkippedCallsWhenFewerCallsForSingleMethod()
245 verifier.verifyNoMoreInteractions(); in shouldNotVerifySkippedCallsInInOrderWhenFewerCallsForSingleMethod()
286 verifyNoMoreInteractions( mockOne ); in shouldNotVerifySkippedCallsWhenFewerCallsForDifferentMethods()
[all …]
DVerificationExcludingStubsTest.java37 try { verifyNoMoreInteractions(mock); fail(); } catch (NoInteractionsWanted e) {} in shouldAllowToExcludeStubsForVerification()
41 verifyNoMoreInteractions(mock); in shouldAllowToExcludeStubsForVerification()
58 inOrder.verifyNoMoreInteractions(); in shouldExcludeFromVerificationInOrder()
59 verifyNoMoreInteractions(mock); in shouldExcludeFromVerificationInOrder()
DVerificationInOrderMixedWithOrdiraryVerificationTest.java49 verifyNoMoreInteractions(mockOne, mockTwo, mockThree); in shouldMixVerificationInOrderAndOrdinaryVerification()
60 verifyNoMoreInteractions(mockOne, mockTwo, mockThree); in shouldAllowOrdinarilyVerifyingMockPassedToInOrderObject()
74 verifyNoMoreInteractions(mockOne, mockTwo, mockThree); in shouldAllowRedundantVerifications()
84 verifyNoMoreInteractions(mockOne, mockTwo, mockThree); in shouldFailOnNoMoreInteractions()
96 verifyNoMoreInteractions(mockOne, mockTwo, mockThree); in shouldFailOnNoMoreInteractionsOnMockVerifiedInOrder()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DMessageFramerTest.java26 import static org.mockito.Mockito.verifyNoMoreInteractions;
80 verifyNoMoreInteractions(sink); in simplePayload()
85 verifyNoMoreInteractions(sink); in simplePayload()
97 verifyNoMoreInteractions(sink); in simpleUnknownLengthPayload()
104 verifyNoMoreInteractions(sink); in smallPayloadsShouldBeCombined()
106 verifyNoMoreInteractions(sink); in smallPayloadsShouldBeCombined()
110 verifyNoMoreInteractions(sink); in smallPayloadsShouldBeCombined()
118 verifyNoMoreInteractions(sink); in closeCombinedWithFullSink()
122 verifyNoMoreInteractions(sink); in closeCombinedWithFullSink()
131 verifyNoMoreInteractions(sink); in closeWithoutBufferedFrameGivesNullBuffer()
[all …]
DMessageDeframerTest.java32 import static org.mockito.Mockito.verifyNoMoreInteractions;
130 verifyNoMoreInteractions(listener); in simplePayload()
144 verifyNoMoreInteractions(listener); in smallCombinedPayloads()
157 verifyNoMoreInteractions(listener); in endOfStreamWithPayloadShouldNotifyEndOfStream()
171 verifyNoMoreInteractions(listener); in endOfStreamShouldNotifyEndOfStream()
182 verifyNoMoreInteractions(listener); in endOfStreamWithPartialMessageShouldNotifyDeframerClosedWithPartialMessage()
198 verifyNoMoreInteractions(listener); in endOfStreamWithInvalidGzipBlockShouldNotifyDeframerClosedWithPartialMessage()
207 verifyNoMoreInteractions(listener); in payloadSplitBetweenBuffers()
213 verifyNoMoreInteractions(listener); in payloadSplitBetweenBuffers()
232 verifyNoMoreInteractions(listener); in frameHeaderSplitBetweenBuffers()
[all …]
DDelayedClientTransportTest.java33 import static org.mockito.Mockito.verifyNoMoreInteractions;
136 verifyNoMoreInteractions(streamListener); in streamStartThenAssignTransport()
139 verifyNoMoreInteractions(streamListener); in streamStartThenAssignTransport()
162 verifyNoMoreInteractions(transportListener); in transportTerminatedThenAssignTransport()
194 verifyNoMoreInteractions(mockRealTransport); in cancelStreamWithoutSetTransport()
195 verifyNoMoreInteractions(mockRealStream); in cancelStreamWithoutSetTransport()
205 verifyNoMoreInteractions(mockRealTransport); in startThenCancelStreamWithoutSetTransport()
206 verifyNoMoreInteractions(mockRealStream); in startThenCancelStreamWithoutSetTransport()
238 verifyNoMoreInteractions(mockRealTransport); in newStreamThenShutdownTransportThenAssignTransport()
239 verifyNoMoreInteractions(mockRealStream); in newStreamThenShutdownTransportThenAssignTransport()
[all …]
DRetriableStreamTest.java39 import static org.mockito.Mockito.verifyNoMoreInteractions;
211 inOrder.verifyNoMoreInteractions(); in retry_everythingDrained()
232 inOrder.verifyNoMoreInteractions(); in retry_everythingDrained()
247 inOrder.verifyNoMoreInteractions(); in retry_everythingDrained()
259 inOrder.verifyNoMoreInteractions(); in retry_everythingDrained()
283 inOrder.verifyNoMoreInteractions(); in retry_everythingDrained()
290 verifyNoMoreInteractions(mockStream1); in retry_everythingDrained()
306 inOrder.verifyNoMoreInteractions(); in retry_everythingDrained()
330 inOrder.verifyNoMoreInteractions(); in retry_everythingDrained()
338 inOrder.verifyNoMoreInteractions(); in retry_everythingDrained()
[all …]
/external/dexmaker/dexmaker-mockito-inline-extended-tests/src/main/java/com/android/dx/mockito/inline/extended/tests/
DVerifyStatic.java32 import static com.android.dx.mockito.inline.extended.ExtendedMockito.verifyNoMoreInteractions;
52 verifyNoMoreInteractions(staticMockMarker(EchoClass.class)); in verifyMockedStringMethod()
67 verifyNoMoreInteractions(staticMockMarker(ConsumeClass.class)); in verifyMockedVoidMethod()
88 verifyNoMoreInteractions(staticMockMarker(ConsumeClass.class)); in verifyWithTwoMocks()
104 verifyNoMoreInteractions(staticMockMarker(EchoClass.class)); in verifySpiedStringMethod()
123 echoInOrder.verifyNoMoreInteractions(); in verifyInOrder()
128 consumeInOrder.verifyNoMoreInteractions(); in verifyInOrder()
136 combinedInOrder.verifyNoMoreInteractions(); in verifyInOrder()
200 verifyNoMoreInteractions(ignoreStubs(staticMockMarker(EchoClass.class))); in verifyWithIgnoreStubs()
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DPickFirstLoadBalancerTest.java33 import static org.mockito.Mockito.verifyNoMoreInteractions;
98 verifyNoMoreInteractions(mockArgs); in tearDown()
112 verifyNoMoreInteractions(mockHelper); in pickAfterResolved()
120 verifyNoMoreInteractions(mockSubchannel); in pickAfterResolvedAndUnchanged()
130 verifyNoMoreInteractions(mockHelper); in pickAfterResolvedAndUnchanged()
150 verifyNoMoreInteractions(mockSubchannel); in pickAfterResolvedAndChanged()
151 verifyNoMoreInteractions(mockHelper); in pickAfterResolvedAndChanged()
158 verifyNoMoreInteractions(mockHelper); in stateChangeBeforeResolution()
184 verifyNoMoreInteractions(mockHelper); in pickAfterStateChangeAfterResolution()
196 verifyNoMoreInteractions(mockHelper); in nameResolutionError()
[all …]
/external/mockito/src/test/java/org/mockitousage/stubbing/
DStrictStubbingTest.java20 import static org.mockito.Mockito.verifyNoMoreInteractions;
52 verifyNoMoreInteractions(mock); in few_verified_interactions()
61 verifyNoMoreInteractions(mock); in stubbed_method_is_implicitly_verified()
73 verifyNoMoreInteractions(mock); in unused_stubbed_is_not_implicitly_verified()
/external/guava/guava-tests/test/com/google/common/hash/
DHashingOutputStreamTest.java19 import static org.mockito.Mockito.verifyNoMoreInteractions;
53 verifyNoMoreInteractions(hashFunction, hasher); in testWrite_putSingleByte()
63 verifyNoMoreInteractions(hashFunction, hasher); in testWrite_putByteArray()
73 verifyNoMoreInteractions(hashFunction, hasher); in testWrite_putByteArrayAtPos()
DHashingInputStreamTest.java19 import static org.mockito.Mockito.verifyNoMoreInteractions;
57 verifyNoMoreInteractions(hashFunction, hasher); in testRead_putSingleByte()
72 verifyNoMoreInteractions(hashFunction, hasher); in testRead_putByteArray()
87 verifyNoMoreInteractions(hashFunction, hasher); in testRead_putByteArrayAtPos()
105 verifyNoMoreInteractions(hashFunction, hasher); in testRead_putByteArrayOutOfBound()
/external/guava/android/guava-tests/test/com/google/common/hash/
DHashingOutputStreamTest.java19 import static org.mockito.Mockito.verifyNoMoreInteractions;
53 verifyNoMoreInteractions(hashFunction, hasher); in testWrite_putSingleByte()
63 verifyNoMoreInteractions(hashFunction, hasher); in testWrite_putByteArray()
73 verifyNoMoreInteractions(hashFunction, hasher); in testWrite_putByteArrayAtPos()
DHashingInputStreamTest.java19 import static org.mockito.Mockito.verifyNoMoreInteractions;
57 verifyNoMoreInteractions(hashFunction, hasher); in testRead_putSingleByte()
72 verifyNoMoreInteractions(hashFunction, hasher); in testRead_putByteArray()
87 verifyNoMoreInteractions(hashFunction, hasher); in testRead_putByteArrayAtPos()
105 verifyNoMoreInteractions(hashFunction, hasher); in testRead_putByteArrayOutOfBound()
/external/auto/value/src/it/functional/src/test/java/com/google/auto/value/gwt/
DCustomFieldSerializerTest.java19 import static org.mockito.Mockito.verifyNoMoreInteractions;
90 verifyNoMoreInteractions(streamWriter); in testCustomFieldSerializer()
114 verifyNoMoreInteractions(streamWriter); in testCustomFieldSerializerWithGetters()
137 verifyNoMoreInteractions(streamWriter); in testCustomFieldSerializerGeneric()
170 verifyNoMoreInteractions(streamWriter); in testCustomFieldSerializerWithBuilder()
203 verifyNoMoreInteractions(streamWriter); in testCustomFieldSerializerWithBuilderAndGetters()
233 verifyNoMoreInteractions(streamWriter); in testCustomFieldSerializerGenericWithBuilder()
/external/volley/src/test/java/com/android/volley/
DRequestQueueTest.java22 import static org.mockito.Mockito.verifyNoMoreInteractions;
87 verifyNoMoreInteractions(listener); in add_notifiesListener()
100 verifyNoMoreInteractions(listener); in finish_notifiesListener()
114 verifyNoMoreInteractions(listener); in sendRequestEvent_notifiesListener()
127 verifyNoMoreInteractions(listener); in removeRequestEventListener_removesListener()
DAsyncRequestQueueTest.java22 import static org.mockito.Mockito.verifyNoMoreInteractions;
118 verifyNoMoreInteractions(listener); in add_notifiesListener()
132 verifyNoMoreInteractions(listener); in finish_notifiesListener()
147 verifyNoMoreInteractions(listener); in sendRequestEvent_notifiesListener()
161 verifyNoMoreInteractions(listener); in removeRequestEventListener_removesListener()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/analytics/
DDefaultPlaybackSessionManagerTest.java26 import static org.mockito.Mockito.verifyNoMoreInteractions;
69 verifyNoMoreInteractions(mockListener); in updateSessions_withoutMediaPeriodId_createsNewSession()
85 verifyNoMoreInteractions(mockListener); in updateSessions_withMediaPeriodId_createsNewSession()
107 verifyNoMoreInteractions(mockListener); in updateSessions_ofSameWindow_withMediaPeriodId_afterWithoutMediaPeriodId_doesNotCreateNewSession()
133 verifyNoMoreInteractions(mockListener); in updateSessions_ofSameWindow_withAd_afterWithoutMediaPeriodId_createsNewSession()
156 verifyNoMoreInteractions(mockListener); in updateSessions_ofSameWindow_withoutMediaPeriodId_afterMediaPeriodId_doesNotCreateNewSession()
180 verifyNoMoreInteractions(mockListener); in updateSessions_ofSameWindow_withoutMediaPeriodId_afterAd_doesNotCreateNewSession()
204 verifyNoMoreInteractions(mockListener); in updateSessions_withOtherMediaPeriodId_ofSameWindow_doesNotCreateNewSession()
235 verifyNoMoreInteractions(mockListener); in updateSessions_withAd_ofSameWindow_createsNewSession()
259 verifyNoMoreInteractions(mockListener); in updateSessions_ofOtherWindow_createsNewSession()
[all …]
/external/mockito/src/test/java/org/mockitousage/misuse/
DDescriptiveMessagesOnMisuseTest.java72 verifyNoMoreInteractions(mock.byteReturningMethod()); in shouldScreamWhenWholeMethodPassedToVerifyNoMoreInteractions()
95 verifyNoMoreInteractions(null, "blah"); in shouldScreamWhenNotMockPassedToVerifyNoMoreInteractions()
101 verifyNoMoreInteractions((Object[])null); in shouldScreamWhenNullPassedToVerifyNoMoreInteractions()
/external/mockito/src/test/java/org/mockitousage/spies/
DSpyingOnRealObjectsTest.java99 verifyNoMoreInteractions(spy); in shouldStubWithDoReturnAndVerify()
111 verifyNoMoreInteractions(spy); in shouldVerifyInOrder()
133 verifyNoMoreInteractions(spy); in shouldVerifyNumberOfTimes()
154 verifyNoMoreInteractions(spy); in shouldVerifyNoMoreInteractionsAndFail()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/
DDefaultMediaClockTest.java21 import static org.mockito.Mockito.verifyNoMoreInteractions;
63 verifyNoMoreInteractions(listener); in standaloneGetAndResetPosition_shouldNotTriggerCallback()
108 verifyNoMoreInteractions(listener); in standaloneStartAndStop_shouldNotTriggerCallback()
125 verifyNoMoreInteractions(listener); in standaloneSetPlaybackSpeed_shouldNotTriggerCallback()
150 verifyNoMoreInteractions(listener); in enableRendererMediaClock_shouldOverwriteRendererPlaybackSpeedIfPossible()
179 verifyNoMoreInteractions(listener); in enableRendererMediaClockWithFixedButSamePlaybackSpeed_shouldNotTriggerCallback()
211 verifyNoMoreInteractions(listener); in rendererClockSetPlaybackSpeed_shouldNotTriggerCallback()

12345