| /freebsd-12.1/contrib/apr-util/test/ |
| H A D | testmemcache.c | 164 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 D | testbuckets.c | 56 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 D | testdbd.c | 30 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 D | testmd5.c | 60 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 D | testcrypto.c | 40 ABTS_ASSERT(tc, "failed to init apr_crypto", rv == APR_SUCCESS); in get_driver() 51 ABTS_ASSERT(tc, "failed to apr_crypto_get_driver", rv == APR_SUCCESS); in get_driver() 52 ABTS_ASSERT(tc, "apr_crypto_get_driver returned NULL", driver != NULL); in get_driver() 90 ABTS_ASSERT(tc, "apr_crypto_make returned NULL", f != NULL); in make() 135 ABTS_ASSERT(tc, "failed to apr_crypto_passphrase", rv == APR_SUCCESS); in passphrase() 136 ABTS_ASSERT(tc, "apr_crypto_passphrase returned NULL context", key != NULL); in passphrase() 196 ABTS_ASSERT(tc, "failed to apr_crypto_block_encrypt", rv == APR_SUCCESS); in encrypt_block() 214 ABTS_ASSERT(tc, "failed to apr_crypto_block_encrypt_finish", rv == APR_SUCCESS); in encrypt_block() 277 ABTS_ASSERT(tc, "failed to apr_crypto_block_decrypt", rv == APR_SUCCESS); in decrypt_block() 295 ABTS_ASSERT(tc, "failed to apr_crypto_block_decrypt_finish", rv == APR_SUCCESS); in decrypt_block() [all …]
|
| H A D | testmd4.c | 100 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 D | testuuid.c | 31 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 D | abts.h | 94 #define ABTS_ASSERT(a, b, c) abts_assert(a, b, c, __LINE__); macro
|
| H A D | testldap.c | 177 ABTS_ASSERT(tc, "failed to get host", ldap_host[0] != '\0'); in test_ldap()
|
| H A D | testuri.c | 270 ABTS_ASSERT(tc, msg, rv == t->rv); in test_aup()
|