#include <config.h>
#include <atf-c.h>
#include <unistd.h>
#include <isc/buffer.h>
#include <isc/task.h>
#include <isc/timer.h>
#include <dns/name.h>
#include <dns/view.h>
#include <dns/zone.h>
#include "dnstest.h"
Go to the source code of this file.
Functions | |
ATF_TC (zonemgr_create) | |
ATF_TC_HEAD (zonemgr_create, tc) | |
ATF_TC_BODY (zonemgr_create, tc) | |
ATF_TC (zonemgr_managezone) | |
ATF_TC_HEAD (zonemgr_managezone, tc) | |
ATF_TC_BODY (zonemgr_managezone, tc) | |
ATF_TC (zonemgr_createzone) | |
ATF_TC_HEAD (zonemgr_createzone, tc) | |
ATF_TC_BODY (zonemgr_createzone, tc) | |
ATF_TC (zonemgr_unreachable) | |
ATF_TC_HEAD (zonemgr_unreachable, tc) | |
ATF_TC_BODY (zonemgr_unreachable, tc) | |
ATF_TP_ADD_TCS (tp) |
Definition in file zonemgr_test.c.
ATF_TC | ( | zonemgr_create | ) |
ATF_TC_HEAD | ( | zonemgr_create | , | |
tc | ||||
) |
Definition at line 41 of file zonemgr_test.c.
ATF_TC_BODY | ( | zonemgr_create | , | |
tc | ||||
) |
Definition at line 44 of file zonemgr_test.c.
References dns_test_begin(), dns_test_end(), dns_zonemgr_create(), dns_zonemgr_detach(), dns_zonemgr_shutdown(), ISC_R_SUCCESS, ISC_TRUE, mctx, socketmgr, taskmgr, timermgr, and UNUSED.
ATF_TC | ( | zonemgr_managezone | ) |
ATF_TC_HEAD | ( | zonemgr_managezone | , | |
tc | ||||
) |
Definition at line 66 of file zonemgr_test.c.
ATF_TC_BODY | ( | zonemgr_managezone | , | |
tc | ||||
) |
Definition at line 69 of file zonemgr_test.c.
References dns_test_begin(), dns_test_end(), dns_test_makezone(), dns_zone_detach(), dns_zonemgr_create(), dns_zonemgr_detach(), dns_zonemgr_getcount(), dns_zonemgr_managezone(), dns_zonemgr_releasezone(), dns_zonemgr_setsize(), dns_zonemgr_shutdown(), DNS_ZONESTATE_ANY, ISC_FALSE, ISC_R_FAILURE, ISC_R_SUCCESS, ISC_TRUE, mctx, socketmgr, taskmgr, timermgr, UNUSED, and zone.
ATF_TC | ( | zonemgr_createzone | ) |
ATF_TC_HEAD | ( | zonemgr_createzone | , | |
tc | ||||
) |
Definition at line 114 of file zonemgr_test.c.
ATF_TC_BODY | ( | zonemgr_createzone | , | |
tc | ||||
) |
Definition at line 117 of file zonemgr_test.c.
References dns_test_begin(), dns_test_end(), dns_zone_detach(), dns_zonemgr_create(), dns_zonemgr_createzone(), dns_zonemgr_detach(), dns_zonemgr_setsize(), dns_zonemgr_shutdown(), ISC_R_FAILURE, ISC_R_SUCCESS, ISC_TRUE, mctx, socketmgr, taskmgr, timermgr, UNUSED, and zone.
ATF_TC | ( | zonemgr_unreachable | ) |
ATF_TC_HEAD | ( | zonemgr_unreachable | , | |
tc | ||||
) |
Definition at line 154 of file zonemgr_test.c.
ATF_TC_BODY | ( | zonemgr_unreachable | , | |
tc | ||||
) |
Definition at line 157 of file zonemgr_test.c.
References dns_test_begin(), dns_test_end(), dns_test_makezone(), dns_zone_detach(), dns_zonemgr_create(), dns_zonemgr_detach(), dns_zonemgr_managezone(), dns_zonemgr_releasezone(), dns_zonemgr_setsize(), dns_zonemgr_shutdown(), dns_zonemgr_unreachable(), dns_zonemgr_unreachableadd(), dns_zonemgr_unreachabledel(), ISC_FALSE, ISC_R_SUCCESS, isc_sockaddr_fromin(), ISC_TRUE, mctx, now, socketmgr, taskmgr, TIME_NOW, timermgr, UNUSED, and zone.
ATF_TP_ADD_TCS | ( | tp | ) |
Definition at line 233 of file zonemgr_test.c.