qt5base-lts/tests/auto/qobject
Jason McDonald 982405f2d0 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
(cherry picked from commit 7bd6ca895e5fa4de197d9d7bf2e7b578c01c3c2a)
2011-05-18 10:46:42 +10:00
..
.gitignore Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
moc_oldnormalizeobject.cpp Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
oldnormalizeobject.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
qobject.pro Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
signalbug.cpp Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
signalbug.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
signalbug.pro Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
tst_qobject.cpp Remove Q_ASSERT's from QObject autotest. 2011-05-18 10:46:42 +10:00
tst_qobject.pro Compile auto tests. 2011-05-16 16:59:05 +02:00