summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/windowmanager_unittest.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gui/windowmanager_unittest.cc b/src/gui/windowmanager_unittest.cc
index 2c17de6b6..5a7410594 100644
--- a/src/gui/windowmanager_unittest.cc
+++ b/src/gui/windowmanager_unittest.cc
@@ -91,6 +91,7 @@
#include "gui/windows/quitdialog.h"
#include "gui/windows/registerdialog.h"
#include "gui/windows/serverdialog.h"
+#include "gui/windows/serverinfowindow.h"
#include "gui/windows/setupwindow.h"
#include "gui/windows/shopwindow.h"
#include "gui/windows/shortcutwindow.h"
@@ -592,6 +593,15 @@ TEST_CASE("Windows tests", "windowmanager")
mainGraphics->updateScreen();
delete2(serverDialog);
}
+ SECTION("serversInfoWindow")
+ {
+ ServerInfo mCurrentServer;
+ ServerInfoWindow *serverInfoWindow = CREATEWIDGETR(ServerInfoWindow,
+ mCurrentServer);
+ gui->draw();
+ mainGraphics->updateScreen();
+ delete2(serverInfoWindow);
+ }
SECTION("setupWindow")
{
CREATEWIDGETV0(setupWindow, SetupWindow);