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:
Vadim Zeitlin
2017-11-07 13:50:47 +01:00
parent 5195e788d4
commit af9f78852a
4 changed files with 15 additions and 30 deletions

View File

@@ -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,