summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/windowmanager_unittest.cc24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/gui/windowmanager_unittest.cc b/src/gui/windowmanager_unittest.cc
index b638d7c01..3810252ab 100644
--- a/src/gui/windowmanager_unittest.cc
+++ b/src/gui/windowmanager_unittest.cc
@@ -43,7 +43,10 @@
#include "gui/popups/beingpopup.h"
#include "gui/popups/itempopup.h"
#include "gui/popups/popupmenu.h"
+#include "gui/popups/skillpopup.h"
#include "gui/popups/spellpopup.h"
+#include "gui/popups/speechbubble.h"
+#include "gui/popups/statuspopup.h"
#include "gui/popups/textboxpopup.h"
#include "gui/popups/textpopup.h"
@@ -652,6 +655,20 @@ TEST_CASE("Windows tests", "windowmanager")
mainGraphics->updateScreen();
delete2(popupMenu);
}
+ SECTION("skillPopup")
+ {
+ CREATEWIDGETV0(skillPopup, SkillPopup);
+ gui->draw();
+ mainGraphics->updateScreen();
+ delete2(skillPopup);
+ }
+ SECTION("SpeechBubble")
+ {
+ SpeechBubble *bubble = CREATEWIDGETR0(SpeechBubble);
+ gui->draw();
+ mainGraphics->updateScreen();
+ delete2(bubble);
+ }
SECTION("beingPopup")
{
CREATEWIDGETV0(beingPopup, BeingPopup);
@@ -687,6 +704,13 @@ TEST_CASE("Windows tests", "windowmanager")
mainGraphics->updateScreen();
delete2(spellPopup);
}
+ SECTION("StatusPopup")
+ {
+ StatusPopup *status = CREATEWIDGETR0(StatusPopup);
+ gui->draw();
+ mainGraphics->updateScreen();
+ delete2(status);
+ }
SECTION("desktop")
{
CREATEWIDGETV(desktop, Desktop, nullptr);