summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-12 18:39:00 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-12 18:39:00 +0300
commit351821c1f18f9285be58df0a05339936311f6490 (patch)
tree47a60cad4f61f63c5ac2faf98dcae24760d7fe11 /src/test
parente50632a83a3c679cffd372656277a304d5d853f8 (diff)
downloadmanaplus-351821c1f18f9285be58df0a05339936311f6490.tar.gz
manaplus-351821c1f18f9285be58df0a05339936311f6490.tar.bz2
manaplus-351821c1f18f9285be58df0a05339936311f6490.tar.xz
manaplus-351821c1f18f9285be58df0a05339936311f6490.zip
first part of style fixed after cpplint checks.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/testlauncher.cpp2
-rw-r--r--src/test/testmain.cpp8
2 files changed, 4 insertions, 6 deletions
diff --git a/src/test/testlauncher.cpp b/src/test/testlauncher.cpp
index b4db8da78..0eadbdba0 100644
--- a/src/test/testlauncher.cpp
+++ b/src/test/testlauncher.cpp
@@ -43,8 +43,6 @@
#define sleep(seconds) Sleep((seconds) * 1000)
#endif
-//#include <unistd.h>
-
#include "debug.h"
TestLauncher::TestLauncher(std::string test) :
diff --git a/src/test/testmain.cpp b/src/test/testmain.cpp
index c150a8b99..6193036d9 100644
--- a/src/test/testmain.cpp
+++ b/src/test/testmain.cpp
@@ -105,11 +105,11 @@ int TestMain::exec(const bool testAudio)
if (!softwareTest)
{
int softFpsTest = invokeSoftwareRenderTest("8");
- info.append(strprintf ("%d", softFpsTest));
+ info.append(strprintf("%d", softFpsTest));
if (!softFpsTest)
{
softFps = readValue2(8);
- info.append(strprintf (",%d", softFps));
+ info.append(strprintf(",%d", softFps));
if (!softFps)
{
softwareTest = -1;
@@ -118,7 +118,7 @@ int TestMain::exec(const bool testAudio)
else
{
rescaleTest[0] = invokeSoftwareRenderTest("5");
- info.append(strprintf (",%d", rescaleTest[0]));
+ info.append(strprintf(",%d", rescaleTest[0]));
}
}
else
@@ -143,7 +143,7 @@ int TestMain::exec(const bool testAudio)
else
{
rescaleTest[1] = invokeFastOpenGLRenderTest("6");
- info.append(strprintf (",%d", rescaleTest[1]));
+ info.append(strprintf(",%d", rescaleTest[1]));
}
}
else