diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-11-20 20:38:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-11-20 20:38:57 +0300 |
commit | a4dc0e9c2b9aff1f2d6f131f263f809ee254443b (patch) | |
tree | 221f28a5dc6b8490afb285078494ef281a88e422 /src | |
parent | 7225c69c5bf2de13d32d6e9a658779405c8e2707 (diff) | |
download | manaverse-a4dc0e9c2b9aff1f2d6f131f263f809ee254443b.tar.gz manaverse-a4dc0e9c2b9aff1f2d6f131f263f809ee254443b.tar.bz2 manaverse-a4dc0e9c2b9aff1f2d6f131f263f809ee254443b.tar.xz manaverse-a4dc0e9c2b9aff1f2d6f131f263f809ee254443b.zip |
Fix unit tests.
Diffstat (limited to 'src')
-rw-r--r-- | src/animatedsprite_unittest.cc | 4 | ||||
-rw-r--r-- | src/gui/windowmanager_unittest.cc | 4 | ||||
-rw-r--r-- | src/utils/files_unittest.cc | 4 | ||||
-rw-r--r-- | src/utils/xmlutils_unittest.cc | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/src/animatedsprite_unittest.cc b/src/animatedsprite_unittest.cc index 3256f6dc7..a2e8bfd9f 100644 --- a/src/animatedsprite_unittest.cc +++ b/src/animatedsprite_unittest.cc @@ -46,8 +46,8 @@ TEST_CASE("AnimatedSprite tests", "animatedsprite") SDL_Init(SDL_INIT_VIDEO); logger = new Logger(); ResourceManager::init(); - resourceManager->addToSearchPath("data", false); - resourceManager->addToSearchPath("../data", false); + resourceManager->addToSearchPath("data", Append_false); + resourceManager->addToSearchPath("../data", Append_false); imageHelper = new SDLImageHelper(); SDL_SetVideoMode(640, 480, 0, SDL_ANYFORMAT | SDL_SWSURFACE); diff --git a/src/gui/windowmanager_unittest.cc b/src/gui/windowmanager_unittest.cc index 89fcca928..9b686568c 100644 --- a/src/gui/windowmanager_unittest.cc +++ b/src/gui/windowmanager_unittest.cc @@ -69,8 +69,8 @@ TEST_CASE("Windows tests", "windowmanager") SDL_Init(SDL_INIT_VIDEO); logger = new Logger(); ResourceManager::init(); - resourceManager->addToSearchPath("data", false); - resourceManager->addToSearchPath("../data", false); + resourceManager->addToSearchPath("data", Append_false); + resourceManager->addToSearchPath("../data", Append_false); mainGraphics = new SDLGraphics; imageHelper = new SDLImageHelper; userPalette = new UserPalette; diff --git a/src/utils/files_unittest.cc b/src/utils/files_unittest.cc index 50805b173..3d880f511 100644 --- a/src/utils/files_unittest.cc +++ b/src/utils/files_unittest.cc @@ -35,8 +35,8 @@ TEST_CASE("Files renameFile", "files") dirSeparator = "/"; logger = new Logger(); ResourceManager::init(); - resourceManager->addToSearchPath("data", false); - resourceManager->addToSearchPath("../data", false); + resourceManager->addToSearchPath("data", Append_false); + resourceManager->addToSearchPath("../data", Append_false); const int sz = 1234567; char *buf = new char[sz]; diff --git a/src/utils/xmlutils_unittest.cc b/src/utils/xmlutils_unittest.cc index 97cbd93a8..de65f60fa 100644 --- a/src/utils/xmlutils_unittest.cc +++ b/src/utils/xmlutils_unittest.cc @@ -39,8 +39,8 @@ TEST_CASE("xmlutils readXmlIntVector 1") XML::initXML(); logger = new Logger(); ResourceManager::init(); - resourceManager->addToSearchPath("data", false); - resourceManager->addToSearchPath("../data", false); + resourceManager->addToSearchPath("data", Append_false); + resourceManager->addToSearchPath("../data", Append_false); std::vector<int> arr; |