diff options
author | Klaas Freitag <freitag@owncloud.com> | 2014-05-14 14:47:56 +0400 |
---|---|---|
committer | Klaas Freitag <freitag@owncloud.com> | 2014-05-14 14:49:11 +0400 |
commit | 87386ce001f74482b8ab47f07a1d52ba76d7d1da (patch) | |
tree | 5f1cc1942ee54bede12a578868325ae62974247e /test | |
parent | 5ed4710d64e5618c93fe8530079fbe30db666ac6 (diff) |
Fix testcase.
It failed because the directory where change happened triggered a
notification within the second before, so the event was skipped.
Diffstat (limited to 'test')
-rw-r--r-- | test/testfolderwatcher.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testfolderwatcher.h b/test/testfolderwatcher.h index 0286a2951..f7a0dd6ca 100644 --- a/test/testfolderwatcher.h +++ b/test/testfolderwatcher.h @@ -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. } |