D9821: Use QSignalSpy::wait instead of QTest::wait where possible

Milian Wolff noreply at phabricator.kde.org
Thu Jan 11 15:11:31 UTC 2018


mwolff created this revision.
mwolff added a reviewer: dfaure.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: Frameworks.
mwolff requested review of this revision.

REVISION SUMMARY
  This allows the test to finish a bit earlier in the best case.
  I.e. when the signal comes in after 1ms, we will only wait for 1ms,
  instead of always waiting for 50ms.

REPOSITORY
  R244 KCoreAddons

REVISION DETAIL
  https://phabricator.kde.org/D9821

AFFECTED FILES
  autotests/kdirwatch_unittest.cpp

To: mwolff, dfaure
Cc: #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180111/de7f76fe/attachment.html>


More information about the Kde-frameworks-devel mailing list