| /external/mockito/src/test/java/org/mockitousage/verification/ |
| D | BasicVerificationInOrderTest.java | 47 inOrder.verify(mockOne).simpleMethod(1); in shouldVerifyInOrder() 48 inOrder.verify(mockTwo, times(2)).simpleMethod(2); in shouldVerifyInOrder() 49 inOrder.verify(mockThree).simpleMethod(3); in shouldVerifyInOrder() 50 inOrder.verify(mockTwo).simpleMethod(2); in shouldVerifyInOrder() 51 inOrder.verify(mockOne).simpleMethod(4); in shouldVerifyInOrder() 57 inOrder.verify(mockOne, atLeastOnce()).simpleMethod(1); in shouldVerifyInOrderUsingAtLeastOnce() 58 inOrder.verify(mockTwo, times(2)).simpleMethod(2); in shouldVerifyInOrderUsingAtLeastOnce() 59 inOrder.verify(mockThree).simpleMethod(3); in shouldVerifyInOrderUsingAtLeastOnce() 60 inOrder.verify(mockTwo).simpleMethod(2); in shouldVerifyInOrderUsingAtLeastOnce() 61 inOrder.verify(mockOne, atLeastOnce()).simpleMethod(4); in shouldVerifyInOrderUsingAtLeastOnce() [all …]
|
| D | RelaxedVerificationInOrderTest.java | 49 inOrder.verify(mockOne).simpleMethod(1); in shouldVerifyInOrderAllInvocations() 50 inOrder.verify(mockTwo, times(2)).simpleMethod(2); in shouldVerifyInOrderAllInvocations() 51 inOrder.verify(mockThree).simpleMethod(3); in shouldVerifyInOrderAllInvocations() 52 inOrder.verify(mockTwo).simpleMethod(2); in shouldVerifyInOrderAllInvocations() 53 inOrder.verify(mockOne).simpleMethod(4); in shouldVerifyInOrderAllInvocations() 59 inOrder.verify(mockTwo, times(2)).simpleMethod(2); in shouldVerifyInOrderAndBeRelaxed() 60 inOrder.verify(mockThree).simpleMethod(3); in shouldVerifyInOrderAndBeRelaxed() 67 inOrder.verify(mockTwo, times(2)).simpleMethod(2); in shouldAllowFirstChunkBeforeLastInvocation() 68 inOrder.verify(mockOne).simpleMethod(4); in shouldAllowFirstChunkBeforeLastInvocation() 78 inOrder.verify(mockTwo, times(3)).simpleMethod(2); in shouldAllowAllChunksBeforeLastInvocation() [all …]
|
| D | VerificationInOrderMixedWithOrdiraryVerificationTest.java | 44 inOrder.verify(mockOne, atLeastOnce()).simpleMethod(1); in shouldMixVerificationInOrderAndOrdinaryVerification() 45 inOrder.verify(mockThree).simpleMethod(3); in shouldMixVerificationInOrderAndOrdinaryVerification() 46 inOrder.verify(mockThree).simpleMethod(4); in shouldMixVerificationInOrderAndOrdinaryVerification() 47 verify(mockTwo).simpleMethod(2); in shouldMixVerificationInOrderAndOrdinaryVerification() 54 inOrder.verify(mockOne, atLeastOnce()).simpleMethod(1); in shouldAllowOrdinarilyVerifyingMockPassedToInOrderObject() 56 verify(mockThree).simpleMethod(3); in shouldAllowOrdinarilyVerifyingMockPassedToInOrderObject() 57 verify(mockThree).simpleMethod(4); in shouldAllowOrdinarilyVerifyingMockPassedToInOrderObject() 58 verify(mockTwo).simpleMethod(2); in shouldAllowOrdinarilyVerifyingMockPassedToInOrderObject() 65 verify(mockOne, atLeastOnce()).simpleMethod(1); in shouldAllowRedundantVerifications() 66 verify(mockTwo).simpleMethod(2); in shouldAllowRedundantVerifications() [all …]
|
| D | VerificationInOrderWithCallsTest.java | 32 verifier.verify( mockOne, calls(1)).oneArg( 1 ); in shouldFailWhenMethodNotCalled() 40 verifier.verify( mockOne, calls(1)).oneArg( 2 ); in shouldFailWhenMethodNotCalled() 52 verifier.verify( mockOne, calls(1)).oneArg( 1 ); in shouldFailWhenMethodCalledTooFewTimes() 61 verifier.verify( mockOne, calls(2)).oneArg( 2 ); in shouldFailWhenMethodCalledTooFewTimes() 73 verifier.verify( mockOne, calls(1)).oneArg( 2 ); in shouldFailWhenSingleMethodCallsAreOutOfSequence() 81 verifier.verify( mockOne, calls(1)).oneArg( 1 ); in shouldFailWhenSingleMethodCallsAreOutOfSequence() 93 verifier.verify( mockOne, calls(1)).voidMethod(); in shouldFailWhenDifferentMethodCallsAreOutOfSequence() 101 verifier.verify( mockOne, calls(1)).oneArg( 1 ); in shouldFailWhenDifferentMethodCallsAreOutOfSequence() 113 verifier.verify( mockTwo, calls(1)).voidMethod(); in shouldFailWhenMethodCallsOnDifferentMocksAreOutOfSequence() 121 verifier.verify( mockOne, calls(1)).voidMethod(); in shouldFailWhenMethodCallsOnDifferentMocksAreOutOfSequence() [all …]
|
| D | SelectedMocksInOrderVerificationTest.java | 42 inOrder.verify(mockOne).simpleMethod(1); in shouldVerifyAllInvocationsInOrder() 43 inOrder.verify(mockTwo, times(2)).simpleMethod(2); in shouldVerifyAllInvocationsInOrder() 44 inOrder.verify(mockThree).simpleMethod(3); in shouldVerifyAllInvocationsInOrder() 45 inOrder.verify(mockTwo).simpleMethod(2); in shouldVerifyAllInvocationsInOrder() 46 inOrder.verify(mockOne).simpleMethod(4); in shouldVerifyAllInvocationsInOrder() 54 inOrder.verify(mockTwo, times(2)).simpleMethod(2); in shouldVerifyInOrderMockTwoAndThree() 55 inOrder.verify(mockThree).simpleMethod(3); in shouldVerifyInOrderMockTwoAndThree() 56 inOrder.verify(mockTwo).simpleMethod(2); in shouldVerifyInOrderMockTwoAndThree() 64 inOrder.verify(mockOne).simpleMethod(1); in shouldVerifyInOrderMockOneAndThree() 65 inOrder.verify(mockThree).simpleMethod(3); in shouldVerifyInOrderMockOneAndThree() [all …]
|
| /external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/internal/ |
| D | ExpirationHandlerTest.java | 23 import static org.mockito.Mockito.verify; 275 verify(mockFileGroupsMetadata, times(3)).getAllFreshGroups(); in updateExpiration_noGroups() 276 verify(mockFileGroupsMetadata, times(2)).getAllStaleGroups(); in updateExpiration_noGroups() 277 verify(mockFileGroupsMetadata).removeAllGroupsWithKeys(ImmutableList.of()); in updateExpiration_noGroups() 278 verify(mockFileGroupsMetadata).removeAllStaleGroups(); in updateExpiration_noGroups() 279 verify(mockFileGroupsMetadata).writeStaleGroups(ImmutableList.of()); in updateExpiration_noGroups() 281 verify(mockSharedFilesMetadata).getAllFileKeys(); in updateExpiration_noGroups() 282 verify(mockBackend).exists(baseDownloadDirectoryUri); in updateExpiration_noGroups() 283 verify(mockBackend).children(baseDownloadDirectoryUri); in updateExpiration_noGroups() 284 verify(mockBackend, never()).deleteFile(any()); in updateExpiration_noGroups() [all …]
|
| /external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
| D | RetriableStreamTest.java | 38 import static org.mockito.Mockito.verify; 216 inOrder.verify(retriableStreamRecorder).prestart(); in retry_everythingDrained() 217 inOrder.verify(retriableStreamRecorder).newSubstream(0); in retry_everythingDrained() 219 inOrder.verify(mockStream1).setAuthority(AUTHORITY); in retry_everythingDrained() 220 inOrder.verify(mockStream1).setCompressor(COMPRESSOR); in retry_everythingDrained() 221 inOrder.verify(mockStream1).setDecompressorRegistry(DECOMPRESSOR_REGISTRY); in retry_everythingDrained() 222 inOrder.verify(mockStream1).setFullStreamDecompression(false); in retry_everythingDrained() 223 inOrder.verify(mockStream1).setFullStreamDecompression(true); in retry_everythingDrained() 224 inOrder.verify(mockStream1).setMaxInboundMessageSize(MAX_INBOUND_MESSAGE_SIZE); in retry_everythingDrained() 225 inOrder.verify(mockStream1).setMessageCompression(true); in retry_everythingDrained() [all …]
|
| D | DelayedStreamTest.java | 30 import static org.mockito.Mockito.verify; 76 inOrder.verify(realStream).setAuthority(authority); in setStream_setAuthority() 77 inOrder.verify(realStream).start(any(ClientStreamListener.class)); in setStream_setAuthority() 106 verify(realStream).setCompressor(Codec.Identity.NONE); in setStream_sendsAllMessages() 107 verify(realStream).setDecompressorRegistry(DecompressorRegistry.getDefaultInstance()); in setStream_sendsAllMessages() 109 verify(realStream).setMessageCompression(true); in setStream_sendsAllMessages() 110 verify(realStream).setMessageCompression(false); in setStream_sendsAllMessages() 112 verify(realStream, times(2)).writeMessage(message); in setStream_sendsAllMessages() 113 verify(realStream).start(listenerCaptor.capture()); in setStream_sendsAllMessages() 116 verify(realStream, times(3)).writeMessage(message); in setStream_sendsAllMessages() [all …]
|
| D | DelayedClientTransportTest.java | 32 import static org.mockito.Mockito.verify; 134 verify(mockRealTransport).newStream(same(method), same(headers), same(callOptions)); in streamStartThenAssignTransport() 135 verify(mockRealStream).start(listenerCaptor.capture()); in streamStartThenAssignTransport() 138 verify(streamListener).onReady(); in streamStartThenAssignTransport() 149 verify(transportListener).transportShutdown(same(SHUTDOWN_STATUS)); in newStreamThenAssignTransportThenShutdown() 150 verify(transportListener).transportTerminated(); in newStreamThenAssignTransportThenShutdown() 152 verify(mockRealTransport).newStream(same(method), same(headers), same(callOptions)); in newStreamThenAssignTransportThenShutdown() 154 verify(mockRealStream).start(same(streamListener)); in newStreamThenAssignTransportThenShutdown() 159 verify(transportListener).transportShutdown(same(SHUTDOWN_STATUS)); in transportTerminatedThenAssignTransport() 160 verify(transportListener).transportTerminated(); in transportTerminatedThenAssignTransport() [all …]
|
| /external/grpc-grpc-java/testing/src/test/java/io/grpc/testing/ |
| D | GrpcCleanupRuleTest.java | 30 import static org.mockito.Mockito.verify; 110 // verify in singleChannelCleanup() 112 inOrder.verify(statement).evaluate(); in singleChannelCleanup() 113 inOrder.verify(channel).shutdown(); in singleChannelCleanup() 114 inOrder.verify(channel).awaitTermination(anyLong(), any(TimeUnit.class)); in singleChannelCleanup() 115 inOrder.verify(channel).shutdownNow(); in singleChannelCleanup() 137 // verify in singleServerCleanup() 139 inOrder.verify(statement).evaluate(); in singleServerCleanup() 140 inOrder.verify(server).shutdown(); in singleServerCleanup() 141 inOrder.verify(server).awaitTermination(anyLong(), any(TimeUnit.class)); in singleServerCleanup() [all …]
|
| /external/eigen/unsupported/test/ |
| D | cxx11_meta.cpp | 89 VERIFY((is_same<typename gen_numeric_list<int, 0>::type, numeric_list<int>>::value)); in test_gen_numeric_list() 90 VERIFY((is_same<typename gen_numeric_list<int, 1>::type, numeric_list<int, 0>>::value)); in test_gen_numeric_list() 91 VERIFY((is_same<typename gen_numeric_list<int, 2>::type, numeric_list<int, 0, 1>>::value)); in test_gen_numeric_list() 92 …VERIFY((is_same<typename gen_numeric_list<int, 5>::type, numeric_list<int, 0, 1, 2, 3, 4>>::value)… in test_gen_numeric_list() 93 …VERIFY((is_same<typename gen_numeric_list<int, 10>::type, numeric_list<int, 0, 1, 2, 3, 4, 5, 6, 7… in test_gen_numeric_list() 95 VERIFY((is_same<typename gen_numeric_list<int, 0, 42>::type, numeric_list<int>>::value)); in test_gen_numeric_list() 96 VERIFY((is_same<typename gen_numeric_list<int, 1, 42>::type, numeric_list<int, 42>>::value)); in test_gen_numeric_list() 97 VERIFY((is_same<typename gen_numeric_list<int, 2, 42>::type, numeric_list<int, 42, 43>>::value)); in test_gen_numeric_list() 98 …VERIFY((is_same<typename gen_numeric_list<int, 5, 42>::type, numeric_list<int, 42, 43, 44, 45, 46>… in test_gen_numeric_list() 99 …VERIFY((is_same<typename gen_numeric_list<int, 10, 42>::type, numeric_list<int, 42, 43, 44, 45, 46… in test_gen_numeric_list() [all …]
|
| /external/wpa_supplicant_8/src/tls/ |
| D | tlsv1_common.c | 182 * verify key usage (must allow encryption) in tls_parse_cert() 206 int tls_verify_hash_init(struct tls_verify_hash *verify) in tls_verify_hash_init() argument 208 tls_verify_hash_free(verify); in tls_verify_hash_init() 209 verify->md5_client = crypto_hash_init(CRYPTO_HASH_ALG_MD5, NULL, 0); in tls_verify_hash_init() 210 verify->md5_server = crypto_hash_init(CRYPTO_HASH_ALG_MD5, NULL, 0); in tls_verify_hash_init() 211 verify->md5_cert = crypto_hash_init(CRYPTO_HASH_ALG_MD5, NULL, 0); in tls_verify_hash_init() 212 verify->sha1_client = crypto_hash_init(CRYPTO_HASH_ALG_SHA1, NULL, 0); in tls_verify_hash_init() 213 verify->sha1_server = crypto_hash_init(CRYPTO_HASH_ALG_SHA1, NULL, 0); in tls_verify_hash_init() 214 verify->sha1_cert = crypto_hash_init(CRYPTO_HASH_ALG_SHA1, NULL, 0); in tls_verify_hash_init() 215 if (verify->md5_client == NULL || verify->md5_server == NULL || in tls_verify_hash_init() [all …]
|
| /external/cronet/third_party/boringssl/src/crypto/evp/ |
| D | evp_tests.txt | 249 Verify = RSA-2048 254 Verify = RSA-2048-SPKI 265 Verify = RSA-2048 277 Verify = RSA-2048 290 Verify = RSA-2048 297 Verify = RSA-2048 304 Verify = RSA-2048 311 Verify = RSA-2048 318 Verify = RSA-2048 325 Verify = RSA-2048 [all …]
|
| /external/boringssl/src/crypto/evp/ |
| D | evp_tests.txt | 249 Verify = RSA-2048 254 Verify = RSA-2048-SPKI 265 Verify = RSA-2048 277 Verify = RSA-2048 290 Verify = RSA-2048 297 Verify = RSA-2048 304 Verify = RSA-2048 311 Verify = RSA-2048 318 Verify = RSA-2048 325 Verify = RSA-2048 [all …]
|
| /external/dagger2/javatests/dagger/producers/monitoring/internal/ |
| D | MonitorsTest.java | 132 order.verify(mockProducerMonitor).requested(); in singleMonitor_normalProducerMonitorSuccess() 133 order.verify(mockProducerMonitor).methodStarting(); in singleMonitor_normalProducerMonitorSuccess() 134 order.verify(mockProducerMonitor).methodFinished(); in singleMonitor_normalProducerMonitorSuccess() 135 order.verify(mockProducerMonitor).succeeded(o); in singleMonitor_normalProducerMonitorSuccess() 155 order.verify(mockProducerMonitor).requested(); in singleMonitor_normalProducerMonitorFailure() 156 order.verify(mockProducerMonitor).methodStarting(); in singleMonitor_normalProducerMonitorFailure() 157 order.verify(mockProducerMonitor).methodFinished(); in singleMonitor_normalProducerMonitorFailure() 158 order.verify(mockProducerMonitor).failed(t); in singleMonitor_normalProducerMonitorFailure() 184 order.verify(mockProducerMonitor).requested(); in singleMonitor_throwingProducerMonitorSuccess() 185 order.verify(mockProducerMonitor).methodStarting(); in singleMonitor_throwingProducerMonitorSuccess() [all …]
|
| /external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/common/src/test/java/com/google/android/exoplayer2/util/ |
| D | ListenerSetTest.java | 22 import static org.mockito.Mockito.verify; 71 inOrder.verify(listener1).callback1(); in flushEvents_sendsPreviouslyQueuedEventsToAllListeners() 72 inOrder.verify(listener2).callback1(); in flushEvents_sendsPreviouslyQueuedEventsToAllListeners() 73 inOrder.verify(listener1).callback2(); in flushEvents_sendsPreviouslyQueuedEventsToAllListeners() 74 inOrder.verify(listener2).callback2(); in flushEvents_sendsPreviouslyQueuedEventsToAllListeners() 75 inOrder.verify(listener1).callback1(); in flushEvents_sendsPreviouslyQueuedEventsToAllListeners() 76 inOrder.verify(listener2).callback1(); in flushEvents_sendsPreviouslyQueuedEventsToAllListeners() 103 inOrder.verify(listener1).callback1(); in flushEvents_recursive_sendsEventsInCorrectOrder() 104 inOrder.verify(listener2).callback1(); in flushEvents_recursive_sendsEventsInCorrectOrder() 105 inOrder.verify(listener1).callback2(); in flushEvents_recursive_sendsEventsInCorrectOrder() [all …]
|
| /external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/common/src/test/java/com/google/android/exoplayer2/util/ |
| D | ListenerSetTest.java | 22 import static org.mockito.Mockito.verify; 71 inOrder.verify(listener1).callback1(); in flushEvents_sendsPreviouslyQueuedEventsToAllListeners() 72 inOrder.verify(listener2).callback1(); in flushEvents_sendsPreviouslyQueuedEventsToAllListeners() 73 inOrder.verify(listener1).callback2(); in flushEvents_sendsPreviouslyQueuedEventsToAllListeners() 74 inOrder.verify(listener2).callback2(); in flushEvents_sendsPreviouslyQueuedEventsToAllListeners() 75 inOrder.verify(listener1).callback1(); in flushEvents_sendsPreviouslyQueuedEventsToAllListeners() 76 inOrder.verify(listener2).callback1(); in flushEvents_sendsPreviouslyQueuedEventsToAllListeners() 103 inOrder.verify(listener1).callback1(); in flushEvents_recursive_sendsEventsInCorrectOrder() 104 inOrder.verify(listener2).callback1(); in flushEvents_recursive_sendsEventsInCorrectOrder() 105 inOrder.verify(listener1).callback2(); in flushEvents_recursive_sendsEventsInCorrectOrder() [all …]
|
| /external/eigen/test/ |
| D | sparse_permutations.cpp | 17 VERIFY( (#XPR) && nb_transposed_copies==N ); \ 40 …VERIFY( int(internal::nested_eval<T,1>::type::Flags&RowMajorBit) == int(internal::evaluator<T>::Fl… in eval() 79 VERIFY( is_sorted( ::eval(mat*p) )); in sparse_permutations() 80 VERIFY( is_sorted( res = mat*p )); in sparse_permutations() 84 VERIFY(res.isApprox(res_d) && "mat*p"); in sparse_permutations() 86 VERIFY( is_sorted( ::eval(p*mat) )); in sparse_permutations() 87 VERIFY( is_sorted( res = p*mat )); in sparse_permutations() 90 VERIFY(res.isApprox(res_d) && "p*mat"); in sparse_permutations() 92 VERIFY( is_sorted( (mat*p).eval() )); in sparse_permutations() 93 VERIFY( is_sorted( res = mat*p.inverse() )); in sparse_permutations() [all …]
|
| D | meta.cpp | 32 VERIFY((internal::conditional<(3<4),internal::true_type, internal::false_type>::type::value)); in EIGEN_DECLARE_TEST() 33 VERIFY(( internal::is_same<float,float>::value)); in EIGEN_DECLARE_TEST() 34 VERIFY((!internal::is_same<float,double>::value)); in EIGEN_DECLARE_TEST() 35 VERIFY((!internal::is_same<float,float&>::value)); in EIGEN_DECLARE_TEST() 36 VERIFY((!internal::is_same<float,const float&>::value)); in EIGEN_DECLARE_TEST() 38 VERIFY(( internal::is_same<float,internal::remove_all<const float&>::type >::value)); in EIGEN_DECLARE_TEST() 39 VERIFY(( internal::is_same<float,internal::remove_all<const float*>::type >::value)); in EIGEN_DECLARE_TEST() 40 VERIFY(( internal::is_same<float,internal::remove_all<const float*&>::type >::value)); in EIGEN_DECLARE_TEST() 41 VERIFY(( internal::is_same<float,internal::remove_all<float**>::type >::value)); in EIGEN_DECLARE_TEST() 42 VERIFY(( internal::is_same<float,internal::remove_all<float**&>::type >::value)); in EIGEN_DECLARE_TEST() [all …]
|
| /external/clang/test/Frontend/ |
| D | x86-target-cpu.c | 3 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-cpu nocona -verify %s 4 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-cpu core2 -verify %s 5 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-cpu penryn -verify %s 6 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-cpu nehalem -verify %s 7 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-cpu westmere -verify %s 8 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-cpu sandybridge -verify %s 9 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-cpu ivybridge -verify %s 10 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-cpu haswell -verify %s 11 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-cpu broadwell -verify %s 12 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-cpu bonnell -verify %s [all …]
|
| /external/openthread/tests/toranj/cli/ |
| D | test-400-srp-client-server.py | 29 from cli import verify 55 verify(server.get_state() == 'leader') 58 verify(client.get_state() == 'router') 61 verify(server.srp_server_get_state() == 'disabled') 62 verify(server.srp_server_get_addr_mode() == 'unicast') 63 verify(client.srp_client_get_state() == 'Disabled') 64 verify(client.srp_client_get_auto_start_mode() == 'Disabled') 76 verify(len(server.srp_server_get_hosts()) > 0) 83 verify(client.srp_client_get_auto_start_mode() == 'Enabled') 84 verify(client.srp_client_get_state() == 'Enabled') [all …]
|
| /external/openthread/tests/toranj/ncp/ |
| D | test-039-address-cache-table-snoop.py | 31 from wpan import verify 129 verify(sender.was_successful) 138 # Verify that we do see entries in cache table for all the addresses and all are in "query" state 142 verify(len(addr_cache_table) == NUM_QUERY_ADDRS) 144 verify(entry.state == wpan.ADDRESS_CACHE_ENTRY_STATE_QUERY) 145 verify(not entry.can_evict()) 146 verify(entry.timeout > 0) 147 verify(entry.retry_delay == INITIAL_RETRY_DELAY) 153 # Wait till all the address queries time out and verify they enter "retry-query" state. 159 verify(cache_table[index].state == wpan.ADDRESS_CACHE_ENTRY_STATE_RETRY_QUERY) [all …]
|
| /external/dexmaker/dexmaker-mockito-inline-extended/src/main/java/com/android/dx/mockito/inline/extended/ |
| D | StaticInOrder.java | 24 * Same as {@link InOrder} but adds the ability to verify static method calls via 25 * {@link #verify(MockedMethod)}, {@link #verify(MockedVoidMethod)}, 26 * {@link #verify(MockedMethod, VerificationMode)}, and 27 * {@link #verify(MockedVoidMethod, VerificationMode)}. 38 public <T> T verify(T mock) { in verify() method in StaticInOrder 39 return instanceInOrder.verify(mock); in verify() 43 public <T> T verify(T mock, VerificationMode mode) { in verify() method in StaticInOrder 44 return instanceInOrder.verify(mock, mode); in verify() 48 * To be used for static mocks/spies in place of {@link #verify(Object)} when calling void 63 * inOrder().verify(mock).mockedVoidInstanceMethod(eq("Hello")); [all …]
|
| /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/tls/ |
| D | HostnameVerifierTest.java | 61 @Test public void verify() throws Exception { in verify() method in HostnameVerifierTest 63 assertFalse(verifier.verify("localhost", session)); in verify() 95 // assertTrue(verifier.verify("foo.com", session)); in verifyCn() 96 assertFalse(verifier.verify("foo.com", session)); in verifyCn() 97 assertFalse(verifier.verify("a.foo.com", session)); in verifyCn() 98 assertFalse(verifier.verify("bar.com", session)); in verifyCn() 130 // assertTrue(verifier.verify("\u82b1\u5b50.co.jp", session)); in verifyNonAsciiCn() 131 assertFalse(verifier.verify("\u82b1\u5b50.co.jp", session)); in verifyNonAsciiCn() 132 assertFalse(verifier.verify("a.\u82b1\u5b50.co.jp", session)); in verifyNonAsciiCn() 164 assertFalse(verifier.verify("foo.com", session)); in verifySubjectAlt() [all …]
|
| /external/openthread/third_party/mbedtls/repo/tests/suites/ |
| D | test_suite_pk.data | 50 RSA verify test vector #1 (good) 54 RSA verify test vector #2 (bad) 58 ECDSA verify test vector #1 (good) 62 ECDSA verify test vector #2 (bad) 66 EC(DSA) verify test vector #1 (good) 70 EC(DSA) verify test vector #2 (bad) 74 EC(DSA) verify test vector: good, bitlen(r) = 256 78 EC(DSA) verify test vector: good, bitlen(r) = 255 82 EC(DSA) verify test vector: good, bitlen(r) = 248 86 EC(DSA) verify test vector: good, bitlen(r) = 247 [all …]
|