aboutsummaryrefslogtreecommitdiff
path: root/engines/testbed/testbed.cpp
diff options
context:
space:
mode:
authorNeeraj Kumar2010-08-14 08:32:39 +0000
committerNeeraj Kumar2010-08-14 08:32:39 +0000
commit0a7bda50cca6ac76245254c6eb0de84547a018c1 (patch)
tree5ffe7b679d9fe7c97a4c904fb8f1eaf6fd32153b /engines/testbed/testbed.cpp
parent169d1eb0cc52438b00ad204a407b6eeb93fb8614 (diff)
downloadscummvm-rg350-0a7bda50cca6ac76245254c6eb0de84547a018c1.tar.gz
scummvm-rg350-0a7bda50cca6ac76245254c6eb0de84547a018c1.tar.bz2
scummvm-rg350-0a7bda50cca6ac76245254c6eb0de84547a018c1.zip
TESTBED: formatting fix, deleted spaces/tabs at end of line
svn-id: r52081
Diffstat (limited to 'engines/testbed/testbed.cpp')
-rw-r--r--engines/testbed/testbed.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/testbed/testbed.cpp b/engines/testbed/testbed.cpp
index e538c7f20c..a4e6429e44 100644
--- a/engines/testbed/testbed.cpp
+++ b/engines/testbed/testbed.cpp
@@ -49,7 +49,7 @@ void TestbedExitDialog::init() {
addText(450, 20, text, Graphics::kTextAlignCenter, _xOffset, 15);
Common::Array<Common::String> strArray;
GUI::ListWidget::ColorList colors;
-
+
for (Common::Array<Testsuite *>::const_iterator i = _testsuiteList.begin(); i != _testsuiteList.end(); ++i) {
strArray.push_back(Common::String::printf("%s :", (*i)->getDescription()));
colors.push_back(GUI::ThemeEngine::kFontColorNormal);
@@ -60,7 +60,7 @@ void TestbedExitDialog::init() {
}
colors.push_back(GUI::ThemeEngine::kFontColorAlternate);
}
-
+
addList(0, _yOffset, 500, 200, strArray, &colors);
text = "More Details can be viewed in the Log file : " + Testsuite::getLogFile();
addText(450, 20, text, Graphics::kTextAlignLeft, 0, 0);
@@ -103,7 +103,7 @@ TestbedEngine::TestbedEngine(OSystem *syst)
if (gameRoot.exists()) {
SearchMan.addDirectory(gameRoot.getDisplayName(), gameRoot);
}
-
+
DebugMan.addDebugChannel(kTestbedLogOutput, "LOG", "Log of test results generated by testbed");
DebugMan.addDebugChannel(kTestbedEngineDebug, "Debug", "Engine-specific debug statements");
DebugMan.enableDebugChannel("LOG");
@@ -169,7 +169,7 @@ Common::Error TestbedEngine::run() {
// TODO: Implement that
TestbedConfigManager cfMan(_testsuiteList, "testbed.config");
-
+
// Keep running if rerun requested
do {
@@ -182,13 +182,13 @@ Common::Error TestbedEngine::run() {
if (Engine::shouldQuit()) {
return Common::kNoError;
}
-
+
TestbedExitDialog tbDialog(_testsuiteList);
tbDialog.init();
tbDialog.run();
} while (TestbedExitDialog::rerunRequired());
-
+
return Common::kNoError;
}