Home
last modified time | relevance | path

Searched refs:never (Results 1 – 25 of 1761) sorted by relevance

12345678910>>...71

/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/sources/
Drx-never.hpp30 struct never : public source_base<T> struct
42 auto never() in never() function
43 -> observable<T, detail::never<T>> { in never()
44 return observable<T, detail::never<T>>(detail::never<T>()); in never()
/external/mockito/src/test/java/org/mockitousage/debugging/
DVerificationListenerCallBackTest.java45 VerificationMode never = never(); in should_call_single_listener_on_verify() local
46 verify(foo, never).doSomething(""); in should_call_single_listener_on_verify()
49 assertThat(listener).is(notifiedFor(foo, never, invocationWanted)); in should_call_single_listener_on_verify()
63 VerificationMode never = never(); in should_call_all_listeners_on_verify() local
64 verify(foo, never).doSomething(""); in should_call_all_listeners_on_verify()
67 assertThat(listener1).is(notifiedFor(foo, never, invocationWanted)); in should_call_all_listeners_on_verify()
68 assertThat(listener2).is(notifiedFor(foo, never, invocationWanted)); in should_call_all_listeners_on_verify()
83 verify(listener, never()).onVerification(any(VerificationEvent.class)); in should_not_call_listener_when_verify_was_called_incorrectly()
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/
DAltsTsiHandshakerTest.java24 import static org.mockito.Mockito.never;
103 verify(mockClient, never()).startClientHandshake(); in processBytesFromPeerFalseStart()
104 verify(mockClient, never()).startServerHandshake(Matchers.<ByteBuffer>any()); in processBytesFromPeerFalseStart()
105 verify(mockClient, never()).next(Matchers.<ByteBuffer>any()); in processBytesFromPeerFalseStart()
115 verify(mockServer, never()).startClientHandshake(); in processBytesFromPeerStartServer()
116 verify(mockServer, never()).next(Matchers.<ByteBuffer>any()); in processBytesFromPeerStartServer()
129 verify(mockServer, never()).startClientHandshake(); in processBytesFromPeerStartServerEmptyOutput()
130 verify(mockServer, never()).next(Matchers.<ByteBuffer>any()); in processBytesFromPeerStartServerEmptyOutput()
144 verify(mockServer, never()).startClientHandshake(); in processBytesFromPeerStartServerFinished()
145 verify(mockServer, never()).next(Matchers.<ByteBuffer>any()); in processBytesFromPeerStartServerFinished()
[all …]
DGoogleDefaultProtocolNegotiatorTest.java20 import static org.mockito.Mockito.never;
57 verify(tlsProtocolNegotiator, never()).newHandler(mockHandler); in altsHandler()
66 verify(altsProtocolNegotiator, never()).newHandler(mockHandler); in tlsHandler()
/external/grpc-grpc-java/testing/src/test/java/io/grpc/testing/
DGrpcCleanupRuleTest.java29 import static org.mockito.Mockito.never;
178 verify(resource1, never()).forceCleanUp(); in multiResource_cleanupGracefully()
179 verify(resource2, never()).forceCleanUp(); in multiResource_cleanupGracefully()
180 verify(resource3, never()).forceCleanUp(); in multiResource_cleanupGracefully()
209 verify(resource, never()).cleanUp(); in baseTestFails()
210 verify(resource, never()).awaitReleased(anyLong(), any(TimeUnit.class)); in baseTestFails()
255 verify(resource3, never()).forceCleanUp(); in multiResource_awaitReleasedFails()
256 verify(resource1, never()).awaitReleased(anyLong(), any(TimeUnit.class)); in multiResource_awaitReleasedFails()
303 verify(resource3, never()).forceCleanUp(); in multiResource_awaitReleasedInterrupted()
304 verify(resource1, never()).awaitReleased(anyLong(), any(TimeUnit.class)); in multiResource_awaitReleasedInterrupted()
[all …]
/external/volley/src/test/java/com/android/volley/toolbox/
DHurlStackTest.java22 import static org.mockito.Mockito.never;
74 verify(mMockConnection, never()).setRequestMethod(anyString()); in connectionForDeprecatedGetRequest()
75 verify(mMockConnection, never()).setDoOutput(true); in connectionForDeprecatedGetRequest()
95 verify(mMockConnection, never()).setDoOutput(true); in connectionForGetRequest()
105 verify(mMockConnection, never()).setDoOutput(true); in connectionForPostRequest()
125 verify(mMockConnection, never()).setDoOutput(true); in connectionForPutRequest()
145 verify(mMockConnection, never()).setDoOutput(true); in connectionForDeleteRequest()
155 verify(mMockConnection, never()).setDoOutput(true); in connectionForHeadRequest()
165 verify(mMockConnection, never()).setDoOutput(true); in connectionForOptionsRequest()
175 verify(mMockConnection, never()).setDoOutput(true); in connectionForTraceRequest()
[all …]
/external/grpc-grpc-java/grpclb/src/test/java/io/grpc/grpclb/
DCachedSubchannelPoolTest.java26 import static org.mockito.Mockito.never;
123 verify(subchannel1, never()).shutdown(); in subchannelExpireAfterReturned()
163 verify(subchannel2, never()).shutdown(); in subchannelReused()
175 verify(subchannel1a, never()).shutdown(); in subchannelReused()
196 verify(subchannel1, never()).shutdown(); in returnDuplicateAddressSubchannel()
207 verify(subchannel2, never()).shutdown(); in returnDuplicateAddressSubchannel()
208 verify(subchannel3, never()).shutdown(); in returnDuplicateAddressSubchannel()
209 verify(helper, never()).runSerialized(any(ShutdownSubchannelTask.class)); in returnDuplicateAddressSubchannel()
221 verify(subchannel1, never()).shutdown(); in clear()
222 verify(subchannel2, never()).shutdown(); in clear()
[all …]
/external/mockito/src/test/java/org/mockitousage/verification/
DExactNumberOfTimesVerificationTest.java104 verify(mock, never()).add("two"); in shouldAllowVerifyingInteractionNeverHappened()
105 verify(mock, never()).clear(); in shouldAllowVerifyingInteractionNeverHappened()
108 verify(mock, never()).add("one"); in shouldAllowVerifyingInteractionNeverHappened()
120 inOrder.verify(mock, never()).add("xxx"); in shouldAllowVerifyingInteractionNeverHappenedInOrder()
122 inOrder.verify(mock, never()).add("one"); in shouldAllowVerifyingInteractionNeverHappenedInOrder()
125 inOrder.verify(mock, never()).add("two"); in shouldAllowVerifyingInteractionNeverHappenedInOrder()
/external/clang/test/SemaObjC/
Dwarn-unreachable.m15 return; // expected-warning {{will never be executed}}
25 return 1; // expected-warning {{will never be executed}}
34 return 0; // expected-warning {{will never be executed}}
56 …if (NO) calledFun(); // expected-warning {{will never be executed}} expected-note {{silence by add…
62 calledFun(); // expected-warning {{will never be executed}}
70 calledFun(); // expected-warning {{code will never be executed}}
/external/google-breakpad/src/testing/test/
Dgmock_output_test_golden.txt42 Actual: never called - unsatisfied and active
55 Actual: never called - unsatisfied and active
106 Actual: never called - unsatisfied and active
120 Actual: never called - unsatisfied and active
127 Actual: never called - unsatisfied and active
141 Actual: never called - unsatisfied and active
149 Actual: never called - unsatisfied and active
156 Actual: never called - unsatisfied and active
166 Actual: never called - unsatisfied and active
182 Actual: never called - unsatisfied and active
[all …]
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DHttp2ClientStreamTransportStateTest.java27 import static org.mockito.Mockito.never;
83 verify(mockListener, never()).closed(any(Status.class), same(PROCESSED), any(Metadata.class)); in transportHeadersReceived_notifiesListener()
97 verify(mockListener, never()).closed(any(Status.class), same(PROCESSED), any(Metadata.class)); in transportHeadersReceived_doesntRequire200()
111 verify(mockListener, never()).headersRead(any(Metadata.class)); in transportHeadersReceived_noHttpStatus()
126 verify(mockListener, never()).headersRead(any(Metadata.class)); in transportHeadersReceived_wrongContentType_200()
142 verify(mockListener, never()).headersRead(any(Metadata.class)); in transportHeadersReceived_wrongContentType_401()
167 verify(mockListener, never()).closed(any(Status.class), same(PROCESSED), any(Metadata.class)); in transportHeadersReceived_handles_1xx()
204 verify(mockListener, never()).headersRead(any(Metadata.class)); in transportHeadersReceived_unknownAndTwiceLogsSecondHeaders()
247 verify(mockListener, never()).headersRead(any(Metadata.class)); in transportTrailersReceived_notifiesListener()
279 verify(mockListener, never()).headersRead(any(Metadata.class)); in transportTrailersReceived_observesStatus()
[all …]
DManagedChannelImplIdlenessTest.java29 import static org.mockito.Mockito.never;
160 verify(mockLoadBalancerFactory, never()).newLoadBalancer(any(Helper.class)); in setUp()
161 verify(mockTransportFactory, never()).newClientTransport( in setUp()
164 verify(mockNameResolver, never()).start(any(NameResolver.Listener.class)); in setUp()
203 verify(mockLoadBalancer, never()).shutdown(); in newCallRefreshesIdlenessTimer()
214 verify(mockLoadBalancer, never()).shutdown(); in newCallRefreshesIdlenessTimer()
223 verify(mockCallListener, never()).onClose(any(Status.class), any(Metadata.class)); in newCallRefreshesIdlenessTimer()
245 verify(mockLoadBalancer, never()).shutdown(); in delayedTransportHoldsOffIdleness()
292 verify(mockLoadBalancer, never()).shutdown(); in realTransportsHoldsOffIdleness()
362 verify(mockTransportFactory, never()) in oobTransportDoesNotAffectIdleness()
[all …]
/external/grpc-grpc/tools/
Dbazel.rc6 build:asan --strip=never
16 build:msan --strip=never
29 build:tsan --strip=never
37 build:ubsan --strip=never
47 build:basicprof --strip=never
/external/mockito/src/test/java/org/mockito/internal/runners/
DDefaultInternalRunnerTest.java37 verify(runListener, never()).testFailure(any(Failure.class)); in does_not_fail_when_tests_succeeds()
48 verify(runListener, never()).testFinished(any(Description.class)); in does_not_fail_second_test_when_first_test_fail()
49 verify(mockitoTestListener, never()).testFinished(any(TestFinishedEvent.class)); in does_not_fail_second_test_when_first_test_fail()
56 verify(runListener, never()).testFailure(any(Failure.class)); in does_not_fail_second_test_when_first_test_fail()
/external/volley/src/test/java/com/android/volley/
DCacheDispatcherTest.java25 import static org.mockito.Mockito.never;
79 verify(delivery, never()).postResponse(any(Request.class), any(Response.class)); in verifyNoResponse()
80 verify(delivery, never()) in verifyNoResponse()
82 verify(delivery, never()).postError(any(Request.class), any(VolleyError.class)); in verifyNoResponse()
90 verify(mCache, never()).get(anyString()); in cancelledRequest()
110 verify(mDelivery, never()).postError(any(Request.class), any(VolleyError.class)); in nonExpiredCacheHit()
129 verify(mDelivery, never()).postError(any(Request.class), any(VolleyError.class)); in softExpiredCacheHit()
234 verify(mNetworkQueue, never()).put(secondRequest); in duplicateSoftExpiredCacheHit_successfulRequest()
/external/googletest/googlemock/test/
Dgmock_output_test_golden.txt42 Actual: never called - unsatisfied and active
55 Actual: never called - unsatisfied and active
106 Actual: never called - unsatisfied and active
120 Actual: never called - unsatisfied and active
127 Actual: never called - unsatisfied and active
141 Actual: never called - unsatisfied and active
149 Actual: never called - unsatisfied and active
156 Actual: never called - unsatisfied and active
166 Actual: never called - unsatisfied and active
182 Actual: never called - unsatisfied and active
[all …]
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyServerHandlerTest.java46 import static org.mockito.Mockito.never;
208 verify(transportListener, never()).transportReady(any(Attributes.class)); in transportReadyDelayedUntilConnectionPreface()
513 verify(spyKeepAliveManager, never()).onTransportTermination(); in keepAliveManagerOnDataReceived_headersRead()
529 verify(spyKeepAliveManager, never()).onTransportTermination(); in keepAliveManagerOnDataReceived_dataRead()
541 verify(spyKeepAliveManager, never()).onTransportTermination(); in keepAliveManagerOnDataReceived_rstStreamRead()
550 verify(spyKeepAliveManager, never()).onTransportTermination(); in keepAliveManagerOnDataReceived_pingRead()
559 verify(spyKeepAliveManager, never()).onTransportTermination(); in keepAliveManagerOnDataReceived_pingActRead()
637 verifyWrite(never()).writeGoAway(eq(ctx()), eq(STREAM_ID), in keepAliveEnforcer_sendingDataResetsCounters()
665 verifyWrite(never()).writeGoAway(eq(ctx()), eq(STREAM_ID), in keepAliveEnforcer_noticesActive()
693 verifyWrite(never()).writeGoAway( in noGoAwaySentBeforeMaxConnectionIdleReached()
[all …]
/external/python/cpython3/Tools/freeze/
Dmakeconfig.py6 never = ['marshal', '_imp', '_ast', '__main__', 'builtins', variable
17 if mod in never:
27 if mod in never:
/external/python/cpython2/Tools/freeze/
Dmakeconfig.py6 never = ['marshal', '__main__', '__builtin__', 'sys', 'exceptions', '_warnings'] variable
18 if mod in never:
28 if mod in never:
/external/exoplayer/tree/extensions/cronet/src/test/java/com/google/android/exoplayer2/ext/cronet/
DCronetDataSourceTest.java26 import static org.mockito.Mockito.never;
288 verify(mockUrlRequest, never()).cancel(); in requestOpenFail()
289 verify(mockTransferListener, never()) in requestOpenFail()
326 verify(mockUrlRequest, never()).cancel(); in requestOpenFailDueToDnsFailure()
327 verify(mockTransferListener, never()) in requestOpenFailDueToDnsFailure()
343 verify(mockUrlRequest, never()).cancel(); in requestOpenValidatesStatusCode()
344 verify(mockTransferListener, never()) in requestOpenValidatesStatusCode()
366 verify(mockUrlRequest, never()).cancel(); in requestOpenValidatesContentTypePredicate()
390 verify(mockUrlRequest, never()).start(); in postRequestOpenValidatesContentType()
404 verify(mockUrlRequest, never()).followRedirect(); in postRequestOpenRejects307Redirects()
[all …]
/external/mockito/src/test/java/org/mockitousage/bugs/varargs/
DVarargsNotPlayingWithAnyObjectTest.java17 import static org.mockito.Mockito.never;
39 verify(mock, never()).run(); in shouldMatchAnyVararg()
40 verify(mock, never()).run(anyString(), eq("f")); in shouldMatchAnyVararg()
/external/grpc-grpc-java/services/src/test/java/io/grpc/services/
DHealthStatusManagerTest.java23 import static org.mockito.Mockito.never;
71 verify(observer, never()).onError(any(Throwable.class)); in checkValidStatus()
91 verify(observer, never()).onCompleted(); in checkStatusNotFound()
112 verify(observer, never()).onCompleted(); in notFoundForClearedStatus()
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/operators/
Drx-group_by.hpp338 class DurationSelector=rxu::ret<observable<int, rxs::detail::never<int>>>,
344 …r>(ms), std::forward<BinaryPredicate>(p), rxu::ret<observable<int, rxs::detail::never<int>>>()))) { in member()
345 …tor>(ms), std::forward<BinaryPredicate>(p), rxu::ret<observable<int, rxs::detail::never<int>>>())); in member()
350 class DurationSelector=rxu::ret<observable<int, rxs::detail::never<int>>>,
356 …forward<MarbleSelector>(ms), rxu::less(), rxu::ret<observable<int, rxs::detail::never<int>>>()))) { in member()
357 …::forward<MarbleSelector>(ms), rxu::less(), rxu::ret<observable<int, rxs::detail::never<int>>>())); in member()
364 class DurationSelector=rxu::ret<observable<int, rxs::detail::never<int>>>,
370 …, rxu::detail::take_at<0>(), rxu::less(), rxu::ret<observable<int, rxs::detail::never<int>>>()))) { in member()
371 …s), rxu::detail::take_at<0>(), rxu::less(), rxu::ret<observable<int, rxs::detail::never<int>>>())); in member()
378 class DurationSelector=rxu::ret<observable<int, rxs::detail::never<int>>>,
[all …]
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/util/
DMediaSourceEventDispatcherTest.java22 import static org.mockito.Mockito.never;
126 verify(mediaAndDrmEventListener, never()).onDrmKeysLoaded(); in listenerOnlyReceivesEventsForRegisteredType()
139 verify(subclassListener, never()).subclassMethod(anyInt(), any()); in listenerDoesntReceiveEventsDispatchedToSubclass()
153 verify(subclassListener, never()).onMediaPeriodCreated(anyInt(), any()); in listenerDoesntReceiveEventsDispatchedToSuperclass()
181 verify(mediaSourceEventListener, never()).onMediaPeriodCreated(anyInt(), any()); in removingListenerStopsEventDispatch()
/external/python/cpython3/Doc/library/
Dasyncio-dev.rst143 Detect never-awaited coroutines
154 print("never scheduled")
163 test.py:7: RuntimeWarning: coroutine 'test' was never awaited
168 test.py:7: RuntimeWarning: coroutine 'test' was never awaited
186 Detect never-retrieved exceptions
190 never awaited on, the exception would never be propagated to the
208 Task exception was never retrieved
224 Task exception was never retrieved

12345678910>>...71