#include <iostream>
#include <string>
#include <cstdlib>
#include <slogcxx.h>
Classes | |
class | whereClassTest |
Simple test to see what happens. More... | |
Defines | |
#define | FAILED_HERE std::cerr << __FILE__ << ":" << __LINE__ << ": error: failed in function " << __FUNCTION__<< std::endl; |
Use 'FAILED_HERE;' to emit a string that looks like a compiler warning Use this to allow emacs to jump to this source line with either emacs command: C-x ` or F2. | |
Functions | |
bool | testFile () |
test writing to a file without and with xml | |
bool | testFileXml () |
Try out writing to a file in xml mode with one LogState. | |
bool | testHeavyScope () |
Try out a couple scopes. | |
bool | testHeavyScopeNoXml () |
Try out many scopes without xml. Should still indent. | |
bool | testScope () |
Make a ton of scopes and leave them without closing. Generates a runtime warning. | |
bool | testScopeWithMsgLvl () |
Go crazy with scoping and use incl/decl and incMsg;. | |
bool | testBig () |
One large test that does logs of stuff with dec/inc, etc. | |
bool | testSimple () |
This is about as simple a test as can be made. | |
bool | testTypes () |
Test out all the types available. | |
bool | testWhere () |
Try out the where and WHERE calls. | |
bool | testPointer () |
int | main (UNUSED int argc, UNUSED char *argv[]) |
This is bone head unit testing. |
Copyright (c) 2006 Kurt Schwehr Data Visualization Research Lab, Center for Coastal and Ocean Mapping University of New Hampshire. http://ccom.unh.edu