GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> MEM / V5-8-2 > mem_unit_test / linux-gcc
#include <string.h>
#include <MEM/MEM_msgs.h>
#include <MEM/MEM_pubdefs.h>
#include <MSG/MSG_pubdefs.h>
#include <mem_unit_test.h>
#include <mem_util_wrap.h>
Functions | |
void | mem_Control_test (test_Test_Descriptor *td_p, const unsigned int bit_mask) |
Unit test for Memory Control functions. |
This is the unit test for the functions that initialize and shutdown the application-level MEM functions.
CVS $Id: mem_test_control.c,v 1.7 2011/03/29 01:58:52 apw Exp $
void mem_Control_test | ( | test_Test_Descriptor * | td_p, | |
const unsigned int | bit_mask | |||
) |
Unit test for Memory Control functions.
Verify the handling of Memory Control operations.
td_p | Pointer to test descriptor. | |
bit_mask | Bitmask ID for this subtest. |
0 | Success. | |
-1 | Failure. |
References _WRAP_Info::act_info, _WRAP_Info::act_info_p, _WRAP_Info::act_surom, _test_Test_Descriptor::exec, _WRAP_Info::exp_info, _WRAP_Info::exp_info_status, _WRAP_Info::exp_status, _WRAP_Info::exp_surom, _WRAP_Info::exp_surom_rv, _test_Test_Descriptor::fail, _WRAP_Info::surom_check_data, _WRAP_Info::surom_dst_p, _WRAP_Info::surom_num_bytes, _WRAP_Info::surom_src_p, _WRAP_Info::task_p, test_Pop_State(), test_Push_State(), _WRAP_Info::tid, WRAP_get_info(), WRAP_init(), WRAP_init_info(), WRAP_initialize(), WRAP_read_surom(), and WRAP_shutdown().
Referenced by mem_unit_test_func().