/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 | 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 | 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 | 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 …]
|
D | DescriptiveMessagesWhenVerificationFailsTest.java | 37 verify(mock).simpleMethod(); in should_print_method_name() 60 verify(mock).threeArgumentMethod(12, new Foo(), "xx"); in should_print_method_name_and_arguments() 72 verify(mock).varargs(1, 1000); in should_print_actual_and_wanted_in_line() 98 verify(mock).varargs("x", "y", "z"); in should_print_actual_and_wanted_in_multiple_lines() 138 verify(mock).simpleMethod(10); in should_print_actual_and_wanted_when_actual_method_name_and_wanted_method_name_are_the_same() 150 verify(mock).twoArgumentMethod(1, 1); in should_print_actual_and_unverified_wanted_when_the_difference_is_about_arguments() 152 verify(mock).twoArgumentMethod(2, 1000); in should_print_actual_and_unverified_wanted_when_the_difference_is_about_arguments() 165 verify(mock).oneArg(true); in should_print_first_unexpected_invocation() 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() [all …]
|
D | ExactNumberOfTimesVerificationTest.java | 35 verify(mock, times(2)).clear(); in shouldDetectTooLittleActualInvocations() 37 verify(mock, times(100)).clear(); in shouldDetectTooLittleActualInvocations() 51 verify(mock, times(2)).clear(); in shouldDetectTooManyActualInvocations() 53 verify(mock, times(1)).clear(); in shouldDetectTooManyActualInvocations() 64 verify(mock, times(0)).clear(); in shouldDetectActualInvocationsCountIsMoreThanZero() 66 verify(mock, times(15)).clear(); in shouldDetectActualInvocationsCountIsMoreThanZero() 76 verify(mock, times(0)).clear(); in shouldDetectActuallyCalledOnce() 85 verify(mock, times(0)).clear(); in shouldPassWhenMethodsActuallyNotCalled() 86 verify(mock, times(0)).add("yes, I wasn't called"); in shouldPassWhenMethodsActuallyNotCalled() 97 verify(mock, times(2)).add("test"); in shouldNotCountInStubbedInvocations() [all …]
|
D | DescriptiveMessagesOnVerificationInOrderErrorsTest.java | 45 inOrder.verify(one).simpleMethod(1); in shouldPrintVerificationInOrderErrorAndShowBothWantedAndPrevious() 46 inOrder.verify(two, atLeastOnce()).simpleMethod(2); in shouldPrintVerificationInOrderErrorAndShowBothWantedAndPrevious() 49 inOrder.verify(one, atLeastOnce()).simpleMethod(11); in shouldPrintVerificationInOrderErrorAndShowBothWantedAndPrevious() 79 inOrder.verify(one).differentMethod(); in shouldPrintVerificationInOrderErrorAndShowWantedOnly() 97 inOrder.verify(one).simpleMethod(999); in shouldPrintVerificationInOrderErrorAndShowWantedAndActual() 107 inOrder.verify(three).simpleMethod(3); in shouldNotSayArgumentsAreDifferent() 109 inOrder.verify(one).simpleMethod(999); in shouldNotSayArgumentsAreDifferent() 118 inOrder.verify(one).simpleMethod(1); in shouldPrintMethodThatWasNotInvoked() 119 inOrder.verify(one).simpleMethod(11); in shouldPrintMethodThatWasNotInvoked() 120 inOrder.verify(two, times(2)).simpleMethod(2); in shouldPrintMethodThatWasNotInvoked() [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() 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() 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() 165 assertFalse(verifier.verify("a.foo.com", session)); in verifySubjectAlt() 166 assertTrue(verifier.verify("bar.com", session)); in verifySubjectAlt() [all …]
|
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/ |
D | HostnameVerifierTest.java | 87 @Test public void verify() throws Exception { in verify() method in HostnameVerifierTest 90 assertFalse(verifier.verify(certs,"localhost", session)); in verify() 124 assertFalse(verifier.verify(certs, "foo.com", session)); in verifyCn() 125 assertFalse(verifier.verify(certs, "a.foo.com", session)); in verifyCn() 126 assertFalse(verifier.verify(certs, "bar.com", session)); in verifyCn() 160 assertFalse(verifier.verify(certs, "\u82b1\u5b50.co.jp", session)); in verifyNonAsciiCn() 161 assertFalse(verifier.verify(certs, "a.\u82b1\u5b50.co.jp", session)); in verifyNonAsciiCn() 194 assertFalse(verifier.verify(certs, "foo.com", session)); in verifySubjectAlt() 195 assertFalse(verifier.verify(certs, "a.foo.com", session)); in verifySubjectAlt() 196 assertTrue(verifier.verify(certs, "bar.com", session)); in verifySubjectAlt() [all …]
|
/external/conscrypt/common/src/test/java/org/conscrypt/ |
D | HostnameVerifierTest.java | 82 @Test public void verify() throws Exception { in verify() method in HostnameVerifierTest 85 assertFalse(verifier.verify(certs,"localhost", session)); in verify() 119 assertFalse(verifier.verify(certs, "foo.com", session)); in verifyCn() 120 assertFalse(verifier.verify(certs, "a.foo.com", session)); in verifyCn() 121 assertFalse(verifier.verify(certs, "bar.com", session)); in verifyCn() 155 assertFalse(verifier.verify(certs, "\u82b1\u5b50.co.jp", session)); in verifyNonAsciiCn() 156 assertFalse(verifier.verify(certs, "a.\u82b1\u5b50.co.jp", session)); in verifyNonAsciiCn() 189 assertFalse(verifier.verify(certs, "foo.com", session)); in verifySubjectAlt() 190 assertFalse(verifier.verify(certs, "a.foo.com", session)); in verifySubjectAlt() 191 assertTrue(verifier.verify(certs, "bar.com", session)); in verifySubjectAlt() [all …]
|
/external/wpa_supplicant_8/src/tls/ |
D | tlsv1_common.c | 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() 216 verify->md5_cert == NULL || verify->sha1_client == NULL || in tls_verify_hash_init() [all …]
|
/external/grpc-grpc-java/testing/src/test/java/io/grpc/testing/ |
D | GrpcCleanupRuleTest.java | 30 import static org.mockito.Mockito.verify; 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() 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() 142 inOrder.verify(server).shutdownNow(); in singleServerCleanup() 166 inOrder.verify(statement).evaluate(); in multiResource_cleanupGracefully() [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 …]
|
D | KeepAliveManagerTest.java | 25 import static org.mockito.Mockito.verify; 75 verify(scheduler, times(1)).schedule(sendPingCaptor.capture(), delayCaptor.capture(), in sendKeepAlivePings() 87 verify(keepAlivePinger).ping(); in sendKeepAlivePings() 88 verify(scheduler, times(2)).schedule(isA(Runnable.class), delayCaptor.capture(), in sendKeepAlivePings() 97 verify(scheduler, times(3)).schedule(isA(Runnable.class), delayCaptor.capture(), in sendKeepAlivePings() 100 verify(shutdownFuture).cancel(isA(Boolean.class)); in sendKeepAlivePings() 115 verify(scheduler, times(1)).schedule(sendPingCaptor.capture(), isA(Long.class), in keepAlivePingDelayedByIncomingData() 125 verify(transport, times(0)).ping(isA(ClientTransport.PingCallback.class), in keepAlivePingDelayedByIncomingData() 129 verify(scheduler, times(2)).schedule(isA(Runnable.class), delayCaptor.capture(), in keepAlivePingDelayedByIncomingData() 141 verify(transport).shutdownNow(statusCaptor.capture()); in clientKeepAlivePinger_pingTimeout() [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/llvm-project/llvm/test/CodeGen/RISCV/ |
D | reserved-regs.ll | 1 ; RUN: llc -mtriple=riscv32 -mattr=+reserve-x3 -verify-machineinstrs < %s | FileCheck %s -check-pre… 2 ; RUN: llc -mtriple=riscv64 -mattr=+reserve-x3 -verify-machineinstrs < %s | FileCheck %s -check-pre… 3 ; RUN: llc -mtriple=riscv32 -mattr=+reserve-x4 -verify-machineinstrs < %s | FileCheck %s -check-pre… 4 ; RUN: llc -mtriple=riscv64 -mattr=+reserve-x4 -verify-machineinstrs < %s | FileCheck %s -check-pre… 5 ; RUN: llc -mtriple=riscv32 -mattr=+reserve-x5 -verify-machineinstrs < %s | FileCheck %s -check-pre… 6 ; RUN: llc -mtriple=riscv64 -mattr=+reserve-x5 -verify-machineinstrs < %s | FileCheck %s -check-pre… 7 ; RUN: llc -mtriple=riscv32 -mattr=+reserve-x6 -verify-machineinstrs < %s | FileCheck %s -check-pre… 8 ; RUN: llc -mtriple=riscv64 -mattr=+reserve-x6 -verify-machineinstrs < %s | FileCheck %s -check-pre… 9 ; RUN: llc -mtriple=riscv32 -mattr=+reserve-x7 -verify-machineinstrs < %s | FileCheck %s -check-pre… 10 ; RUN: llc -mtriple=riscv64 -mattr=+reserve-x7 -verify-machineinstrs < %s | FileCheck %s -check-pre… [all …]
|
/external/mockito/src/test/java/org/mockitousage/matchers/ |
D | VarargsTest.java | 12 import static org.mockito.Mockito.verify; 54 verify(mock).varargs(); in shouldMatchVarArgs_noArgs() 62 verify(mock).varargs(isNotNull()); in shouldMatchEmptyVarArgs_noArgsIsNotNull() 70 verify(mock).varargs(isNull()); in shouldMatchEmptyVarArgs_noArgsIsNull() 78 verify(mock).varargs((String[]) isNotNull()); in shouldMatchEmptyVarArgs_noArgsIsNotNullArray() 86 verify(mock).varargs(eq(null)); in shouldMatchVarArgs_oneNullArg_eqNull() 94 verify(mock).varargs(isNull()); in shouldMatchVarArgs_oneNullArg_isNull() 102 verify(mock).varargs(isNull()); in shouldMatchVarArgs_nullArrayArg() 111 verify(mock).varargs(eq("1")); in shouldnotMatchVarArgs_twoArgsOneMatcher() 118 verify(mock).varargs((String[])any()); // any() -> VarargMatcher in shouldMatchVarArgs_emptyVarArgsOneAnyMatcher() [all …]
|
/external/guava/android/guava/src/com/google/common/base/ |
D | Verify.java | 98 public static void verify(boolean expression) { in verify() method in Verify 119 public static void verify( in verify() method in Verify 136 public static void verify( in verify() method in Verify 151 public static void verify(boolean expression, @NullableDecl String errorMessageTemplate, int p1) { in verify() method in Verify 165 public static void verify( in verify() method in Verify 180 public static void verify( in verify() method in Verify 195 public static void verify( in verify() method in Verify 210 public static void verify( in verify() method in Verify 225 public static void verify( in verify() method in Verify 240 public static void verify( in verify() method in Verify [all …]
|
/external/guava/guava/src/com/google/common/base/ |
D | Verify.java | 98 public static void verify(boolean expression) { in verify() method in Verify 119 public static void verify( in verify() method in Verify 136 public static void verify(boolean expression, @Nullable String errorMessageTemplate, char p1) { in verify() method in Verify 150 public static void verify(boolean expression, @Nullable String errorMessageTemplate, int p1) { in verify() method in Verify 164 public static void verify(boolean expression, @Nullable String errorMessageTemplate, long p1) { in verify() method in Verify 178 public static void verify( in verify() method in Verify 193 public static void verify( in verify() method in Verify 208 public static void verify( in verify() method in Verify 223 public static void verify( in verify() method in Verify 238 public static void verify( in verify() method in Verify [all …]
|
/external/python/cffi/testing/cffi0/ |
D | test_verify.py | 26 def verify(self, *args, **kwds): member in FFI 27 return super(FFI, self).verify( 56 lib = ffi.verify() 72 lib = ffi.verify() 90 lib = ffi.verify('#include <math.h>', libraries=lib_m) 98 py.test.raises(VerificationError, ffi.verify, source, **kargs) 102 lib = ffi.verify(source, **kargs) 133 lib = ffi.verify('#include <math.h>', libraries=lib_m) 141 lib = ffi.verify('#include <math.h>', libraries=lib_m) 149 lib = ffi.verify("#include <string.h>") [all …]
|
/external/python/cffi/testing/cffi1/ |
D | test_recompiler.py | 26 def verify(ffi, module_name, source, *args, **kwds): function 137 lib = verify(ffi, 'test_math_sin', '#include <math.h>') 142 lib = verify(ffi, 'test_repr_lib', '') 148 lib = verify(ffi, 'test_funcarg_ptr', 'int foo(int *p) { return *p; }') 154 lib = verify(ffi, 'test_funcres_ptr', 161 lib = verify(ffi, 'test_global_var_array', 'int a[100] = { 9999 };') 169 lib = verify(ffi, 'test_verify_typedef', 'typedef int **foo_t;') 175 verify(ffi, 'test_verify_typedef_dotdotdot', 'typedef int **foo_t;') 180 verify(ffi, 'test_verify_typedef_star_dotdotdot', 'typedef int **foo_t;') 185 lib = verify(ffi, 'test_global_var_int', 'int a = 999, b, c;') [all …]
|
D | test_verify1.py | 32 def verify(self, preamble='', *args, **kwds): member in FFI 54 lib = ffi.verify() 71 lib = ffi.verify('#include <math.h>', libraries=lib_m) 79 py.test.raises(VerificationError, ffi.verify, source, **kargs) 83 lib = ffi.verify(source, **kargs) 114 lib = ffi.verify('#include <math.h>', libraries=lib_m) 122 lib = ffi.verify('#include <math.h>', libraries=lib_m) 130 lib = ffi.verify("#include <string.h>") 142 lib = ffi.verify("signed char foo(signed char x) { return x;}") 149 lib = ffi.verify("#include <string.h>") [all …]
|