diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-02 23:39:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-02 23:39:44 +0300 |
commit | 53cd20d682e6d97c02872ff6336d332cf8d58d45 (patch) | |
tree | cc7049c316434f413982f1f380fc95ba510e4090 /src/resources | |
parent | 22e8f318d41b1a4fcc8c5227fe70f10f3decafe0 (diff) | |
download | mv-53cd20d682e6d97c02872ff6336d332cf8d58d45.tar.gz mv-53cd20d682e6d97c02872ff6336d332cf8d58d45.tar.bz2 mv-53cd20d682e6d97c02872ff6336d332cf8d58d45.tar.xz mv-53cd20d682e6d97c02872ff6336d332cf8d58d45.zip |
Fix unit tests after last updates.
Disable some tests because they failing from asserts.
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/db/itemdb.cpp | 5 | ||||
-rw-r--r-- | src/resources/db/itemdb.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/resources/db/itemdb.cpp b/src/resources/db/itemdb.cpp index 0fda7e736..d79f75933 100644 --- a/src/resources/db/itemdb.cpp +++ b/src/resources/db/itemdb.cpp @@ -1074,4 +1074,9 @@ ItemDB::NamedItemInfos &ItemDB::getNamedItemInfosTest() { return mNamedItemInfos; } + +ItemDB::ItemInfos &ItemDB::getItemInfosTest() +{ + return mItemInfos; +} #endif diff --git a/src/resources/db/itemdb.h b/src/resources/db/itemdb.h index b0aceef32..cc94145ab 100644 --- a/src/resources/db/itemdb.h +++ b/src/resources/db/itemdb.h @@ -72,6 +72,8 @@ namespace ItemDB #ifdef UNITTESTS ItemDB::NamedItemInfos &getNamedItemInfosTest(); + + ItemDB::ItemInfos &getItemInfosTest(); #endif int getTagId(const std::string &tagName) A_WARN_UNUSED; |