H A D | tests.c | 21 * Output a failed test first line. 27 int line, const char *type, in test_fail_message_prefix() 41 test_printf_stderr(" @ %s:%d", file, line); in test_fail_message_prefix() 58 * int test6(const char *file, int line, int n) { 60 * test_fail_message(1, file, line, "int", "value %d is not %d", n, 6); 69 static void test_fail_message(const char *prefix, const char *file, int line, 76 int line, const char *type, in test_fail_message_va() 80 test_fail_message_prefix(prefix, file, line, type, left, right, op); in test_fail_message_va() 89 int line, const char *type, in test_fail_message() 96 test_fail_message_va(prefix, file, line, typ in test_fail_message() 26 test_fail_message_prefix(const char *prefix, const char *file, int line, const char *type, const char *left, const char *right, const char *op) test_fail_message_prefix() argument 75 test_fail_message_va(const char *prefix, const char *file, int line, const char *type, const char *left, const char *right, const char *op, const char *fmt, va_list ap) test_fail_message_va() argument 88 test_fail_message(const char *prefix, const char *file, int line, const char *type, const char *left, const char *right, const char *op, const char *fmt, ...) test_fail_message() argument 109 test_info(const char *file, int line, const char *desc, ...) test_info() argument 128 test_error(const char *file, int line, const char *desc, ...) test_error() argument 161 test_skip(const char *file, int line, const char *desc, ...) test_skip() argument 244 test_ptr_null(const char *file, int line, const char *s, const void *p) test_ptr_null() argument 252 test_ptr(const char *file, int line, const char *s, const void *p) test_ptr() argument 260 test_true(const char *file, int line, const char *s, int b) test_true() argument 268 test_false(const char *file, int line, const char *s, int b) test_false() argument 276 test_str_eq(const char *file, int line, const char *st1, const char *st2, const char *s1, const char *s2) test_str_eq() argument 290 test_str_ne(const char *file, int line, const char *st1, const char *st2, const char *s1, const char *s2) test_str_ne() argument 304 test_strn_eq(const char *file, int line, const char *st1, const char *st2, const char *s1, size_t n1, const char *s2, size_t n2) test_strn_eq() argument 318 test_strn_ne(const char *file, int line, const char *st1, const char *st2, const char *s1, size_t n1, const char *s2, size_t n2) test_strn_ne() argument 332 test_mem_eq(const char *file, int line, const char *st1, const char *st2, const void *s1, size_t n1, const void *s2, size_t n2) test_mem_eq() argument 345 test_mem_ne(const char *file, int line, const char *st1, const char *st2, const void *s1, size_t n1, const void *s2, size_t n2) test_mem_ne() argument 388 test_BN_eq_one(const char *file, int line, const char *s, const BIGNUM *a) test_BN_eq_one() argument 396 test_BN_odd(const char *file, int line, const char *s, const BIGNUM *a) test_BN_odd() argument 404 test_BN_even(const char *file, int line, const char *s, const BIGNUM *a) test_BN_even() argument 413 test_BN_eq_word(const char *file, int line, const char *bns, const char *ws, const BIGNUM *a, BN_ULONG w) test_BN_eq_word() argument 427 test_BN_abs_eq_word(const char *file, int line, const char *bns, const char *ws, const BIGNUM *a, BN_ULONG w) test_BN_abs_eq_word() argument [all...] |