CppUnit project page FAQ

TestPlugInInterface.h
Go to the documentation of this file.
1 #ifndef CPPUNIT_TESTPLUGINRUNNER_TESTPLUGININTERFACE_H
2 #define CPPUNIT_TESTPLUGINRUNNER_TESTPLUGININTERFACE_H
3 
4 #include <cppunit/Test.h>
5 #include <cppunit/TestSuite.h>
6 
7 #if !defined(WINAPI)
8 #define WIN32_LEAN_AND_MEAN
9 #define NOGDI
10 #define NOUSER
11 #define NOKERNEL
12 #define NOSOUND
13 #define NOMINMAX
14 #include <windows.h>
15 #endif
16 
34 {
35 public:
36  virtual ~TestPlugInInterface() {}
37 
43  virtual CppUnit::Test *makeTest() =0;
44 };
45 
47 
48 
49 extern "C" {
50  __declspec(dllexport) TestPlugInInterface *GetTestPlugInInterface();
51 }
52 
53 
54 
55 #endif // CPPUNIT_TESTPLUGINRUNNER_TESTPLUGININTERFACE_H

Send comments to:
CppUnit Developers