summaryrefslogtreecommitdiffstats
path: root/tests/auto/qobjectrace
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-08-04 14:02:56 +0300
committerJanne Anttila <janne.anttila@digia.com>2009-08-04 14:30:41 +0300
commitcd10d1a8dbb3b77c2d4e9c389e134b1f3cc3c2cf (patch)
tree39fa997e3391ffdcc24cdf96ea0c0b5b62391a99 /tests/auto/qobjectrace
parent4b07c9d95087cc69956bfe309cd9b4eec26235ec (diff)
Trailing whitespace and tab/space fixes for auto tests
Diffstat (limited to 'tests/auto/qobjectrace')
-rw-r--r--tests/auto/qobjectrace/tst_qobjectrace.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/auto/qobjectrace/tst_qobjectrace.cpp b/tests/auto/qobjectrace/tst_qobjectrace.cpp
index b3052e00ac..b7a0bd6437 100644
--- a/tests/auto/qobjectrace/tst_qobjectrace.cpp
+++ b/tests/auto/qobjectrace/tst_qobjectrace.cpp
@@ -44,8 +44,8 @@
#include <QtTest/QtTest>
-enum { OneMinute = 60 * 1000,
- TwoMinutes = OneMinute * 2,
+enum { OneMinute = 60 * 1000,
+ TwoMinutes = OneMinute * 2,
TenMinutes = OneMinute * 10,
TwentyFiveMinutes = OneMinute * 25 };
@@ -143,7 +143,7 @@ void tst_QObjectRace::moveToThreadRace()
// ### FIXME: task 257411 - remove xfail once this is fixed
QEXPECT_FAIL("", "Symbian event dispatcher can't handle this kind of race, see task: 257411", Abort);
QVERIFY(false);
-#endif
+#endif
RaceObject *object = new RaceObject;
enum { ThreadCount = 10 };
@@ -222,7 +222,7 @@ public:
// Symbian needs "a bit" more time
# define EXTRA_THREAD_WAIT TenMinutes
# define MAIN_THREAD_WAIT TwentyFiveMinutes
-#else
+#else
# define EXTRA_THREAD_WAIT 3000
# define MAIN_THREAD_WAIT TwoMinutes
#endif
@@ -230,13 +230,13 @@ public:
void tst_QObjectRace::destroyRace()
{
#if defined(Q_OS_SYMBIAN) && defined(Q_CC_NOKIAX86)
- // ### FIXME: task 257411 - remove xfail once this is fixed.
+ // ### FIXME: task 257411 - remove xfail once this is fixed.
// Oddly enough, this seems to work properly in HW, if given enough time and memory.
QEXPECT_FAIL("", "Symbian event dispatcher can't handle this kind of race on emulator, see task: 257411", Abort);
QVERIFY(false);
-#endif
+#endif
- enum { ThreadCount = 10, ObjectCountPerThread = 733,
+ enum { ThreadCount = 10, ObjectCountPerThread = 733,
ObjectCount = ThreadCount * ObjectCountPerThread };
const char *_slots[] = { SLOT(slot1()) , SLOT(slot2()) , SLOT(slot3()),