taskpool_test.c File Reference

#include <config.h>
#include <atf-c.h>
#include <unistd.h>
#include <isc/task.h>
#include <isc/taskpool.h>
#include "isctest.h"

Go to the source code of this file.

Functions

 ATF_TC (create_pool)
 ATF_TC_HEAD (create_pool, tc)
 ATF_TC_BODY (create_pool, tc)
 ATF_TC (expand_pool)
 ATF_TC_HEAD (expand_pool, tc)
 ATF_TC_BODY (expand_pool, tc)
 ATF_TC (get_tasks)
 ATF_TC_HEAD (get_tasks, tc)
 ATF_TC_BODY (get_tasks, tc)
 ATF_TC (set_privilege)
 ATF_TC_HEAD (set_privilege, tc)
 ATF_TC_BODY (set_privilege, tc)
 ATF_TP_ADD_TCS (tp)


Detailed Description

Definition in file taskpool_test.c.


Function Documentation

ATF_TC ( create_pool   ) 

ATF_TC_HEAD ( create_pool  ,
tc   
)

Definition at line 38 of file taskpool_test.c.

ATF_TC_BODY ( create_pool  ,
tc   
)

Definition at line 41 of file taskpool_test.c.

References ISC_R_SUCCESS, isc_taskpool_create(), isc_taskpool_destroy(), isc_taskpool_size(), isc_test_begin(), isc_test_end(), ISC_TRUE, mctx, taskmgr, and UNUSED.

ATF_TC ( expand_pool   ) 

ATF_TC_HEAD ( expand_pool  ,
tc   
)

Definition at line 62 of file taskpool_test.c.

ATF_TC_BODY ( expand_pool  ,
tc   
)

Definition at line 65 of file taskpool_test.c.

References ISC_R_SUCCESS, isc_taskpool_create(), isc_taskpool_destroy(), isc_taskpool_expand(), isc_taskpool_size(), isc_test_begin(), isc_test_end(), ISC_TRUE, mctx, taskmgr, and UNUSED.

ATF_TC ( get_tasks   ) 

ATF_TC_HEAD ( get_tasks  ,
tc   
)

Definition at line 114 of file taskpool_test.c.

ATF_TC_BODY ( get_tasks  ,
tc   
)

Definition at line 117 of file taskpool_test.c.

References ISC_R_SUCCESS, isc_task_destroy(), isc_taskpool_create(), isc_taskpool_destroy(), isc_taskpool_gettask(), isc_taskpool_size(), isc_test_begin(), isc_test_end(), ISC_TRUE, ISCAPI_TASK_VALID, mctx, taskmgr, and UNUSED.

ATF_TC ( set_privilege   ) 

ATF_TC_HEAD ( set_privilege  ,
tc   
)

Definition at line 153 of file taskpool_test.c.

ATF_TC_BODY ( set_privilege  ,
tc   
)

Definition at line 156 of file taskpool_test.c.

References ISC_FALSE, ISC_R_SUCCESS, isc_task_destroy(), isc_task_privilege(), isc_taskpool_create(), isc_taskpool_destroy(), isc_taskpool_gettask(), isc_taskpool_setprivilege(), isc_taskpool_size(), isc_test_begin(), isc_test_end(), ISC_TRUE, ISCAPI_TASK_VALID, mctx, taskmgr, and UNUSED.

ATF_TP_ADD_TCS ( tp   ) 

Definition at line 203 of file taskpool_test.c.


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