diff options
author | Jordi Vilalta Prat | 2010-07-14 14:12:42 +0000 |
---|---|---|
committer | Jordi Vilalta Prat | 2010-07-14 14:12:42 +0000 |
commit | 0b3201e5e3449f90187938e5dd699535fdaadeb8 (patch) | |
tree | 5f4c179ad8028063a9297d45477f7842b1dc9434 /engines/testbed/misc.cpp | |
parent | 85958744a2314d5b2556bece162dbf6bc4d54505 (diff) | |
download | scummvm-rg350-0b3201e5e3449f90187938e5dd699535fdaadeb8.tar.gz scummvm-rg350-0b3201e5e3449f90187938e5dd699535fdaadeb8.tar.bz2 scummvm-rg350-0b3201e5e3449f90187938e5dd699535fdaadeb8.zip |
Whitespace cleanup (mainly spaces and tabs at the end of line)
svn-id: r50885
Diffstat (limited to 'engines/testbed/misc.cpp')
-rw-r--r-- | engines/testbed/misc.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/testbed/misc.cpp b/engines/testbed/misc.cpp index 12b31ea5ab..46a2788690 100644 --- a/engines/testbed/misc.cpp +++ b/engines/testbed/misc.cpp @@ -44,7 +44,7 @@ void MiscTests::timerCallback(void *arg) { void MiscTests::criticalSection(void *arg) { SharedVars &sv = *((SharedVars *) arg); - + Testsuite::logDetailedPrintf("Before critical section: %d %d\n", sv.first, sv.second); g_system->lockMutex(sv.mutex); @@ -92,7 +92,7 @@ bool MiscTests::testDateTime() { Testsuite::logDetailedPrintf("Time and Date 2s later: "); getHumanReadableFormat(t2, dateTimeNow); Testsuite::logDetailedPrintf("%s\n", dateTimeNow.c_str()); - + if (t1.tm_year == t2.tm_year && t1.tm_mon == t2.tm_mon && t1.tm_mday == t2.tm_mday) { if (t1.tm_mon == t2.tm_mon && t1.tm_year == t2.tm_year){ // Ignore lag due to processing time @@ -109,7 +109,7 @@ bool MiscTests::testTimers() { if (g_system->getTimerManager()->installTimerProc(timerCallback, 100000, &valToModify)) { g_system->delayMillis(150); g_system->getTimerManager()->removeTimerProc(timerCallback); - + if (999 == valToModify) { return true; } @@ -119,7 +119,7 @@ bool MiscTests::testTimers() { bool MiscTests::testMutexes() { static SharedVars sv = {1, 1, true, g_system->createMutex()}; - + if (g_system->getTimerManager()->installTimerProc(criticalSection, 100000, &sv)) { g_system->delayMillis(150); } @@ -143,9 +143,9 @@ bool MiscTests::testMutexes() { } MiscTestSuite::MiscTestSuite() { - addTest("Date/time", &MiscTests::testDateTime, false); - addTest("Timers", &MiscTests::testTimers, false); - addTest("Mutexes", &MiscTests::testMutexes, false); + addTest("Date/time", &MiscTests::testDateTime, false); + addTest("Timers", &MiscTests::testTimers, false); + addTest("Mutexes", &MiscTests::testMutexes, false); } const char *MiscTestSuite::getName() const { return "Misc"; |