Home
last modified time | relevance | path

Searched refs:ABTS_ASSERT (Results 1 – 12 of 12) sorted by relevance

/freebsd-13.1/contrib/apr-util/test/
H A Dtestredis.c165 ABTS_ASSERT(tc, "hash failed", hash > 0); in test_redis_create()
272 ABTS_ASSERT(tc, "major", stats->major >= 1); in test_redis_meta()
273 ABTS_ASSERT(tc, "minor", stats->minor >= 0); in test_redis_meta()
274 ABTS_ASSERT(tc, "patch", stats->patch >= 0); in test_redis_meta()
289 ABTS_ASSERT(tc, "role", stats->role >= 0); in test_redis_meta()
319 ABTS_ASSERT(tc, "set failed", rv == APR_SUCCESS); in test_redis_incrdecr()
325 ABTS_ASSERT(tc, "get failed", rv == APR_SUCCESS); in test_redis_incrdecr()
342 ABTS_ASSERT(tc, "get failed", rv == APR_SUCCESS); in test_redis_incrdecr()
386 ABTS_ASSERT(tc, "set failed", rv == APR_SUCCESS); in test_redis_setget()
388 ABTS_ASSERT(tc, "get failed", rv == APR_SUCCESS); in test_redis_setget()
[all …]
H A Dtestmemcache.c164 ABTS_ASSERT(tc, "hash failed", hash > 0); in test_memcache_create()
274 ABTS_ASSERT(tc, "pid", stats->pid >= 0); in test_memcache_meta()
275 ABTS_ASSERT(tc, "time", stats->time >= 0); in test_memcache_meta()
282 ABTS_ASSERT(tc, "bytes", stats->bytes >= 0); in test_memcache_meta()
286 ABTS_ASSERT(tc, "connection_structures", in test_memcache_meta()
289 ABTS_ASSERT(tc, "cmd_get", stats->cmd_get >= 0); in test_memcache_meta()
290 ABTS_ASSERT(tc, "cmd_set", stats->cmd_set >= 0); in test_memcache_meta()
385 ABTS_ASSERT(tc, "set failed", rv == APR_SUCCESS); in test_memcache_incrdecr()
407 ABTS_ASSERT(tc, "get failed", rv == APR_SUCCESS); in test_memcache_incrdecr()
517 ABTS_ASSERT(tc, "set failed", rv == APR_SUCCESS); in test_memcache_setget()
[all …]
H A Dtestbuckets.c56 ABTS_ASSERT(tc, "bucket after flush is sentinel", in test_simple()
107 ABTS_ASSERT(tc, msg, len == elen); in flatten_match()
184 ABTS_ASSERT(tc, "brigade has correct length", in test_bwrite()
255 ABTS_ASSERT(tc, "split bucket OK", in test_splits()
288 ABTS_ASSERT(tc, "reached end of brigade", in test_splits()
316 ABTS_ASSERT(tc, "open test file", in test_insertfile()
369 ABTS_ASSERT(tc, "create test file", in make_test_file()
374 ABTS_ASSERT(tc, "write test file contents", in make_test_file()
424 ABTS_ASSERT(tc, "single bucket in brigade", in test_truncfile()
429 ABTS_ASSERT(tc, "read gave APR_EOF", in test_truncfile()
[all …]
H A Dtestdbd.c30 ABTS_ASSERT(tc, "failed to init apr_dbd", rv == APR_SUCCESS); in test_dbd_init()
42 ABTS_ASSERT(tc, sql, rv == APR_SUCCESS); in test_statement()
84 ABTS_ASSERT(tc, sqf, rv == APR_SUCCESS); in insert_data()
85 ABTS_ASSERT(tc, sqf, 1 == nrows); in insert_data()
101 ABTS_ASSERT(tc, sql, rv == APR_SUCCESS); in select_rows()
109 ABTS_ASSERT(tc, sql, rv == APR_SUCCESS); in select_rows()
114 ABTS_ASSERT(tc, "Missing Rows!", i == 0); in select_rows()
120 ABTS_ASSERT(tc, sql, rv == APR_SUCCESS); in select_rows()
124 ABTS_ASSERT(tc, "invalid row count", rv == count); in select_rows()
129 ABTS_ASSERT(tc, sql, rv == APR_SUCCESS); in select_rows()
[all …]
H A Dtestmd5.c60 ABTS_ASSERT(tc, "apr_md5_init", (apr_md5_init(&context) == 0)); in test_md5sum()
61 ABTS_ASSERT(tc, "apr_md5_update", in test_md5sum()
63 ABTS_ASSERT(tc, "apr_md5_final", (apr_md5_final(digest, &context) in test_md5sum()
65 ABTS_ASSERT(tc, "check for correct md5 digest", in test_md5sum()
81 ABTS_ASSERT(tc, "apr_md5_init", (apr_md5_init(&context) == 0)); in test_md5sum_unaligned()
83 ABTS_ASSERT(tc, "apr_md5_update", in test_md5sum_unaligned()
87 ABTS_ASSERT(tc, "apr_md5_final", (apr_md5_final(digest, &context) in test_md5sum_unaligned()
89 ABTS_ASSERT(tc, "check for correct md5 digest of unaligned data", in test_md5sum_unaligned()
H A Dtestcrypto.c40 ABTS_ASSERT(tc, "failed to init apr_crypto", rv == APR_SUCCESS); in get_driver()
62 ABTS_ASSERT(tc, "apr_crypto_get_driver returned NULL", driver != NULL); in get_driver()
108 ABTS_ASSERT(tc, "apr_crypto_make returned NULL", f != NULL); in make()
153 ABTS_ASSERT(tc, "apr_crypto_key returned APR_EPADDING", in keysecret()
155 ABTS_ASSERT(tc, "apr_crypto_key returned APR_EKEYTYPE", in keysecret()
157 ABTS_ASSERT(tc, "failed to apr_crypto_key", rv == APR_SUCCESS); in keysecret()
264 ABTS_ASSERT(tc, "failed to apr_crypto_key", rv == APR_SUCCESS); in keypassphrase()
313 ABTS_ASSERT(tc, in encrypt_block()
316 ABTS_ASSERT(tc, "failed to apr_crypto_block_encrypt_init", in encrypt_block()
561 ABTS_ASSERT(tc, "failed to init apr_crypto", rv == APR_SUCCESS); in test_crypto_init()
[all …]
H A Dtestmd4.c100 ABTS_ASSERT(tc, "apr_md4_init", (apr_md4_init(&context) == 0)); in test_md4sum()
101 ABTS_ASSERT(tc, "apr_md4_update", in test_md4sum()
105 ABTS_ASSERT(tc, "apr_md4_final", (apr_md4_final(digest, &context) ==0)); in test_md4sum()
106 ABTS_ASSERT(tc, "check for correct md4 digest", in test_md4sum()
H A Dtestuuid.c31 ABTS_ASSERT(tc, "parse produced a different UUID", in test_uuid_parse()
44 ABTS_ASSERT(tc, "generated the same UUID twice", in test_gen2()
H A Dtestsiphash.c138 ABTS_ASSERT(tc, "SipHash-2-4 test vectors", test_vectors()); in test_siphash_vectors()
H A Dabts.h94 #define ABTS_ASSERT(a, b, c) abts_assert(a, b, c, __LINE__); macro
H A Dtestldap.c177 ABTS_ASSERT(tc, "failed to get host", ldap_host[0] != '\0'); in test_ldap()
H A Dtesturi.c270 ABTS_ASSERT(tc, msg, rv == t->rv); in test_aup()