summaryrefslogtreecommitdiff
path: root/src/unittest/test.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/unittest/test.h')
-rw-r--r--src/unittest/test.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/unittest/test.h b/src/unittest/test.h
index 8219e30fc..e1f1721f9 100644
--- a/src/unittest/test.h
+++ b/src/unittest/test.h
@@ -102,11 +102,17 @@ class IGameDef;
class TestBase {
public:
bool testModule(IGameDef *gamedef);
+ std::string getTestTempDirectory();
+ std::string getTestTempFile();
+
virtual void runTests(IGameDef *gamedef) = 0;
virtual const char *getName() = 0;
u32 num_tests_failed;
u32 num_tests_run;
+
+private:
+ std::string m_test_dir;
};
class TestManager {