[Pkg-owncloud-commits] [owncloud-client] 47/70: Fix testcase.
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sat May 17 20:01:29 UTC 2014
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit 87386ce001f74482b8ab47f07a1d52ba76d7d1da
Author: Klaas Freitag <freitag at owncloud.com>
Date: Wed May 14 12:47:56 2014 +0200
Fix testcase.
It failed because the directory where change happened triggered a
notification within the second before, so the event was skipped.
---
test/testfolderwatcher.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/testfolderwatcher.h b/test/testfolderwatcher.h
index 0286a29..f7a0dd6 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.
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list