summaryrefslogtreecommitdiff
path: root/src/unittests/gui/windowmanager_unittest.cc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-27 01:31:27 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-27 01:31:27 +0300
commit9e0d2f82229452058ab2c8a16b670005368a16b8 (patch)
treef4429958a895a1454fd3b8f900a35dc8a80c4993 /src/unittests/gui/windowmanager_unittest.cc
parente3a73aa8030df13fbcb119062e8b7f198c27cd4a (diff)
downloadmanaverse-9e0d2f82229452058ab2c8a16b670005368a16b8.tar.gz
manaverse-9e0d2f82229452058ab2c8a16b670005368a16b8.tar.bz2
manaverse-9e0d2f82229452058ab2c8a16b670005368a16b8.tar.xz
manaverse-9e0d2f82229452058ab2c8a16b670005368a16b8.zip
Add unit tests for correct sdl detection for endian.
Diffstat (limited to 'src/unittests/gui/windowmanager_unittest.cc')
-rw-r--r--src/unittests/gui/windowmanager_unittest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/unittests/gui/windowmanager_unittest.cc b/src/unittests/gui/windowmanager_unittest.cc
index 59178f1b5..6090555ee 100644
--- a/src/unittests/gui/windowmanager_unittest.cc
+++ b/src/unittests/gui/windowmanager_unittest.cc
@@ -507,7 +507,8 @@ TEST_CASE("Windows tests", "windowmanager")
{
MailMessage *message = new MailMessage;
CREATEWIDGETV(mailViewWindow, MailViewWindow,
- message);
+ message,
+ 1);
gui->draw();
mainGraphics->updateScreen();
delete2(mailViewWindow);