Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

wvtest.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  WvTest

Defines

#define WVPASS(cond)
#define WVFAIL(cond)
#define WVTEST_MAIN3(ff, ll)
#define WVTEST_MAIN2(ff, ll)   WVTEST_MAIN3(ff, ll)
#define WVTEST_MAIN   WVTEST_MAIN2(__FILE__, __LINE__)


Define Documentation

#define WVFAIL cond   ) 
 

Value:

do { \
    WvTest::start(__FILE__, __LINE__, "NOT(" #cond ")"); \
    WvTest::check(!(cond)); \
  } while (0)

Definition at line 37 of file wvtest.h.

Referenced by WVTEST_MAIN().

#define WVPASS cond   ) 
 

Value:

do { \
    WvTest::start(__FILE__, __LINE__, #cond); \
    WvTest::check((cond)); \
  } while (0)

Definition at line 32 of file wvtest.h.

Referenced by WVTEST_MAIN().

WVTEST_MAIN   WVTEST_MAIN2(__FILE__, __LINE__)
 

Definition at line 47 of file wvtest.h.

#define WVTEST_MAIN2 ff,
ll   )     WVTEST_MAIN3(ff, ll)
 

Definition at line 46 of file wvtest.h.

#define WVTEST_MAIN3 ff,
ll   ) 
 

Value:

static void _wvtest_main_##ll(); \
    static WvTest _wvtest_##ll(ff, _wvtest_main_##ll); \
    static void _wvtest_main_##ll

Definition at line 42 of file wvtest.h.


Generated on Sat Mar 13 14:56:31 2004 for WvStreams by doxygen 1.3.6-20040222