diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-07-13 03:48:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-07-13 03:48:56 +0300 |
commit | b5cb8b8ed49f80ebbb82cacb55c16a03318db30b (patch) | |
tree | 0a2d308fdf870a8b0564b585087abaea867457ec /src/resources/db/groupdb.cpp | |
parent | 0d9761f9a6b375f6018a16b21cf2fbbb01155c08 (diff) | |
download | manaplus-b5cb8b8ed49f80ebbb82cacb55c16a03318db30b.tar.gz manaplus-b5cb8b8ed49f80ebbb82cacb55c16a03318db30b.tar.bz2 manaplus-b5cb8b8ed49f80ebbb82cacb55c16a03318db30b.tar.xz manaplus-b5cb8b8ed49f80ebbb82cacb55c16a03318db30b.zip |
Fix unit tests after latest changes.
Diffstat (limited to 'src/resources/db/groupdb.cpp')
-rw-r--r-- | src/resources/db/groupdb.cpp | 7 |
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 |