taskpool_test.c revision 0c27b3fe77ac1d5094ba3521e8142d9e7973133f
/*
* Copyright (C) 2011, 2012, 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 <isc/taskpool.h>
#include "isctest.h"
/*
* Individual unit tests
*/
/* Create a taskpool */
}
isc_test_end();
}
/* Resize a taskpool */
}
/* resizing to a smaller size should have no effect */
/* resizing to the same size should have no effect */
/* resizing to larger size should make a new pool */
isc_test_end();
}
/* Get tasks */
}
/* two tasks in pool; make sure we can access them more than twice */
isc_test_end();
}
/* Get tasks */
}
isc_test_end();
}
/*
* Main
*/
ATF_TP_ADD_TCS(tp) {
return (atf_no_error());
}