[Pkg-owncloud-commits] [owncloud-client] 49/115: Tests: Fixed the CSync statedb test defined in the mirall module.

Sandro Knauß hefee-guest at moszumanska.debian.org
Fri Aug 29 22:03:59 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 8d819956d348b91426bef3f5591af5d7170d17cf
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Fri Aug 15 18:33:04 2014 +0200

    Tests: Fixed the CSync statedb test defined in the mirall module.
---
 test/testcsyncsqlite.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/test/testcsyncsqlite.h b/test/testcsyncsqlite.h
index 92bdca2..0765668 100644
--- a/test/testcsyncsqlite.h
+++ b/test/testcsyncsqlite.h
@@ -16,10 +16,18 @@ class TestCSyncSqlite : public QObject
     Q_OBJECT
 
 private:
+    /* Attention !!!!!!!!!!!!!!!!!!!
+     * This struct MY_CSYNC has to be a copy of the CSYNC struct defined
+     * in csync_private.h until the end of struct statedb.
+     * Subsequent functions cast the struct to CSYNC. In order to get the
+     * same values as in the original struct, the start must be the same.
+     */
     typedef struct {
         struct {
             csync_auth_callback auth_function;
             void *userdata;
+            csync_update_callback update_callback;
+            void *update_callback_userdata;
         } callbacks;
         c_strlist_t *excludes;
 

-- 
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