Fix archivers test suite broken by transition to Catch
The code of ziptest and tartest classes still compiled, but actually didn't do anything during the run-time because makeSuite() method was never called. Replace this unused method with DoRunTest() and override runTest() in the test suite classes to actually run the tests.
This commit is contained in:
@@ -31,7 +31,8 @@ class tartest : public ArchiveTestSuite
|
||||
{
|
||||
public:
|
||||
tartest();
|
||||
static CppUnit::Test *suite() { return (new tartest)->makeSuite(); }
|
||||
|
||||
void runTest() wxOVERRIDE { DoRunTest(); }
|
||||
|
||||
protected:
|
||||
CppUnit::Test *makeTest(string descr, int options,
|
||||
|
Reference in New Issue
Block a user