summaryrefslogtreecommitdiff
path: root/src/gui/windowmanager_unittest.cc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-07-03 03:08:11 +0300
committerAndrei Karas <akaras@inbox.ru>2017-07-03 03:08:11 +0300
commit11811d5292ade273e296243f18477cd03228efc7 (patch)
treea58563395ba2dd69a3258a88869043e5d3333c40 /src/gui/windowmanager_unittest.cc
parent4d81a2d0d90e8e29431631e5ec30e6bad01b287a (diff)
downloadmv-11811d5292ade273e296243f18477cd03228efc7.tar.gz
mv-11811d5292ade273e296243f18477cd03228efc7.tar.bz2
mv-11811d5292ade273e296243f18477cd03228efc7.tar.xz
mv-11811d5292ade273e296243f18477cd03228efc7.zip
Fix unit tests compilation.
Diffstat (limited to 'src/gui/windowmanager_unittest.cc')
-rw-r--r--src/gui/windowmanager_unittest.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/windowmanager_unittest.cc b/src/gui/windowmanager_unittest.cc
index 5a7410594..c5e09911f 100644
--- a/src/gui/windowmanager_unittest.cc
+++ b/src/gui/windowmanager_unittest.cc
@@ -330,7 +330,8 @@ TEST_CASE("Windows tests", "windowmanager")
}
SECTION("ChatWindow")
{
- CREATEWIDGETV0(chatWindow, ChatWindow);
+ CREATEWIDGETV(chatWindow, ChatWindow,
+ "Chat");
gui->draw();
mainGraphics->updateScreen();
delete2(chatWindow);
@@ -596,7 +597,7 @@ TEST_CASE("Windows tests", "windowmanager")
SECTION("serversInfoWindow")
{
ServerInfo mCurrentServer;
- ServerInfoWindow *serverInfoWindow = CREATEWIDGETR(ServerInfoWindow,
+ CREATEWIDGETV(serverInfoWindow, ServerInfoWindow,
mCurrentServer);
gui->draw();
mainGraphics->updateScreen();