GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QMEM / V0-2-1 > qmem_unit_test / rhel6-32
#include <LSF/LSF.h>
#include <QMEM/QMEM.h>
#include <qmem_unit_test.h>
#include <qmem_util_wrap.h>
Functions | |
void | qmem_test_context (test_Test_Descriptor *td_p, const unsigned int bit_mask) |
Unit test for the QMEM context information functions. |
** CVS $Id: qmem_test_context.c,v 1.2 2011/03/30 23:56:36 russell Exp $ **
void qmem_test_context | ( | test_Test_Descriptor * | td_p, | |
const unsigned int | bit_mask | |||
) |
Unit test for the QMEM context information functions.
td_p | Pointer to test descriptor. | |
bit_mask | Bitmask ID for this subtest. |
References _Context::bytes_available, _Context::bytes_dumped, _Context::cmd_fcode, _WRAP_Info::context_p, _Context::data_buf, _WRAP_Info::data_buf_bytes, _WRAP_Info::data_buf_p, _test_Test_Descriptor::exec, _WRAP_Info::exp_ctx, _WRAP_Info::exp_status, _test_Test_Descriptor::fail, _Context::lat_unit, _Context::num_datagrams, QMEM_LAT_UNIT_UNKNOWN, QMEM_STATUS_BAD_CTX, QMEM_STATUS_INCOMPLETE, QMEM_STATUS_OK, _Context::start_addr, _Context::status, test_Pop_State(), test_Push_State(), _Context::tran_id, WRAP_alloc_context(), WRAP_free_context(), WRAP_get_context(), WRAP_init_context(), and WRAP_init_info().
Referenced by qmem_unit_test().