summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-30 01:25:57 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-30 01:25:57 +0300
commited02748ba9d122e5c5e40a4e4b09a2a3e22d3da5 (patch)
tree21fd119e84f23030209996a8d9be5affeecb4922 /src
parentc5e926c01a5a767ed73286b4b5570a4bbb0a26ac (diff)
downloadmv-ed02748ba9d122e5c5e40a4e4b09a2a3e22d3da5.tar.gz
mv-ed02748ba9d122e5c5e40a4e4b09a2a3e22d3da5.tar.bz2
mv-ed02748ba9d122e5c5e40a4e4b09a2a3e22d3da5.tar.xz
mv-ed02748ba9d122e5c5e40a4e4b09a2a3e22d3da5.zip
Enable test for npc dialog.
Diffstat (limited to 'src')
-rw-r--r--src/gui/windowmanager_unittest.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gui/windowmanager_unittest.cc b/src/gui/windowmanager_unittest.cc
index 3f77888d6..53448aeff 100644
--- a/src/gui/windowmanager_unittest.cc
+++ b/src/gui/windowmanager_unittest.cc
@@ -72,6 +72,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"
@@ -442,10 +443,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")
{