summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/thread/qsemaphore
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-10-18 12:50:36 +1000
committerQt by Nokia <qt-info@nokia.com>2011-10-19 07:24:13 +0200
commit8f02339e76b9b21df028e29735475313760f82c6 (patch)
treeda655389e77d590196152b3ec230bc67348da880 /tests/auto/corelib/thread/qsemaphore
parentae1810658b75dd0eb0247b0e951ce315c8ce4c86 (diff)
Remove DEPENDS_ON from qtestlib API.
The DEPENDS_ON macro didn't do anything and has misled many users to think that they can write test functions that depend on other test functions. Task-number: QTBUG-21851 Change-Id: Ibe65b2d5d88bb81b6a0ebbe0b220f7d409a1446c Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/corelib/thread/qsemaphore')
-rw-r--r--tests/auto/corelib/thread/qsemaphore/tst_qsemaphore.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/auto/corelib/thread/qsemaphore/tst_qsemaphore.cpp b/tests/auto/corelib/thread/qsemaphore/tst_qsemaphore.cpp
index a2c6bf16b7..7c410db148 100644
--- a/tests/auto/corelib/thread/qsemaphore/tst_qsemaphore.cpp
+++ b/tests/auto/corelib/thread/qsemaphore/tst_qsemaphore.cpp
@@ -64,8 +64,6 @@ private slots:
void tryAcquireWithTimeout_data();
void tryAcquireWithTimeout();
void tryAcquireWithTimeoutStarvation();
- void release();
- void available();
void producerConsumer();
};
@@ -363,12 +361,6 @@ void tst_QSemaphore::tryAcquireWithTimeoutStarvation()
QVERIFY(consumer.wait());
}
-void tst_QSemaphore::release()
-{ DEPENDS_ON("acquire"); }
-
-void tst_QSemaphore::available()
-{ DEPENDS_ON("acquire"); }
-
const char alphabet[] = "ACGTH";
const int AlphabetSize = sizeof(alphabet) - 1;