summaryrefslogtreecommitdiff
path: root/src/resources/db/itemdb.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-17 00:41:16 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-17 00:41:16 +0300
commitcaf2e3c4fb749561c37eaff324de86a9edf83808 (patch)
treec20d8b2a5863c0366f0804fe7a4361ccfc16a927 /src/resources/db/itemdb.h
parent0ad55dae62f1c8295517bf87844368575a813d57 (diff)
downloadmanaverse-caf2e3c4fb749561c37eaff324de86a9edf83808.tar.gz
manaverse-caf2e3c4fb749561c37eaff324de86a9edf83808.tar.bz2
manaverse-caf2e3c4fb749561c37eaff324de86a9edf83808.tar.xz
manaverse-caf2e3c4fb749561c37eaff324de86a9edf83808.zip
Add unit tests for links replace function.
Diffstat (limited to 'src/resources/db/itemdb.h')
-rw-r--r--src/resources/db/itemdb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/db/itemdb.h b/src/resources/db/itemdb.h
index 0436f604c..9231bbfc8 100644
--- a/src/resources/db/itemdb.h
+++ b/src/resources/db/itemdb.h
@@ -60,6 +60,10 @@ namespace ItemDB
const ItemDB::ItemInfos &getItemInfos();
+#ifdef UNITTESTS
+ ItemDB::NamedItemInfos &getNamedItemInfosTest();
+#endif
+
int getTagId(const std::string &tagName) A_WARN_UNUSED;
void setStatsList(const std::vector<Stat> &stats);