diff options
| author | Jason McDonald <jason.mcdonald@nokia.com> | 2011-05-09 03:46:32 (GMT) |
|---|---|---|
| committer | Jason McDonald <jason.mcdonald@nokia.com> | 2011-05-09 08:37:39 (GMT) |
| commit | 00f724c943b83f10f9ca9475570708536947538e (patch) | |
| tree | 5ee84cad7bf50d8d4882cd55d39d0208366953f2 /doc/src/snippets/code/doc_src_qtsql.cpp | |
| parent | 0c157af3e5aa7c56c53b9eabe1510cc639610969 (diff) | |
| download | Qt-00f724c943b83f10f9ca9475570708536947538e.zip Qt-00f724c943b83f10f9ca9475570708536947538e.tar.gz Qt-00f724c943b83f10f9ca9475570708536947538e.tar.bz2 | |
Remove Q_ASSERT's from qreadwritelock autotest
The tryWriteLock testfunction didn't do anything useful in non-debug
builds, due to the thread having the important code inside Q_ASSERT's,
which are no-ops in non-debug builds. This commit removes the
Q_ASSERT's, counts the number of failures in the thread and fails the
test if there are any failures recorded.
Change-Id: I4750f66eeba22ab51ba348ebc06704052421f1ae
Task-number: QTBUG-17582
Reviewed-by: Rohan McGovern
Diffstat (limited to 'doc/src/snippets/code/doc_src_qtsql.cpp')
0 files changed, 0 insertions, 0 deletions
