Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.0.0
-
None
-
ea415e20607016651f3cef02dff109235d84eb4d
Description
To make debugging test failures easier, each test that uses QSignalSpy should take advantage of the sanity checks performed by the QSignalSpy constructor, e.g.
QSignalSpy spy(object, SIGNAL(someSignal())); QVERIFY(spy.isValid());
The practice of using QSignalSpy::isValid() should also be documented in the QTestLib Manual.