cppUnit在VS中的配置
#ifdef _DEBUG
#ifdef _UNICODE && UNICODE
#pragma comment(lib,
"testrunnerud.lib")
#endif
#pragma comment(lib, "cppunitd.lib")
#pragma
comment(lib, "testrunnerd.lib")
#else
#ifdef _UNICODE &&
UNICODE
#pragma comment(lib, "testrunneru.lib")
#endif
#pragma
comment(lib, "cppunit.lib")
#pragma comment(lib,
"testrunner.lib")
#endif