Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKlaas Freitag <freitag@owncloud.com>2014-05-14 14:47:56 +0400
committerKlaas Freitag <freitag@owncloud.com>2014-05-14 14:49:11 +0400
commit87386ce001f74482b8ab47f07a1d52ba76d7d1da (patch)
tree5f1cc1942ee54bede12a578868325ae62974247e /test
parent5ed4710d64e5618c93fe8530079fbe30db666ac6 (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.h4
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.
}