summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-11 23:44:22 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-11 23:44:22 +0300
commit4b2c8bdc668289d8ca8ab3e3c3fa2ececbd7419c (patch)
treee53f2bcda374d132de9fe51a9170ed1f2a58a53e /src/test
parent16cc2e4a4204ee95e8256f3d7eacaada99f53309 (diff)
downloadmanaplus-4b2c8bdc668289d8ca8ab3e3c3fa2ececbd7419c.tar.gz
manaplus-4b2c8bdc668289d8ca8ab3e3c3fa2ececbd7419c.tar.bz2
manaplus-4b2c8bdc668289d8ca8ab3e3c3fa2ececbd7419c.tar.xz
manaplus-4b2c8bdc668289d8ca8ab3e3c3fa2ececbd7419c.zip
Fix code style.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/testlauncher.cpp2
-rw-r--r--src/test/testmain.cpp1
-rw-r--r--src/test/testmain.h7
3 files changed, 7 insertions, 3 deletions
diff --git a/src/test/testlauncher.cpp b/src/test/testlauncher.cpp
index f761c7981..2b86a3eca 100644
--- a/src/test/testlauncher.cpp
+++ b/src/test/testlauncher.cpp
@@ -37,6 +37,8 @@
#include "utils/physfscheckutils.h"
#include "utils/physfsrwops.h"
+#include "render/graphics.h"
+
#include "resources/image.h"
#include "resources/imagewriter.h"
#include "resources/mstack.h"
diff --git a/src/test/testmain.cpp b/src/test/testmain.cpp
index 81621fb06..50723a0a8 100644
--- a/src/test/testmain.cpp
+++ b/src/test/testmain.cpp
@@ -23,6 +23,7 @@
#ifdef USE_OPENGL
+#include "logger.h"
#include "settings.h"
#include "utils/delete2.h"
diff --git a/src/test/testmain.h b/src/test/testmain.h
index 0875cfc06..02b5fd2a5 100644
--- a/src/test/testmain.h
+++ b/src/test/testmain.h
@@ -21,15 +21,16 @@
#ifndef TEST_TESTMAIN_H
#define TEST_TESTMAIN_H
+#ifdef USE_OPENGL
+
#include "configuration.h"
-#include "logger.h"
#include "render/renderers.h"
-#ifdef USE_OPENGL
-
#include <string>
+class Logger;
+
class TestMain final
{
public: