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

Authored by mwolff on Jan 11 2018, 2:18 PM.

Description

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

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.

Reviewers: dfaure

Subscribers: Frameworks

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D9821

Details

Committed
mwolffJan 18 2018, 10:12 AM
Differential Revision
D9821: Use QSignalSpy::wait instead of QTest::wait where possible
Parents
R244:311a702fa070: Verify that the file was opened
Branches
Unknown
Tags
Unknown