cppunit/examples/cppunittest/BaseTestCase.h
2011-10-29 15:07:08 +10:00

33 lines
552 B
C++

#ifndef BASETESTCASE_H
#define BASETESTCASE_H
#include <cppunit/extensions/HelperMacros.h>
class BaseTestCase : public CPPUNIT_NS::TestCase
{
CPPUNIT_TEST_SUITE( BaseTestCase );
CPPUNIT_TEST( testUsingCheckIt );
CPPUNIT_TEST_SUITE_END();
public:
BaseTestCase();
virtual ~BaseTestCase();
virtual void setUp();
virtual void tearDown();
void testUsingCheckIt();
protected:
virtual void checkIt();
private:
BaseTestCase( const BaseTestCase &copy );
void operator =( const BaseTestCase &copy );
};
#endif // BASETESTCASE_H