]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/cppunit.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wrapper header for CppUnit headers
4 // Author: Vadim Zeitlin
7 // Copyright: (c) 2004 Vadim Zeitlin
8 /////////////////////////////////////////////////////////////////////////////
10 #ifndef _WX_CPPUNIT_H_
11 #define _WX_CPPUNIT_H_
13 // using CPPUNIT_TEST() macro results in this warning, disable it as there is
14 // no other way to get rid of it and it's not very useful anyhow
16 // typedef-name 'foo' used as synonym for class-name 'bar'
17 #pragma warning(disable:4097)
19 // unreachable code: we don't care about warnings in CppUnit headers
20 #pragma warning(disable:4702)
22 // 'id': identifier was truncated to 'num' characters in the debug info
23 #pragma warning(disable:4786)
30 #include "wx/beforestd.h"
31 #include <cppunit/extensions/TestFactoryRegistry.h>
32 #include <cppunit/ui/text/TestRunner.h>
33 #include <cppunit/TestCase.h>
34 #include <cppunit/extensions/HelperMacros.h>
35 #include "wx/afterstd.h"
42 #pragma warning(default:4702)
45 // for VC++ automatically link in cppunit library
48 #pragma comment(lib, "cppunit.lib")
50 #pragma comment(lib, "cppunitd.lib")
51 #endif // Release/Debug
54 #endif // _WX_CPPUNIT_H_