summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-07 03:09:42 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-07 03:09:42 +0300
commitf4fa1d27c333e0b75e787eb03a2280afe7bcce6c (patch)
tree57c506dacc791c5573b691dbd4e830a809066715
parent4fea23077f9354897c2eb594320f698e6fe57e8a (diff)
downloadmanaplus-f4fa1d27c333e0b75e787eb03a2280afe7bcce6c.tar.gz
manaplus-f4fa1d27c333e0b75e787eb03a2280afe7bcce6c.tar.bz2
manaplus-f4fa1d27c333e0b75e787eb03a2280afe7bcce6c.tar.xz
manaplus-f4fa1d27c333e0b75e787eb03a2280afe7bcce6c.zip
Fix unit tests compilation.
-rw-r--r--src/unittests/gui/windowmanager_unittest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/unittests/gui/windowmanager_unittest.cc b/src/unittests/gui/windowmanager_unittest.cc
index ab172a9d4..59178f1b5 100644
--- a/src/unittests/gui/windowmanager_unittest.cc
+++ b/src/unittests/gui/windowmanager_unittest.cc
@@ -356,7 +356,8 @@ TEST_CASE("Windows tests", "windowmanager")
}
SECTION("DebugWindow")
{
- CREATEWIDGETV0(debugWindow, DebugWindow);
+ CREATEWIDGETV(debugWindow, DebugWindow,
+ "Debug");
gui->draw();
mainGraphics->updateScreen();
delete2(debugWindow);