Searched refs:atf_tc_t (Results 1 - 14 of 14) sorted by relevance

/bind-9.6-ESV-R11/unit/atf-src/atf-c/
H A Dtc.h69 typedef struct atf_tc atf_tc_t; typedef in typeref:struct:atf_tc
72 atf_error_t atf_tc_init(atf_tc_t *, const char *, atf_tc_head_t,
75 atf_error_t atf_tc_init_pack(atf_tc_t *, atf_tc_pack_t *,
77 void atf_tc_fini(atf_tc_t *);
80 const char *atf_tc_get_ident(const atf_tc_t *);
81 const char *atf_tc_get_config_var(const atf_tc_t *, const char *);
82 const char *atf_tc_get_config_var_wd(const atf_tc_t *, const char *,
84 bool atf_tc_get_config_var_as_bool(const atf_tc_t *, const char *);
85 bool atf_tc_get_config_var_as_bool_wd(const atf_tc_t *, const char *,
87 long atf_tc_get_config_var_as_long(const atf_tc_t *, cons
[all...]
H A Dmacros_h_test.c89 atf_tc_t *test_name_1 = &ATF_TC_NAME(TEST_MACRO_1);
90 void (*head_1)(atf_tc_t *) = ATF_TC_HEAD_NAME(TEST_MACRO_1);
91 void (*body_1)(const atf_tc_t *) = ATF_TC_BODY_NAME(TEST_MACRO_1);
96 atf_tc_t *test_name_2 = &ATF_TC_NAME(TEST_MACRO_2);
97 void (*head_2)(atf_tc_t *) = ATF_TC_HEAD_NAME(TEST_MACRO_2);
98 void (*body_2)(const atf_tc_t *) = ATF_TC_BODY_NAME(TEST_MACRO_2);
99 void (*cleanup_2)(const atf_tc_t *) = ATF_TC_CLEANUP_NAME(TEST_MACRO_2);
102 atf_tc_t *test_name_3 = &ATF_TC_NAME(TEST_MACRO_3);
103 void (*body_3)(const atf_tc_t *) = ATF_TC_BODY_NAME(TEST_MACRO_3);
H A Dtp.c53 const atf_tc_t *
56 const atf_tc_t *tc;
61 const atf_tc_t *tc2;
113 atf_tc_t *tc = atf_list_iter_data(iter);
134 const atf_tc_t *tc = find_tc(tp, id);
138 const atf_tc_t *
141 const atf_tc_t *tc = find_tc(tp, id);
146 const atf_tc_t *const *
149 const atf_tc_t **array;
153 array = malloc(sizeof(atf_tc_t *) *
[all...]
H A Dmacros.h48 static void atfu_ ## tc ## _body(const atf_tc_t *); \
49 static atf_tc_t atfu_ ## tc ## _tc; \
58 static void atfu_ ## tc ## _head(atf_tc_t *); \
59 static void atfu_ ## tc ## _body(const atf_tc_t *); \
60 static atf_tc_t atfu_ ## tc ## _tc; \
69 static void atfu_ ## tc ## _head(atf_tc_t *); \
70 static void atfu_ ## tc ## _body(const atf_tc_t *); \
71 static void atfu_ ## tc ## _cleanup(const atf_tc_t *); \
72 static atf_tc_t atfu_ ## tc ## _tc; \
83 atfu_ ## tc ## _head(atf_tc_t *tcpt
[all...]
H A Dtc_test.c55 * Test cases for the "atf_tc_t" type.
65 atf_tc_t tc;
87 atf_tc_t tc;
120 atf_tc_t tc;
140 atf_tc_t tc;
H A Dtc.c67 const atf_tc_t *tc;
79 static void context_init(struct context *, const atf_tc_t *, const char *);
110 context_init(struct context *ctx, const atf_tc_t *tc, const char *resfile)
549 atf_tc_init(atf_tc_t *tc, const char *ident, atf_tc_head_t head,
606 atf_tc_init_pack(atf_tc_t *tc, const atf_tc_pack_t *pack,
614 atf_tc_fini(atf_tc_t *tc)
625 atf_tc_get_ident(const atf_tc_t *tc)
631 atf_tc_get_config_var(const atf_tc_t *tc, const char *name)
645 atf_tc_get_config_var_wd(const atf_tc_t *tc, const char *name,
659 atf_tc_get_config_var_as_bool(const atf_tc_t *t
[all...]
H A Dmacros_test.c81 init_and_run_h_tc(const char *name, void (*head)(atf_tc_t *),
82 void (*body)(const atf_tc_t *))
84 atf_tc_t tc;
243 void (*head)(atf_tc_t *);
244 void (*body)(const atf_tc_t *);
287 void (*head)(atf_tc_t *);
288 void (*body)(const atf_tc_t *);
342 void (*head)(atf_tc_t *);
343 void (*body)(const atf_tc_t *);
385 void (*head)(atf_tc_t *);
[all...]
H A Dcheck_test.c53 do_exec(const atf_tc_t *tc, const char *helper_name, atf_check_result_t *r)
71 do_exec_with_arg(const atf_tc_t *tc, const char *helper_name, const char *arg,
225 init_and_run_h_tc(atf_tc_t *tc, const atf_tc_pack_t *tcpack,
/bind-9.6-ESV-R11/unit/atf-src/atf-c/detail/
H A Dtest_helpers.h80 void build_check_c_o(const atf_tc_t *, const char *, const char *, const bool);
82 void get_process_helpers_path(const atf_tc_t *, const bool,
85 void run_h_tc(atf_tc_t *, const char *, const char *, const char *);
H A Dtest_helpers.c71 build_check_c_o(const atf_tc_t *tc, const char *sfile, const char *failmsg,
100 get_process_helpers_path(const atf_tc_t *tc, const bool is_detail,
109 atf_tc_t *m_tc;
126 run_h_tc(atf_tc_t *tc, const char *outname, const char *errname,
H A Dtp_main.c256 const atf_tc_t *const *tcs;
257 const atf_tc_t *const *tcsptr;
264 const atf_tc_t *tc = *tcsptr;
H A Dprocess_test.c863 do_exec(const atf_tc_t *tc, const char *helper_name, atf_process_status_t *s,
/bind-9.6-ESV-R11/unit/atf-src/atf-c++/
H A Dtests.cpp129 static std::map< atf_tc_t*, impl::tc* > wraps;
130 static std::map< const atf_tc_t*, const impl::tc* > cwraps;
134 atf_tc_t m_tc;
144 wrap_head(atf_tc_t *tc)
146 std::map< atf_tc_t*, impl::tc* >::iterator iter = wraps.find(tc);
152 wrap_body(const atf_tc_t *tc)
154 std::map< const atf_tc_t*, const impl::tc* >::const_iterator iter =
168 wrap_cleanup(const atf_tc_t *tc)
170 std::map< const atf_tc_t*, const impl::tc* >::const_iterator iter =
/bind-9.6-ESV-R11/lib/dns/tests/
H A Ddbiterator_test.c97 test_create(const atf_tc_t *tc) {
137 test_walk(const atf_tc_t *tc) {
200 static void test_reverse(const atf_tc_t *tc) {
261 static void test_seek(const atf_tc_t *tc) {
336 static void test_seek_empty(const atf_tc_t *tc) {
393 static void test_seek_nx(const atf_tc_t *tc) {

Completed in 1729 milliseconds