summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/unittests/gui/windowmanager.cc10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/unittests/gui/windowmanager.cc b/src/unittests/gui/windowmanager.cc
index fa708648b..bcab56608 100644
--- a/src/unittests/gui/windowmanager.cc
+++ b/src/unittests/gui/windowmanager.cc
@@ -65,8 +65,9 @@
#include "gui/windows/changeemaildialog.h"
#include "gui/windows/changepassworddialog.h"
#include "gui/windows/chatwindow.h"
-#include "gui/windows/connectiondialog.h"
+#include "gui/windows/clanwindow.h"
#include "gui/windows/confirmdialog.h"
+#include "gui/windows/connectiondialog.h"
#include "gui/windows/cutinwindow.h"
#include "gui/windows/debugwindow.h"
#include "gui/windows/didyouknowwindow.h"
@@ -342,6 +343,13 @@ TEST_CASE("Windows tests", "windowmanager")
mainGraphics->updateScreen();
delete2(chatWindow);
}
+ SECTION("ClanWindow")
+ {
+ CREATEWIDGETV0(clanWindow, ClanWindow);
+ gui->draw();
+ mainGraphics->updateScreen();
+ delete2(clanWindow);
+ }
SECTION("ConfirmDialog")
{
ConfirmDialog *dialog;