summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-30 19:54:41 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-30 19:54:41 +0300
commit6119379983ef073751f3546ae30158b031edb99f (patch)
treee150880a7a0a8df3e8e0f054a84be6ac185fafe3 /src/gui
parent69dbc9f9c73c3ec07b6d99f67cd59739df39d7d3 (diff)
downloadplus-6119379983ef073751f3546ae30158b031edb99f.tar.gz
plus-6119379983ef073751f3546ae30158b031edb99f.tar.bz2
plus-6119379983ef073751f3546ae30158b031edb99f.tar.xz
plus-6119379983ef073751f3546ae30158b031edb99f.zip
Enable window creation test for npc dialog.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windowmanager_unittest.cc10
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")
{