GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > MEM / V5-5-0

Constituent: mem_unit_test     Tag: mv2304


Interface   Data Structures   File List   Data Fields   Globals  

mem_test_control.c File Reference

Test of the Memory Control functions. More...

#include <string.h>
#include "MEM/MEM_msgs.h"
#include "MEM/MEM_pubdefs.h"
#include "MSG/MSG_pubdefs.h"
#include "mem_test_control.h"
#include "mem_unit_test.h"

Include dependency graph for mem_test_control.c:

Include dependency graph

Data Structures

struct  _mem_ControlInfo
 Memory control test descriptor. More...


Typedefs

typedef _mem_ControlInfo mem_ControlInfo
 Typedef for _mem_ControlInfo.


Functions

int mem_getInfo_wrap (test_Test_Descriptor *td_p, int id, mem_ControlInfo *info_p)
 Get and verify info about the MEM functions.

int mem_initialize_wrap (test_Test_Descriptor *td_p, int id, mem_ControlInfo *info_p)
 Initialize the MEM functions and verify the results.

int mem_shutdown_wrap (test_Test_Descriptor *td_p, int id, mem_ControlInfo *info_p)
 Shutdown the MEM functions and verify the results.

void mem_Control_test (test_Test_Descriptor *td_p, const unsigned int bit_mask)
 Unit test for Memory Control functions.


Detailed Description

Test of the 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.4 2005/08/04 19:42:21 dmay Exp $
  

Function Documentation

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.

Parameters:
td_p Pointer to test descriptor.
bit_mask Bitmask ID for this subtest.
Return values:
0 Success.
-1 Failure.

Here is the call graph for this function:

int mem_getInfo_wrap test_Test_Descriptor td_p,
int  id,
mem_ControlInfo info_p
[static]
 

Get and verify info about the MEM functions.

Wrapper for the MEM_getInfo() function that validates the results.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to memory control test information.
Return values:
0 Success.
-1 Failure.

Here is the call graph for this function:

int mem_initialize_wrap test_Test_Descriptor td_p,
int  id,
mem_ControlInfo info_p
[static]
 

Initialize the MEM functions and verify the results.

Wrapper for the MEM_initialize() function that validates the results.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to memory control test information.
Return values:
0 Success.
-1 Failure.

Here is the call graph for this function:

int mem_shutdown_wrap test_Test_Descriptor td_p,
int  id,
mem_ControlInfo info_p
[static]
 

Shutdown the MEM functions and verify the results.

Wrapper for the MEM_shutdown() function that validates the results.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to memory control test information.
Return values:
0 Success.
-1 Failure.

Here is the call graph for this function:


Generated on Sat Sep 24 21:14:49 2005 by doxygen 1.3.3