- added missing virtual destructor to TestCase.

This commit is contained in:
Baptiste Lepilleur 2010-02-21 14:28:54 +00:00
parent 7c66ac2e0f
commit 8d3790d217
2 changed files with 7 additions and 0 deletions

View File

@ -304,6 +304,11 @@ TestCase::TestCase()
} }
TestCase::~TestCase()
{
}
void void
TestCase::run( TestResult &result ) TestCase::run( TestResult &result )
{ {

View File

@ -110,6 +110,8 @@ namespace JsonTest {
public: public:
TestCase(); TestCase();
virtual ~TestCase();
void run( TestResult &result ); void run( TestResult &result );
virtual const char *testName() const = 0; virtual const char *testName() const = 0;