Fix testcase.

It failed because the directory where change happened triggered a
notification within the second before, so the event was skipped.
This commit is contained in:
Klaas Freitag 2014-05-14 12:47:56 +02:00
parent 5ed4710d64
commit 87386ce001

View file

@ -91,9 +91,9 @@ private slots:
}
void testRemoveADir() {
_checkMark = _root+"/a1/b1";
_checkMark = _root+"/a1/b3";
QDir dir;
dir.rmdir(_root+"/a1/b1/c2");
QVERIFY(dir.rmdir(_root+"/a1/b3/c3"));
_loop.processEvents();
QVERIFY(_checkMark.isEmpty()); // the slot clears the checkmark.
}