GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> IMM / dev > test_rbm / linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

RBM_tstdefs.h File Reference

Definitons for test code entry points, etc. More...


Defines

#define _ZZ   0
#define _LT   1
#define _LE   2
#define _EQ   3
#define _GE   4
#define _GT   5
#define _NE   6
#define _SZZ   0
#define _SVE   1
#define _SLE   2
#define _SRV   3

Functions

unsigned int RBM_action (const char *txt)
 Announce an action.
unsigned int RBM_announceMajor (const char *txt)
 Major test announcement.
unsigned int RBM_announceMajorEnd (const char *txt, unsigned int ret)
 Major test end announcement.
unsigned int RBM_announceMinor (const char *txt)
 Minor test announcement.
unsigned int RBM_announceMinorEnd (const char *txt, unsigned int ret)
 Minor test end announcement.
unsigned int RBM_testInt (const char *txt, unsigned int val, unsigned int op, unsigned int lim)
 Test an integer value.
unsigned int RBM_testLng (const char *txt, unsigned long long val, unsigned int op, unsigned long long lim)
 Test an integer value.
unsigned int RBM_testPtr (const char *txt, void *val, unsigned int op, void *lim)
 Test an (64 bit) integer value.
unsigned int RBM_testStr (const char *txt, const char *val, unsigned int op, const char *lim)
 Test a string value.


Detailed Description

Definitons for test code entry points, etc.

CVS $Id: RBM_tstdefs.h,v 1.2 2011/03/25 20:22:51 apw Exp $
Author:
A.P.Waite

Function Documentation

unsigned int RBM_action ( const char *  txt  ) 

Announce an action.

Parameters:
txt Text string embedded in test dump

Referenced by testCreate(), testCtlNeverInit(), testCtlOnceInit(), testCtlWithRing(), testRingDeferred(), testRingImmediate(), testStats(), and testTOC().

unsigned int RBM_announceMajor ( const char *  txt  ) 

Major test announcement.

Parameters:
txt Text string embedded in test dump

Referenced by RBM_testCreate(), RBM_testState(), RBM_testStats(), and RBM_testTOC().

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

Major test end announcement.

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

Referenced by RBM_testCreate(), RBM_testState(), RBM_testStats(), and RBM_testTOC().

unsigned int RBM_announceMinor ( const char *  txt  ) 

Minor test announcement.

Parameters:
txt Text string embedded in test dump

Referenced by testCreate(), testCtlNeverInit(), testCtlOnceInit(), testCtlWithRing(), testRingDeferred(), testRingImmediate(), testStats(), and testTOC().

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

Minor test end announcement.

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

Referenced by testCreate(), testCtlNeverInit(), testCtlOnceInit(), testCtlWithRing(), testRingDeferred(), testRingImmediate(), testStats(), and testTOC().

unsigned int RBM_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 testCreate(), testCtlNeverInit(), testCtlOnceInit(), testCtlWithRing(), testRingDeferred(), testRingImmediate(), testStats(), and testTOC().

unsigned int RBM_testLng ( const char *  txt,
unsigned long long  val,
unsigned int  op,
unsigned long long  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 testStats().

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

Test an (64 bit) 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 testCtlNeverInit(), testCtlWithRing(), testRingDeferred(), and testRingImmediate().

unsigned int RBM_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


Generated on Fri Mar 25 13:25:33 2011 by  doxygen 1.5.8