summaryrefslogtreecommitdiff
path: root/src/resources/db/groupdb.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-07-13 03:48:56 +0300
committerAndrei Karas <akaras@inbox.ru>2017-07-13 03:48:56 +0300
commitb5cb8b8ed49f80ebbb82cacb55c16a03318db30b (patch)
tree0a2d308fdf870a8b0564b585087abaea867457ec /src/resources/db/groupdb.cpp
parent0d9761f9a6b375f6018a16b21cf2fbbb01155c08 (diff)
downloadplus-b5cb8b8ed49f80ebbb82cacb55c16a03318db30b.tar.gz
plus-b5cb8b8ed49f80ebbb82cacb55c16a03318db30b.tar.bz2
plus-b5cb8b8ed49f80ebbb82cacb55c16a03318db30b.tar.xz
plus-b5cb8b8ed49f80ebbb82cacb55c16a03318db30b.zip
Fix unit tests after latest changes.
Diffstat (limited to 'src/resources/db/groupdb.cpp')
-rw-r--r--src/resources/db/groupdb.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/resources/db/groupdb.cpp b/src/resources/db/groupdb.cpp
index ab9a2958d..4b25e94bd 100644
--- a/src/resources/db/groupdb.cpp
+++ b/src/resources/db/groupdb.cpp
@@ -127,3 +127,10 @@ const std::string &GroupDb::getLongName(const int id)
}
return (*it).second.longName;
}
+
+#ifdef UNITTESTS
+GroupDb::GroupInfos &GroupDb::getGroups()
+{
+ return mGroups;
+}
+#endif // UNITTESTS