db_test.c File Reference

#include <config.h>
#include <atf-c.h>
#include <unistd.h>
#include <stdlib.h>
#include <dns/db.h>
#include <dns/dbiterator.h>
#include <dns/name.h>
#include <dns/journal.h>
#include "dnstest.h"

Go to the source code of this file.

Defines

#define BUFLEN   255
#define BIGBUFLEN   (64 * 1024)
#define TEST_ORIGIN   "test"

Functions

 ATF_TC (getoriginnode)
 ATF_TC_HEAD (getoriginnode, tc)
 ATF_TC_BODY (getoriginnode, tc)
 ATF_TP_ADD_TCS (tp)


Detailed Description

Definition in file db_test.c.


Define Documentation

#define BUFLEN   255

Definition at line 39 of file db_test.c.

Referenced by ATF_TC_BODY(), and setup_master().

#define BIGBUFLEN   (64 * 1024)

Definition at line 40 of file db_test.c.

Referenced by add_callback(), and ATF_TC_BODY().

#define TEST_ORIGIN   "test"

Definition at line 41 of file db_test.c.

Referenced by ATF_TC_BODY(), setup_master(), test_create(), test_reverse(), test_seek(), test_seek_empty(), test_seek_nx(), and test_walk().


Function Documentation

ATF_TC ( getoriginnode   ) 

ATF_TC_HEAD ( getoriginnode  ,
tc   
)

Definition at line 48 of file db_test.c.

ATF_TC_BODY ( getoriginnode  ,
tc   
)

Definition at line 52 of file db_test.c.

References dns_db_create(), dns_db_detach(), dns_db_detachnode(), dns_db_getoriginnode(), dns_dbtype_zone, dns_rootname, isc_hash_create(), isc_mem_create(), isc_mem_detach(), and ISC_R_SUCCESS.

ATF_TP_ADD_TCS ( tp   ) 

Definition at line 83 of file db_test.c.

References getoriginnode().


Generated on Tue Apr 28 17:41:13 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha