Fixed compilation on Windows and avoid crashing when the TestSuite is interrupted.

This commit is contained in:
Xawotihs
2011-11-06 19:58:23 +00:00
parent e50fdba648
commit 1ef9489ea0
3 changed files with 26 additions and 18 deletions
+2 -1
View File
@@ -60,7 +60,7 @@ protected:
bool load();
public:
~TestSuiteGame();
virtual ~TestSuiteGame();
TestSuiteGame(TestSuite* testsuite);
TestSuiteGame(TestSuite* testsuite, string _filename);
void initGame();
@@ -90,6 +90,7 @@ public:
unsigned int seed;
int nbFailed, nbTests, nbAIFailed, nbAITests;
TestSuite(const char * filename);
~TestSuite();
void initGame(GameObserver* g);
void pregameTests();
int loadNext();