summaryrefslogtreecommitdiffstats
path: root/tests/auto/qdrag
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-05-03 01:59:05 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2011-05-04 03:30:01 (GMT)
commit7bd6ca895e5fa4de197d9d7bf2e7b578c01c3c2a (patch)
tree364d42292b685d9d7907eca520bcdbb468c631cc /tests/auto/qdrag
parenta3b2fa3f1beffa7709c11522d4e2db9ec8f952e0 (diff)
downloadQt-7bd6ca895e5fa4de197d9d7bf2e7b578c01c3c2a.zip
Qt-7bd6ca895e5fa4de197d9d7bf2e7b578c01c3c2a.tar.gz
Qt-7bd6ca895e5fa4de197d9d7bf2e7b578c01c3c2a.tar.bz2
Remove Q_ASSERT's from QObject autotest.
The Receiver class has two slots that aren't meant to get called during the test (they're there to catch broken parsing of slot names). Rather than asserting when one of them gets called, which does nothing in a release mode build, this commit makes the slots record the number of times they were called (as for the other slots in the test) and fails the test gracefully if either of those slots was called. Change-Id: Ia0393026cb96ffdc6190b5e7bd951f75d231b11e Task-number: QTBUG-17582 Reviewed-by: Rohan McGovern
Diffstat (limited to 'tests/auto/qdrag')
0 files changed, 0 insertions, 0 deletions