Lines Matching defs:tc
36 test_create(const atf_tc_t *tc, dns_db_t **old, dns_db_t **newdb) {
40 atf_tc_get_md_var(tc, "X-old"));
44 atf_tc_get_md_var(tc, "X-new"));
53 ATF_TC_HEAD(diffx_same, tc) {
54 atf_tc_set_md_var(tc, "descr", "dns_db_diffx of identical content");
55 atf_tc_set_md_var(tc, "X-old", "testdata/diff/zone1.data");
56 atf_tc_set_md_var(tc, "X-new", "testdata/diff/zone1.data"); }
57 ATF_TC_BODY(diffx_same, tc) {
65 test_create(tc, &olddb, &newdb);
81 ATF_TC_HEAD(diffx_add, tc) {
82 atf_tc_set_md_var(tc, "descr",
84 atf_tc_set_md_var(tc, "X-old", "testdata/diff/zone1.data");
85 atf_tc_set_md_var(tc, "X-new", "testdata/diff/zone2.data");
87 ATF_TC_BODY(diffx_add, tc) {
97 test_create(tc, &olddb, &newdb);
119 ATF_TC_HEAD(diffx_remove, tc) {
120 atf_tc_set_md_var(tc, "descr",
122 atf_tc_set_md_var(tc, "X-old", "testdata/diff/zone1.data");
123 atf_tc_set_md_var(tc, "X-new", "testdata/diff/zone3.data");
125 ATF_TC_BODY(diffx_remove, tc) {
135 test_create(tc, &olddb, &newdb);