22 #ifndef TESTBED_SAVEGAME_H 23 #define TESTBED_SAVEGAME_H 25 #include "testbed/testsuite.h" 29 namespace SaveGametests {
32 bool writeDataToFile(
const char *fileName,
const char *msg);
33 bool readAndVerifyData(
const char *fileName,
const char *expected);
35 TestExitStatus testSaveLoadState();
36 TestExitStatus testRemovingSavefile();
37 TestExitStatus testRenamingSavefile();
38 TestExitStatus testListingSavefile();
39 TestExitStatus testErrorMessages();
56 const char *getName()
const override {
59 const char *getDescription()
const override {
60 return "Saving Game state tests";
66 #endif // TESTBED_SAVEGAME_H
Definition: testsuite.h:90
Definition: savegame.h:44