summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-20 16:40:24 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-20 16:40:24 +0300
commit1e9b7c519953c73c6e5ca4ce2169eb674267c115 (patch)
tree5e331bef424935c0f6d2a2291eb189cd50f68a3d /src/test
parentc63923c39572655f3d8e826b0fb2fd3ed253ae7f (diff)
downloadmanaverse-1e9b7c519953c73c6e5ca4ce2169eb674267c115.tar.gz
manaverse-1e9b7c519953c73c6e5ca4ce2169eb674267c115.tar.bz2
manaverse-1e9b7c519953c73c6e5ca4ce2169eb674267c115.tar.xz
manaverse-1e9b7c519953c73c6e5ca4ce2169eb674267c115.zip
fix style in other files.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/testlauncher.cpp3
-rw-r--r--src/test/testmain.cpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/test/testlauncher.cpp b/src/test/testlauncher.cpp
index 0eadbdba0..626ac7490 100644
--- a/src/test/testlauncher.cpp
+++ b/src/test/testlauncher.cpp
@@ -46,7 +46,8 @@
#include "debug.h"
TestLauncher::TestLauncher(std::string test) :
- mTest(test)
+ mTest(test),
+ file()
{
file.open((Client::getLocalDataDirectory()
+ std::string("/test.log")).c_str(), std::ios::out);
diff --git a/src/test/testmain.cpp b/src/test/testmain.cpp
index 6193036d9..81e83a950 100644
--- a/src/test/testmain.cpp
+++ b/src/test/testmain.cpp
@@ -38,7 +38,8 @@ std::string fileName;
extern char *selfName;
TestMain::TestMain() :
- log(new Logger)
+ log(new Logger),
+ mConfig()
{
fileName = getSelfName();
log->setLogFile(Client::getLocalDataDirectory()