Fixed compilation on Windows and avoid crashing when the TestSuite is interrupted.
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
#include "DamagerDamaged.h"
|
||||
|
||||
class CardView;
|
||||
class AttackerDamaged;
|
||||
class DamagerDamaged;
|
||||
struct AttackerDamaged;
|
||||
struct DamagerDamaged;
|
||||
typedef DamagerDamaged DefenserDamaged;
|
||||
|
||||
template<class T> void trash(T*);
|
||||
|
||||
Reference in New Issue
Block a user