GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > MON / V0-2-0

Constituent: mon_unit_test     Tag: mv2304


Interface   Data Structures   File List   Data Fields   Globals  

mon_test_control.c File Reference

Test the MON package control functions. More...

#include <string.h>
#include "MON/MON_msgs.h"
#include "MON/MON_pubdefs.h"
#include "MSG/MSG_pubdefs.h"
#include "mon_test_control.h"
#include "mon_unit_test.h"

Include dependency graph for mon_test_control.c:

Include dependency graph

Data Structures

struct  _mon_Control_Info
 MON control test state. More...


Typedefs

typedef _mon_Control_Info mon_Control_Info
 Typedef for _mon_Control_Info.


Functions

int mon_initialize_wrap (test_Test_Descriptor *td_p, int id, mon_Control_Info *info_p)
 Call MON_initialize() and validate the results.

int mon_shutdown_wrap (test_Test_Descriptor *td_p, int id, mon_Control_Info *info_p)
 Call MON_shutdown() and validate the results.

int mon_start_wrap (test_Test_Descriptor *td_p, int id, mon_Control_Info *info_p)
 Call MON_start() and validate the results.

int mon_stop_wrap (test_Test_Descriptor *td_p, int id, mon_Control_Info *info_p)
 Call MON_stop() and validate the results.

int mon_get_loading_wrap (test_Test_Descriptor *td_p, int id, mon_Control_Info *info_p)
 Call MON_get_loading() and validate the results.

int mon_start_perf_mon_wrap (test_Test_Descriptor *td_p, int id, mon_Control_Info *info_p)
 Call MON_start_perf_mon() and validate the results.

int mon_stop_perf_mon_wrap (test_Test_Descriptor *td_p, int id, mon_Control_Info *info_p)
 Call MON_stop_perf_mon() and validate the results.

int mon_collect_perf_stats_wrap (test_Test_Descriptor *td_p, int id, mon_Control_Info *info_p)
 Call MON_collect_perf_stats() and validate the results.

void mon_test_control (test_Test_Descriptor *td_p, const unsigned int bit_mask)
 Unit test for MON control functions.


Detailed Description

Test the MON package control functions.

**  CVS $Id: mon_test_control.c,v 1.2 2005/03/30 16:55:04 dmay Exp $
**  

Function Documentation

int mon_collect_perf_stats_wrap test_Test_Descriptor td_p,
int  id,
mon_Control_Info info_p
[static]
 

Call MON_collect_perf_stats() and validate the results.

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

Here is the call graph for this function:

int mon_get_loading_wrap test_Test_Descriptor td_p,
int  id,
mon_Control_Info info_p
[static]
 

Call MON_get_loading() and validate the results.

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

Here is the call graph for this function:

int mon_initialize_wrap test_Test_Descriptor td_p,
int  id,
mon_Control_Info info_p
[static]
 

Call MON_initialize() and validate the results.

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

Here is the call graph for this function:

int mon_shutdown_wrap test_Test_Descriptor td_p,
int  id,
mon_Control_Info info_p
[static]
 

Call MON_shutdown() and validate the results.

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

Here is the call graph for this function:

int mon_start_perf_mon_wrap test_Test_Descriptor td_p,
int  id,
mon_Control_Info info_p
[static]
 

Call MON_start_perf_mon() and validate the results.

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

Here is the call graph for this function:

int mon_start_wrap test_Test_Descriptor td_p,
int  id,
mon_Control_Info info_p
[static]
 

Call MON_start() and validate the results.

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

Here is the call graph for this function:

int mon_stop_perf_mon_wrap test_Test_Descriptor td_p,
int  id,
mon_Control_Info info_p
[static]
 

Call MON_stop_perf_mon() and validate the results.

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

Here is the call graph for this function:

int mon_stop_wrap test_Test_Descriptor td_p,
int  id,
mon_Control_Info info_p
[static]
 

Call MON_stop() and validate the results.

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

Here is the call graph for this function:

void mon_test_control test_Test_Descriptor td_p,
const unsigned int  bit_mask
 

Unit test for MON control functions.

Parameters:
td_p Pointer to test descriptor.
bit_mask Bitmask ID for this subtest.
Returns:
Nothing.

Here is the call graph for this function:


Generated on Sun Jul 17 09:43:25 2005 by doxygen 1.3.3