zonemgr_test.c revision 0c27b3fe77ac1d5094ba3521e8142d9e7973133f
/*
* Copyright (C) 2011-2013, 2015, 2016 Internet Systems Consortium, Inc. ("ISC")
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/* $Id$ */
/*! \file */
#include <config.h>
#include <atf-c.h>
#include <unistd.h>
#include "dnstest.h"
/*
* Individual unit tests
*/
}
&myzonemgr);
dns_test_end();
}
}
&myzonemgr);
/* This should not succeed until the dns_zonemgr_setsize() is run */
/* Now it should succeed */
dns_test_end();
}
}
&myzonemgr);
/* This should not succeed until the dns_zonemgr_setsize() is run */
/* Now it should succeed */
dns_test_end();
}
}
&myzonemgr);
/*
* We require multiple unreachableadd calls to mark a server as
* unreachable.
*/
/*
* We require multiple unreachableadd calls to mark a server as
* unreachable.
*/
dns_test_end();
}
/*
* Main
*/
ATF_TP_ADD_TCS(tp) {
return (atf_no_error());
}
/*
* XXX:
* dns_zonemgr API calls that are not yet part of this unit test:
*
* - dns_zonemgr_attach
* - dns_zonemgr_forcemaint
* - dns_zonemgr_resumexfrs
* - dns_zonemgr_shutdown
* - dns_zonemgr_setsize
* - dns_zonemgr_settransfersin
* - dns_zonemgr_getttransfersin
* - dns_zonemgr_settransfersperns
* - dns_zonemgr_getttransfersperns
* - dns_zonemgr_setiolimit
* - dns_zonemgr_getiolimit
* - dns_zonemgr_dbdestroyed
* - dns_zonemgr_setserialqueryrate
* - dns_zonemgr_getserialqueryrate
*/