33 static mUsedVar
bool quiet =
true;
48 #define mInitTestProg() \ 49 od_init_test_program( argc, argv ); \ 50 theparser = new CommandLineParser; \ 51 CommandLineParser& clparser = *theparser; \ 52 quiet = clparser.hasKey( sKey::Quiet() ) 54 #define mExitTestProg( var ) 56 #define mInitBatchTestProg() \ 57 int argc = GetArgC(); char** argv = GetArgV(); \ 60 #define mRunStandardTestWithError( test, desc, err ) \ 62 od_ostream::logStream() << desc; \ 66 od_ostream::logStream() << " - SUCCESS\n"; \ 71 od_ostream::logStream() << desc; \ 72 od_ostream::logStream() << " - FAIL"; \ 74 od_ostream::logStream() << ": " << err << "\n"; \ 79 #define mRunStandardTest( test, desc ) \ 80 mRunStandardTestWithError( test, desc, BufferString().str() ) OD class for stream write common access to the user log file, or std::cout in batch progs...
Definition: od_ostream.h:26
static od_ostream & logStream()
used by ErrMsg and UsrMsg
static mUsedVar PtrMan< CommandLineParser > theparser
Definition: testprog.h:34
static mUsedVar od_ostream & tstStream(bool err=false)
Definition: testprog.h:36
static mUsedVar bool quiet
Definition: testprog.h:33
static od_ostream & nullStream()