Commit graph

34 commits

Author SHA1 Message Date
Patrick Ohly ce34d41a6e testImport should leave the items imported - moved import/delete into its own test
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@139 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-11 21:35:16 +00:00
Patrick Ohly 0fb2f5d474 fixed several compiler warnings
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@138 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-11 20:07:26 +00:00
Patrick Ohly 9a6bee9670 STATUS expected by libical
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@128 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-06 19:34:54 +00:00
Patrick Ohly 0d2a86ceaf split testDeleteAll into two tests, one for each method
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@127 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-06 18:28:34 +00:00
Patrick Ohly ad0133dd21 got rid of the remaining files with :: in the name
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@121 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-01 20:06:19 +00:00
Patrick Ohly 04f837e53a added test for add-update-download sequence
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@119 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-01 19:29:17 +00:00
Patrick Ohly 3fb21013d4 avoid filenames with colons in the name
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@110 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-05-28 16:24:37 +00:00
Patrick Ohly 5cd36ad7f3 cleaned up error reporting and exception handling
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@105 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-05-26 12:49:19 +00:00
Patrick Ohly 106452b6ff added test for slow-sync and added handling of the STC_ALREADY_EXISTS encountered then; twinning is currently broken in Funambol 3.0 beta 3, see #305357
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@101 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-05-25 10:35:36 +00:00
Patrick Ohly e2a5815111 avoid the problematic timezones in the basic tests
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@88 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-24 20:39:56 +00:00
Patrick Ohly 65026bd0f7 added support for testing against www.scheduleworld.com
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@85 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-24 18:49:03 +00:00
Patrick Ohly 7497b22711 added testing of tasks
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@77 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-17 17:54:00 +00:00
Patrick Ohly 7ead372d9d - renamed normalize script to synccompare because it now applies to both calendar, tasks and contacts
- temporary files in test suite now start with the name of the test they belong to


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@72 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-17 15:59:33 +00:00
Patrick Ohly a5775d4026 - renamed "test" program to "TestEvolution"
- copy original test cases to fit the name expected by TestEvolution and to have
  them in the build directory
- handle merge with existing item in addItem(): return special status


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@71 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-17 09:41:37 +00:00
Patrick Ohly 8ec0b8301d instantiate test for calendar
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@68 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-14 11:30:34 +00:00
Patrick Ohly 8327d850aa refactored code so that test suites can be built from the base template TestEvolution class:
currently defined are ContactSource (local tests) and ContactSync (synchronization with server), tests work exactly as before


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@65 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-12 21:03:37 +00:00
Patrick Ohly a1bc304bc5 made sleep configurable (off by default), synchronize only one source
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@63 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-09 21:56:03 +00:00
Patrick Ohly 6acd0891b1 - added support for calendars and tasks: not yet tested automatically
but manual tests show that it works in principle, albeit with some
  loss of attributes in the server for calendars (time zone)
- removed "disabled" configuration option, use "sync = none" instead
- added selection of databases to synchronize via additional command
  line parameters

Source:
- Refactored code so that EvolutionSyncSource contains the client-library
  facing code and commong logging/error handling. EvolutionContactSource
  and EvolutionCalendarSource (for both calendars and tasks) can now
  indicate errors via exceptions in all functions.


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@62 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-09 11:48:11 +00:00
Patrick Ohly 07f43e8444 adapted to head revision of Sync4j C++ client library
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@61 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-06 17:02:43 +00:00
Patrick Ohly 5761cda454 test adding multiple business phone numbers
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@46 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-18 14:17:51 +00:00
Patrick Ohly 191dd40b23 test for copying via server now transmits testVCard.vcf and also compares against it
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@45 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-18 13:35:23 +00:00
Patrick Ohly 1217824251 replaced verification with vcard comparion via normalize_vcard.pl
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@38 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-12 20:36:18 +00:00
Patrick Ohly 1301d3edac preparations for a release as 'SyncEvolution'
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@32 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-11 19:23:43 +00:00
Patrick Ohly ee25c482cd restrict the usage of the problematic CALURI/FBURL to a few specific test cases
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@30 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-11 16:30:00 +00:00
Patrick Ohly e2e9fef922 check some more vcard fields (however, different order of entries still breaks comparison)
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@29 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-02-26 18:12:05 +00:00
Patrick Ohly d6fe29ef0e added support for the new refresh-client/server sync modes
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@26 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-02-04 20:22:55 +00:00
Patrick Ohly 608a5b261f added conflict handling
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@22 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-01-23 21:51:43 +00:00
Patrick Ohly 5c247ab443 list the major features explicitly and improved tests to actually check copying/updating
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@20 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-01-21 17:06:59 +00:00
Patrick Ohly 62322c3e19 minor changes to make it easier to debug
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@17 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-01-21 15:37:07 +00:00
Patrick Ohly 5883a5fa39 added test cases for vcard conversion
use VOCL classes to fix vcard encoding


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@16 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-01-08 21:49:03 +00:00
Patrick Ohly 274f505aaf added unit testing for syncing, needs some support in core classes (overriding sync mode, full lists)
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@14 15ad00c4-1369-45f4-8270-35d70d36bdcd
2005-12-11 17:13:36 +00:00
Patrick Ohly 6b09f2f6c3 implemented front-end based on new SyncML C++ config API
implemented the new begin/endSync() callbacks
explain the change tracking and error handling
-> copying from server works, the other way around fails, probably because of vcard 3.0 parsing problems on the server


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@6 15ad00c4-1369-45f4-8270-35d70d36bdcd
2005-11-26 21:16:03 +00:00
Patrick Ohly 3a81621f3e adapted to Sync4j C++ client API 3.x
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@5 15ad00c4-1369-45f4-8270-35d70d36bdcd
2005-11-25 20:53:04 +00:00
Patrick Ohly 3bc37288c2 first working version of SyncSource for Evolution contacts (requires Sync4j C++ API 2.0, not currently available)
added unit testing


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@3 15ad00c4-1369-45f4-8270-35d70d36bdcd
2005-11-05 22:04:33 +00:00