From ed02748ba9d122e5c5e40a4e4b09a2a3e22d3da5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 30 Aug 2016 01:25:57 +0300 Subject: Enable test for npc dialog. --- src/gui/windowmanager_unittest.cc | 9 +++++---- 1 file 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") { -- cgit v1.2.3-70-g09d2