1
#ifndef TRACKEDTESTCASE_H
2
#define TRACKEDTESTCASE_H
4
#include <cppunit/TestCase.h>
12
virtual void onConstructor() {}
13
virtual void onDestructor() {}
14
virtual void onSetUp() {}
15
virtual void onTearDown() {}
16
virtual void onTest() {};
20
class TrackedTestCase : public CPPUNIT_NS::TestCase
25
virtual ~TrackedTestCase();
28
virtual void tearDown();
32
static void setTracker( Tracker *tracker );
33
static void removeTracker();
36
TrackedTestCase( const TrackedTestCase © );
38
void operator =( const TrackedTestCase © );
41
static Tracker *ms_tracker;
45
#endif // TRACKEDTESTCASE_H