Commit d68a3fec authored by Martin Flöser's avatar Martin Flöser
Browse files

[autotests] Use QTR_COMPARE instead of QTest::qWait in TestScriptedEffectLoader

Hopefully makes the test more reliable on
parent 2c333417
......@@ -382,8 +382,7 @@ void TestScriptedEffectLoader::testLoadAllEffects()
// let's use qWait as we need to wait for two signals to be emitted
QCOMPARE(spy.size(), 2);
QTRY_COMPARE(spy.size(), 2);
QStringList loadedEffects;
for (auto &list : spy) {
QCOMPARE(list.size(), 2);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment