aboutsummaryrefslogtreecommitdiff
path: root/engines/testbed/fs.cpp
diff options
context:
space:
mode:
authorJordi Vilalta Prat2010-07-14 19:44:51 +0000
committerJordi Vilalta Prat2010-07-14 19:44:51 +0000
commit555acf4ba17898c0192c262f9dae45ab43a47185 (patch)
tree9314c13bc69ffa14839506d31284a06fd1ce16c9 /engines/testbed/fs.cpp
parent0b3201e5e3449f90187938e5dd699535fdaadeb8 (diff)
downloadscummvm-rg350-555acf4ba17898c0192c262f9dae45ab43a47185.tar.gz
scummvm-rg350-555acf4ba17898c0192c262f9dae45ab43a47185.tar.bz2
scummvm-rg350-555acf4ba17898c0192c262f9dae45ab43a47185.zip
Some code formatting fixes
svn-id: r50893
Diffstat (limited to 'engines/testbed/fs.cpp')
-rw-r--r--engines/testbed/fs.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/testbed/fs.cpp b/engines/testbed/fs.cpp
index 6951793e5c..5e406d902f 100644
--- a/engines/testbed/fs.cpp
+++ b/engines/testbed/fs.cpp
@@ -29,6 +29,7 @@
#include "testbed/fs.h"
namespace Testbed {
+
/**
* This test does the following:
* 1) acquires the game-data path
@@ -49,8 +50,8 @@ bool FStests::readDataFromFile(Common::FSDirectory *directory, const char *file)
Common::String msg = readStream->readLine();
delete readStream;
- Testsuite::logDetailedPrintf("Message Extracted from %s/%s : %s\n",directory->getFSNode().getName().c_str(), file, msg.c_str());
+ Testsuite::logDetailedPrintf("Message Extracted from %s/%s : %s\n", directory->getFSNode().getName().c_str(), file, msg.c_str());
Common::String expectedMsg = "It works!";
@@ -62,7 +63,6 @@ bool FStests::readDataFromFile(Common::FSDirectory *directory, const char *file)
return true;
}
-
bool FStests::testReadFile() {
const Common::String &path = ConfMan.get("path");
Common::FSDirectory gameRoot(path);
@@ -113,7 +113,6 @@ bool FStests::testReadFile() {
* This test creates a file testbed.out, writes a sample data and confirms if
* it is same by reading the file again.
*/
-
bool FStests::testWriteFile() {
const Common::String &path = ConfMan.get("path");
Common::FSNode gameRoot(path);
@@ -141,7 +140,6 @@ bool FStests::testWriteFile() {
return true;
}
-
return false;
}