]>
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)
26 #include "wx/beforestd.h"
27 #include <cppunit/extensions/TestFactoryRegistry.h>
28 #include <cppunit/ui/text/TestRunner.h>
29 #include <cppunit/TestCase.h>
30 #include <cppunit/extensions/HelperMacros.h>
31 #include "wx/afterstd.h"
34 #pragma warning(default:4702)
37 // for VC++ automatically link in cppunit library
40 #pragma comment(lib, "cppunit.lib")
42 #pragma comment(lib, "cppunitd.lib")
43 #endif // Release/Debug
46 #endif // _WX_CPPUNIT_H_