summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/doc_src_styles.cpp
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-05-09 13:46:32 +1000
committerRohan McGovern <rohan.mcgovern@nokia.com>2011-05-18 10:46:47 +1000
commit8094e93e081ac91bc6480800c06c52f52252f439 (patch)
tree4b85802f4edcadc79adb7531896cec04b20a3491 /doc/src/snippets/code/doc_src_styles.cpp
parent179954667524ee3d6bd472605cf2f48326826fa8 (diff)
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 (cherry picked from commit 00f724c943b83f10f9ca9475570708536947538e)
Diffstat (limited to 'doc/src/snippets/code/doc_src_styles.cpp')
0 files changed, 0 insertions, 0 deletions