diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-02-14 23:25:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-02-14 23:25:44 +0300 |
commit | c29d9bec9751fbd836e59cb3ba60e778fca2f987 (patch) | |
tree | 5b68dae05ae16a7a3d431e1fd76e0bf728e28a23 | |
parent | 9e16f95bd0083af4eeacba5850c22d95529cce79 (diff) | |
download | plus-c29d9bec9751fbd836e59cb3ba60e778fca2f987.tar.gz plus-c29d9bec9751fbd836e59cb3ba60e778fca2f987.tar.bz2 plus-c29d9bec9751fbd836e59cb3ba60e778fca2f987.tar.xz plus-c29d9bec9751fbd836e59cb3ba60e778fca2f987.zip |
Add unit test for creation clan window.
-rw-r--r-- | src/unittests/gui/windowmanager.cc | 10 |
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; |