summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/thread/qsemaphore/tst_qsemaphore.cpp
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-11-07 19:19:27 +1000
committerQt by Nokia <qt-info@nokia.com>2011-11-10 04:42:45 +0100
commit8e11f7c93a1f7df0d10e2f851283c825ca39b75b (patch)
tree6f02b39217acd9fb9c033fbe908b8ebb1859896a /tests/auto/corelib/thread/qsemaphore/tst_qsemaphore.cpp
parent2cd47107155fc251747028b9b0ae6d2c9e69e06c (diff)
Cleanup corelib autotests
Remove literal tabs. Change-Id: I210a0259773cceb20d35ebc80b889e3ebb88b540 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/corelib/thread/qsemaphore/tst_qsemaphore.cpp')
-rw-r--r--tests/auto/corelib/thread/qsemaphore/tst_qsemaphore.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/auto/corelib/thread/qsemaphore/tst_qsemaphore.cpp b/tests/auto/corelib/thread/qsemaphore/tst_qsemaphore.cpp
index 9643ee448a..b9ee0e2f18 100644
--- a/tests/auto/corelib/thread/qsemaphore/tst_qsemaphore.cpp
+++ b/tests/auto/corelib/thread/qsemaphore/tst_qsemaphore.cpp
@@ -70,12 +70,12 @@ public:
protected:
void run()
{
- int i = 0;
- while ( i < 100 ) {
+ int i = 0;
+ while ( i < 100 ) {
semaphore->acquire();
- i++;
+ i++;
semaphore->release();
- }
+ }
}
};
@@ -89,12 +89,12 @@ public:
protected:
void run()
{
- int i = 0;
- while ( i < 100 ) {
+ int i = 0;
+ while ( i < 100 ) {
semaphore->acquire(N);
- i++;
+ i++;
semaphore->release(N);
- }
+ }
}
};