GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EMSG / V1-1-2 > test_emsg_st / rhel6-64


Interface   Data Structures   File List   Data Fields   Globals  

EMSG_testUtility.c File Reference

Various test printing utilities. More...

#include <stdio.h>
#include <string.h>
#include <EMSG_tstdefs.h>

Functions

unsigned int EMSG_action (const char *txt)
 Announce an action.
unsigned int EMSG_announceMajor (const char *txt)
 Major test announcement.
unsigned int EMSG_announceMajorEnd (const char *txt, unsigned int ret)
 Major test end announcement.
unsigned int EMSG_announceMinor (const char *txt)
 Minor test announcement.
unsigned int EMSG_announceMinorEnd (const char *txt, unsigned int ret)
 Minor test end announcement.
unsigned int EMSG_testInt (const char *txt, unsigned int val, unsigned int op, unsigned int lim)
 Test an integer value.
unsigned int EMSG_testStr (const char *txt, const char *val, unsigned int op, const char *lim)
 Test a string value.


Detailed Description

Various test printing utilities.

Id
EMSG_testUtility.c,v 1.3 2011/03/25 21:38:44 saxton Exp

Author:
A.P.Waite & Owen H Saxton

Function Documentation

unsigned int EMSG_action ( const char *  txt  ) 

Announce an action.

Parameters:
txt Text string embedded in test dump

Referenced by EMSG_testNoTask(), and EMSG_testOptions().

unsigned int EMSG_announceMajor ( const char *  txt  ) 

Major test announcement.

Parameters:
txt Text string embedded in test dump

Referenced by EMSG_testNoTask(), EMSG_testOptions(), and EMSG_testState().

unsigned int EMSG_announceMajorEnd ( const char *  txt,
unsigned int  ret 
)

Major test end announcement.

Parameters:
txt Text string embedded in test dump
ret Pass/fail

Referenced by EMSG_testNoTask(), EMSG_testOptions(), and EMSG_testState().

unsigned int EMSG_announceMinor ( const char *  txt  ) 

Minor test announcement.

Parameters:
txt Text string embedded in test dump

Referenced by EMSG_testNoTask(), and EMSG_testOptions().

unsigned int EMSG_announceMinorEnd ( const char *  txt,
unsigned int  ret 
)

Minor test end announcement.

Parameters:
txt Text string embedded in test dump
ret Pass/fail

Referenced by EMSG_testOptions().

unsigned int EMSG_testInt ( const char *  txt,
unsigned int  val,
unsigned int  op,
unsigned int  lim 
)

Test an integer value.

Parameters:
txt Text string embedded in test dump
val The value to test
op The operation
lim The value to test against

Referenced by EMSG_testNoTask(), and EMSG_testOptions().

unsigned int EMSG_testStr ( const char *  txt,
const char *  val,
unsigned int  op,
const char *  lim 
)

Test a string value.

Parameters:
txt Text string embedded in test dump
val The string to test
op The operation
lim The string to test against

Referenced by EMSG_testNoTask().


Generated on Tue Nov 29 17:00:21 2011 by  doxygen 1.5.8