Commit graph

8 commits

Author SHA1 Message Date
Patrick Ohly 02333c6b39 first draft of API documentation via Doxygen
git-svn-id: https://core.forge.funambol.org/svn/core/top-level/trunk/3x/client-api/native@15371 e8e8ed6c-164c-0410-afcf-9e9a7c7d8c10
2009-03-25 14:43:19 +01:00
Patrick Ohly b97d0be337 fixed compilation if --enable-unit-tests is used without --enable-integration-tests
git-svn-id: https://core.forge.funambol.org/svn/core/top-level/trunk/3x/client-api/native@14903 e8e8ed6c-164c-0410-afcf-9e9a7c7d8c10
2009-03-25 14:43:19 +01:00
Patrick Ohly 2f69d6ba94 - added checking of the SyncReport - changed expectations for refresh-from-server sync: number of deleted items depends on SyncSource implementation and cannot be checked - make LOCATION unique in calendar events to avoid having events merged by Funambol server
=> testing passed with Funambol 3.0 using:
   CLIENT_TEST_DELAY=5 \
   CLIENT_TEST_LOG=/scratch/Funambol/ds-server/logs/funambol_ds.log \
   CLIENT_TEST_SOURCES=vcal10,vcard21 \
   CLIENT_TEST_SERVER=funambol \
       ./client-test Client::Sync::vcal10_vcard21

git-svn-id: https://core.forge.funambol.org/svn/core/top-level/trunk/3x/client-api/native@14292 e8e8ed6c-164c-0410-afcf-9e9a7c7d8c10
2009-03-25 14:43:19 +01:00
Patrick Ohly cca9cd3c13 - added vcard21/vcal10 for Funambol 3.0 server - server URI is now set automatically when creating client config; works for vcard21/vcal10 with Funambol 3.0 and vcard30/ical20 with ScheduleWorld
git-svn-id: https://core.forge.funambol.org/svn/core/top-level/trunk/3x/client-api/native@14183 e8e8ed6c-164c-0410-afcf-9e9a7c7d8c10
2009-03-25 14:43:18 +01:00
Patrick Ohly 9647e7c2b7 solved Windows compile problems
git-svn-id: https://core.forge.funambol.org/svn/core/top-level/trunk/3x/client-api/native@12373 e8e8ed6c-164c-0410-afcf-9e9a7c7d8c10
2009-03-25 14:43:17 +01:00
Patrick Ohly f89bdcb76f sync tests now work on Linux: - implemented sync() method using FILESyncSource - clarified naming of clients and different change tracking
git-svn-id: https://core.forge.funambol.org/svn/core/top-level/trunk/3x/client-api/native@12301 e8e8ed6c-164c-0410-afcf-9e9a7c7d8c10
2009-03-25 14:43:17 +01:00
Patrick Ohly 1b3801011f Implemented change tracking in FILESyncSource. Fixed some portability problems (e.g. %ls with char parameter), ensured that everything still compiles on Windows. RawFILESyncSource now passes all local source tests on Linux, but syncing is still not implemented.
git-svn-id: https://core.forge.funambol.org/svn/core/top-level/trunk/3x/client-api/native@12097 e8e8ed6c-164c-0410-afcf-9e9a7c7d8c10
2009-03-25 14:43:17 +01:00
Patrick Ohly a3137b52e7 Added real sync testing, using RawFILESyncSource to store items locally. Compiles and runs on Linux, but tests mostly fail because FILESyncSource supports no change tracking yet.
See test/client-test.cpp as an example how the existing tests can
be hooked up with other SyncSource implementations. The sync() function
still needs to be implemented.

git-svn-id: https://core.forge.funambol.org/svn/core/top-level/trunk/3x/client-api/native@12093 e8e8ed6c-164c-0410-afcf-9e9a7c7d8c10
2009-03-25 14:43:16 +01:00