/macosx-10.10/apr-32/apr-util/apr-util/test/ |
H A D | testmd5.c | 60 ABTS_ASSERT(tc, "apr_md5_init", (apr_md5_init(&context) == 0)); 61 ABTS_ASSERT(tc, "apr_md5_update", 63 ABTS_ASSERT(tc, "apr_md5_final", (apr_md5_final(digest, &context) 65 ABTS_ASSERT(tc, "check for correct md5 digest", 81 ABTS_ASSERT(tc, "apr_md5_init", (apr_md5_init(&context) == 0)); 83 ABTS_ASSERT(tc, "apr_md5_update", 87 ABTS_ASSERT(tc, "apr_md5_final", (apr_md5_final(digest, &context) 89 ABTS_ASSERT(tc, "check for correct md5 digest of unaligned data",
|
H A D | testmemcache.c | 141 ABTS_ASSERT(tc, "memcache create failed", rv == APR_SUCCESS); 149 ABTS_ASSERT(tc, "server create failed", rv == APR_SUCCESS); 152 ABTS_ASSERT(tc, "server add failed", rv == APR_SUCCESS); 158 ABTS_ASSERT(tc, "server disable failed", rv == APR_SUCCESS); 161 ABTS_ASSERT(tc, "server enable failed", rv == APR_SUCCESS); 164 ABTS_ASSERT(tc, "hash failed", hash > 0); 171 ABTS_ASSERT(tc, "server create failed", rv == APR_SUCCESS); 174 ABTS_ASSERT(tc, "server add should have failed", rv != APR_SUCCESS); 209 ABTS_ASSERT(tc, "memcache create failed", rv == APR_SUCCESS); 225 ABTS_ASSERT(t [all...] |
H A D | testdbd.c | 30 ABTS_ASSERT(tc, "failed to init apr_dbd", rv == APR_SUCCESS); 42 ABTS_ASSERT(tc, sql, rv == APR_SUCCESS); 84 ABTS_ASSERT(tc, sqf, rv == APR_SUCCESS); 85 ABTS_ASSERT(tc, sqf, 1 == nrows); 101 ABTS_ASSERT(tc, sql, rv == APR_SUCCESS); 109 ABTS_ASSERT(tc, sql, rv == APR_SUCCESS); 114 ABTS_ASSERT(tc, "Missing Rows!", i == 0); 120 ABTS_ASSERT(tc, sql, rv == APR_SUCCESS); 124 ABTS_ASSERT(tc, "invalid row count", rv == count); 129 ABTS_ASSERT(t [all...] |
H A D | testmd4.c | 100 ABTS_ASSERT(tc, "apr_md4_init", (apr_md4_init(&context) == 0)); 101 ABTS_ASSERT(tc, "apr_md4_update", 105 ABTS_ASSERT(tc, "apr_md4_final", (apr_md4_final(digest, &context) ==0)); 106 ABTS_ASSERT(tc, "check for correct md4 digest",
|
H A D | testbuckets.c | 30 ABTS_ASSERT(tc, "new brigade not NULL", bb != NULL); 31 ABTS_ASSERT(tc, "new brigade is empty", APR_BRIGADE_EMPTY(bb)); 47 ABTS_ASSERT(tc, "first bucket of empty brigade is sentinel", 53 ABTS_ASSERT(tc, "first bucket of brigade is flush", 56 ABTS_ASSERT(tc, "bucket after flush is sentinel", 62 ABTS_ASSERT(tc, "bucket before flush now transient", 64 ABTS_ASSERT(tc, "bucket after transient is flush", 66 ABTS_ASSERT(tc, "bucket before transient is sentinel", 71 ABTS_ASSERT(tc, "cleaned up brigade was empty", APR_BRIGADE_EMPTY(bb)); 107 ABTS_ASSERT(t [all...] |
H A D | testuuid.c | 31 ABTS_ASSERT(tc, "parse produced a different UUID", 44 ABTS_ASSERT(tc, "generated the same UUID twice",
|
H A D | testcrypto.c | 40 ABTS_ASSERT(tc, "failed to init apr_crypto", rv == APR_SUCCESS); 51 ABTS_ASSERT(tc, "failed to apr_crypto_get_driver", rv == APR_SUCCESS); 52 ABTS_ASSERT(tc, "apr_crypto_get_driver returned NULL", driver != NULL); 90 ABTS_ASSERT(tc, "apr_crypto_make returned NULL", f != NULL); 132 ABTS_ASSERT(tc, "apr_crypto_passphrase returned APR_ENOKEY", rv != APR_ENOKEY); 133 ABTS_ASSERT(tc, "apr_crypto_passphrase returned APR_EPADDING", rv != APR_EPADDING); 134 ABTS_ASSERT(tc, "apr_crypto_passphrase returned APR_EKEYTYPE", rv != APR_EKEYTYPE); 135 ABTS_ASSERT(tc, "failed to apr_crypto_passphrase", rv == APR_SUCCESS); 136 ABTS_ASSERT(tc, "apr_crypto_passphrase returned NULL context", key != NULL); 175 ABTS_ASSERT(t [all...] |
H A D | abts.h | 94 #define ABTS_ASSERT(a, b, c) abts_assert(a, b, c, __LINE__); macro
|
/macosx-10.10/apr-32/apr/apr/test/ |
H A D | teststrnatcmp.c | 25 ABTS_ASSERT(tc, "didn't compare simple strings properly", rv < 0); 31 ABTS_ASSERT(tc, "didn't compare simple strings properly", rv == 0); 37 ABTS_ASSERT(tc, "didn't compare simple strings properly", rv > 0); 43 ABTS_ASSERT(tc, "didn't compare simple strings properly", rv < 0); 49 ABTS_ASSERT(tc, "didn't compare simple strings properly", rv == 0); 55 ABTS_ASSERT(tc, "didn't compare simple strings properly", rv > 0); 61 ABTS_ASSERT(tc, "didn't compare simple strings properly", rv < 0);
|
H A D | testfileinfo.c | 54 ABTS_ASSERT(tc, "apr_stat and apr_getfileinfo must return APR_FINFO_TYPE", 56 ABTS_ASSERT(tc, "apr_stat and apr_getfileinfo differ in filetype", 58 ABTS_ASSERT(tc, "apr_stat and apr_getfileinfo must return APR_FINFO_SIZE", 60 ABTS_ASSERT(tc, "apr_stat and apr_getfileinfo differ in size", 62 ABTS_ASSERT(tc, "apr_stat and apr_getfileinfo must return APR_FINFO_ATIME", 64 ABTS_ASSERT(tc, "apr_stat and apr_getfileinfo differ in atime", 66 ABTS_ASSERT(tc, "apr_stat and apr_getfileinfo must return APR_FINFO_MTIME", 68 ABTS_ASSERT(tc, "apr_stat and apr_getfileinfo differ in mtime", 70 ABTS_ASSERT(tc, "apr_stat and apr_getfileinfo must return APR_FINFO_CTIME", 72 ABTS_ASSERT(t [all...] |
H A D | testdso.c | 61 ABTS_ASSERT(tc, apr_dso_error(h, errstr, 256), APR_SUCCESS == status); 77 ABTS_ASSERT(tc, apr_dso_error(h, errstr, 256), APR_SUCCESS == status); 81 ABTS_ASSERT(tc, apr_dso_error(h, errstr, 256), APR_SUCCESS == status); 102 ABTS_ASSERT(tc, apr_dso_error(h, errstr, 256), APR_SUCCESS == status); 106 ABTS_ASSERT(tc, apr_dso_error(h, errstr, 256), APR_SUCCESS == status); 126 ABTS_ASSERT(tc, apr_dso_error(h, errstr, 256), APR_SUCCESS == status); 130 ABTS_ASSERT(tc, apr_dso_error(h, errstr, 256), APR_SUCCESS == status); 147 ABTS_ASSERT(tc, apr_dso_error(h, errstr, 256), APR_SUCCESS == status); 163 ABTS_ASSERT(tc, apr_dso_error(h, errstr, 256), APR_SUCCESS == status); 167 ABTS_ASSERT(t [all...] |
H A D | testlfs.c | 123 ABTS_ASSERT(tc, "file_info_get gave incorrect size", 138 ABTS_ASSERT(tc, "stat gave incorrect size", finfo.size == eightGB); 157 ABTS_ASSERT(tc, "apr_dir_read gave incorrect size for large file", 192 ABTS_ASSERT(tc, "file_info_get gave incorrect size", 213 ABTS_ASSERT(tc, "seek to END gave 8GB", pos == eightGB); 217 ABTS_ASSERT(tc, "seek gave 8GB offset", pos == eightGB); 221 ABTS_ASSERT(tc, "relative seek gave 8GB offset", pos == eightGB); 240 ABTS_ASSERT(tc, "seek gave 8GB-4 offset", pos == eightGB - 4); 270 ABTS_ASSERT(tc, "mapped a 64K block", map->size == len); 274 ABTS_ASSERT(t [all...] |
H A D | teststr.c | 130 ABTS_ASSERT(tc, "buff unmangled", strcmp(buff, "FOOBAR") != 0); 253 ABTS_ASSERT(tc, 260 ABTS_ASSERT(tc, 270 ABTS_ASSERT(tc, 282 ABTS_ASSERT(tc, "strtoff fails on out-of-range integer", 286 ABTS_ASSERT(tc, "strtoff failed for 1234", 289 ABTS_ASSERT(tc, "strtoff failed to parse 1234", off == 1234); 316 ABTS_ASSERT(tc, "strfsize overflowed", buf[5] == '$'); 317 ABTS_ASSERT(tc, "strfsize overflowed", buf[6] == '@'); 345 ABTS_ASSERT(t [all...] |
H A D | testuser.c | 116 ABTS_ASSERT(tc, "apr_uid_name_get should fail or " 123 ABTS_ASSERT(tc, "apr_gid_name_get should fail or " 130 ABTS_ASSERT(tc, "apr_gid_get should fail or " 137 ABTS_ASSERT(tc, "apr_gid_get should fail or " 144 ABTS_ASSERT(tc, "apr_uid_homepath_get should fail or "
|
H A D | testatomic.c | 65 ABTS_ASSERT(tc, "atomic_dec returned zero when it shouldn't", rv != 0); 69 ABTS_ASSERT(tc, "atomic_dec didn't returned zero when it should", rv == 0); 203 ABTS_ASSERT(tc, "apr_atomic_dec32 on zero returned zero.", rv != 0); 205 ABTS_ASSERT(tc, str, y32 == minus1); 217 ABTS_ASSERT(tc, "apr_atomic_inc32 didn't return the old value.", rv == minus1); 219 ABTS_ASSERT(tc, str, y32 == 0); 281 ABTS_ASSERT(tc, "Failed creating threads", !r1 && !r2); 289 ABTS_ASSERT(tc, "Invalid return value from thread_join", 298 ABTS_ASSERT(tc, "Failed creating threads", rv == APR_SUCCESS); 474 ABTS_ASSERT(t [all...] |
H A D | testpools.c | 122 ABTS_ASSERT(tc, "nullop cleanup run OK", rv == APR_SUCCESS); 124 ABTS_ASSERT(tc, "cleanup passed correct data", rv == APR_SUCCESS); 126 ABTS_ASSERT(tc, "cleanup passed correct data", rv == APR_EGENERAL);
|
H A D | testprocmutex.c | 95 ABTS_ASSERT(tc, "fork failed", rv == APR_INPARENT); 106 ABTS_ASSERT(tc, "child did not terminate with success", 128 ABTS_ASSERT(tc, "Locks don't appear to work", *x == MAX_COUNTER); 148 ABTS_ASSERT(tc, "Locks don't appear to work with trylock",
|
H A D | testflock.c | 53 ABTS_ASSERT(tc, "wait for child process", 56 ABTS_ASSERT(tc, "child terminated normally", why == APR_PROC_EXIT);
|
H A D | testfilecopy.c | 49 ABTS_ASSERT(tc, "File size differs", orig.size == copy.size); 52 ABTS_ASSERT(tc, "File size differs",
|
H A D | testglobalmutex.c | 54 ABTS_ASSERT(tc, "Error waiting for child process", 57 ABTS_ASSERT(tc, "child didn't terminate normally", why == APR_PROC_EXIT);
|
H A D | testpipe.c | 66 ABTS_ASSERT(tc, "Timeout mismatch, expected -1", timeout == -1); 73 ABTS_ASSERT(tc, "Timeout mismatch, expected 1 second", 183 ABTS_ASSERT(tc, "wait for child process", 186 ABTS_ASSERT(tc, "child terminated normally", why == APR_PROC_EXIT);
|
H A D | testpoll.c | 75 ABTS_ASSERT(tc, str, event & APR_POLLIN); 79 ABTS_ASSERT(tc, str, !(event & APR_POLLIN)); 317 ABTS_ASSERT(tc, "either or both of APR_POLLIN, APR_POLLOUT returned", 325 ABTS_ASSERT(tc, "returned events incorrect", 331 ABTS_ASSERT(tc, "either one or two events returned", 419 ABTS_ASSERT(tc, "either one or two events returned", 425 ABTS_ASSERT(tc, "Incorrect socket in result set", 553 ABTS_ASSERT(tc, "Incorrect socket in result set", 556 ABTS_ASSERT(tc, "Incorrect client data in result set", 708 ABTS_ASSERT(t [all...] |
H A D | testdup.c | 84 ABTS_ASSERT(tc, "File position mismatch, expected 0", fpos == 0); 171 ABTS_ASSERT(tc, "File position mismatch, expected 0", fpos == 0);
|
H A D | testfile.c | 80 ABTS_ASSERT(tc, "Couldn't create hardlink to file", rv == APR_SUCCESS); 88 ABTS_ASSERT(tc, "", rv != APR_SUCCESS); 558 ABTS_ASSERT(tc, "File Pointer Mismatch, expected 10", cur == 10); 568 ABTS_ASSERT(tc, "File Pointer Mismatch, expected 7990", cur == 7990); 597 ABTS_ASSERT(tc, "matched expected file contents", 808 ABTS_ASSERT(tc, "File size mismatch, expected 0 (empty)", finfo.size == 0); 871 ABTS_ASSERT(tc, "failed to write to read-only buffered fd", 900 ABTS_ASSERT(tc, "read should flush buffered write and fail", 906 ABTS_ASSERT(tc, "gets should flush buffered write and fail", 916 ABTS_ASSERT(t [all...] |
H A D | abts.h | 94 #define ABTS_ASSERT(a, b, c) abts_assert(a, b, c, __LINE__); macro
|