1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-01-19 17:32:36 +01:00

test: Let compilation finish

This commit is contained in:
Sirius Bakke 2020-05-01 23:55:57 +02:00
parent 6523b936c0
commit 1238a76f90

View File

@ -262,6 +262,13 @@ void instDialogCompileTest::testCompile()
QVERIFY(waited < 10000);
}
while (!finish->isEnabled()) {
waited = 0;
QTest::qWait(500);
waited += 500;
QVERIFY(waited < 10000);
}
for(int i=0; i<list->topLevelItemCount(); i++)
{
QVERIFY(list->topLevelItem(i)->text(1).contains("Success"));