1 #ifndef BASETESTCASE_H
2 #define BASETESTCASE_H
3 
4 #include <cppunit/extensions/HelperMacros.h>
5 
6 
7 class BaseTestCase : public CPPUNIT_NS::TestCase
8 {
9   CPPUNIT_TEST_SUITE( BaseTestCase );
10   CPPUNIT_TEST( testUsingCheckIt );
11   CPPUNIT_TEST_SUITE_END();
12 
13 public:
14   BaseTestCase();
15   virtual ~BaseTestCase();
16 
17   virtual void setUp();
18   virtual void tearDown();
19 
20   void testUsingCheckIt();
21 
22 protected:
23   virtual void checkIt();
24 
25 private:
26   BaseTestCase( const BaseTestCase &copy );
27   void operator =( const BaseTestCase &copy );
28 };
29 
30 
31 
32 #endif  // BASETESTCASE_H
33