summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-20 20:38:57 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-20 20:38:57 +0300
commita4dc0e9c2b9aff1f2d6f131f263f809ee254443b (patch)
tree221f28a5dc6b8490afb285078494ef281a88e422 /src/utils
parent7225c69c5bf2de13d32d6e9a658779405c8e2707 (diff)
downloadplus-a4dc0e9c2b9aff1f2d6f131f263f809ee254443b.tar.gz
plus-a4dc0e9c2b9aff1f2d6f131f263f809ee254443b.tar.bz2
plus-a4dc0e9c2b9aff1f2d6f131f263f809ee254443b.tar.xz
plus-a4dc0e9c2b9aff1f2d6f131f263f809ee254443b.zip
Fix unit tests.
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/files_unittest.cc4
-rw-r--r--src/utils/xmlutils_unittest.cc4
2 files changed, 4 insertions, 4 deletions
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;