diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-30 19:54:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-30 19:54:41 +0300 |
commit | 6119379983ef073751f3546ae30158b031edb99f (patch) | |
tree | e150880a7a0a8df3e8e0f054a84be6ac185fafe3 /src/gui/windowmanager_unittest.cc | |
parent | 69dbc9f9c73c3ec07b6d99f67cd59739df39d7d3 (diff) | |
download | mv-6119379983ef073751f3546ae30158b031edb99f.tar.gz mv-6119379983ef073751f3546ae30158b031edb99f.tar.bz2 mv-6119379983ef073751f3546ae30158b031edb99f.tar.xz mv-6119379983ef073751f3546ae30158b031edb99f.zip |
Enable window creation test for npc dialog.
Diffstat (limited to 'src/gui/windowmanager_unittest.cc')
-rw-r--r-- | src/gui/windowmanager_unittest.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/windowmanager_unittest.cc b/src/gui/windowmanager_unittest.cc index 2196fb973..b638d7c01 100644 --- a/src/gui/windowmanager_unittest.cc +++ b/src/gui/windowmanager_unittest.cc @@ -79,6 +79,7 @@ #include "gui/windows/mailwindow.h" #include "gui/windows/minimap.h" #include "gui/windows/ministatuswindow.h" +#include "gui/windows/npcdialog.h" #include "gui/windows/npcselldialog.h" #include "gui/windows/okdialog.h" #include "gui/windows/outfitwindow.h" @@ -477,11 +478,10 @@ TEST_CASE("Windows tests", "windowmanager") } SECTION("NpcDialog") { -// for now have random issue. Almost impossible to reproduce. -// NpcDialog *dialog = CREATEWIDGETR(NpcDialog, BeingId_zero); -// gui->draw(); -// mainGraphics->updateScreen(); -// delete2(dialog); + NpcDialog *dialog = CREATEWIDGETR(NpcDialog, BeingId_zero); + gui->draw(); + mainGraphics->updateScreen(); + delete2(dialog); } SECTION("NpcSellDialog") { |