diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-07-03 03:08:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-07-03 03:08:11 +0300 |
commit | 11811d5292ade273e296243f18477cd03228efc7 (patch) | |
tree | a58563395ba2dd69a3258a88869043e5d3333c40 /src/gui/windowmanager_unittest.cc | |
parent | 4d81a2d0d90e8e29431631e5ec30e6bad01b287a (diff) | |
download | manaplus-11811d5292ade273e296243f18477cd03228efc7.tar.gz manaplus-11811d5292ade273e296243f18477cd03228efc7.tar.bz2 manaplus-11811d5292ade273e296243f18477cd03228efc7.tar.xz manaplus-11811d5292ade273e296243f18477cd03228efc7.zip |
Fix unit tests compilation.
Diffstat (limited to 'src/gui/windowmanager_unittest.cc')
-rw-r--r-- | src/gui/windowmanager_unittest.cc | 5 |
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(); |