syncevolution/test/testcases
Patrick Ohly bce3ebdbf9 testing: Google testcases must work with and without libphonenumber support in EDS
"primary 80" ends up being recognized as phone number, adding the E.164
parameter if (and only if) EDS was compiled with libphonenumber support
(Debian Jessie!). Adding that breaks the comparison, so avoid the situation
by updating to a string which is not a phone number.
2014-10-10 03:19:44 -07:00
..
lcs LCS: Longest Common Subsequence 2010-01-19 17:23:07 +01:00
synctests testing: Google testcases must work with and without libphonenumber support in EDS 2014-10-10 03:19:44 -07:00
templates/clients phone templates: updated, copied from syncevolution.org Wiki (BMC #5727) 2010-08-27 13:30:05 +02:00
carddav.vcf CardDAV: use Apple/Google/CardDAV vCard flavor 2014-05-19 21:33:38 +02:00
carddav.vcf.googlecontacts.tem.patch CardDAV: use Apple/Google/CardDAV vCard flavor 2014-05-19 21:33:38 +02:00
eds_contact.vcf WebDAV: do not mangle UID when sending items 2014-05-02 16:43:44 +02:00
eds_contact.vcf.apple.tem.patch WebDAV: do not mangle UID when sending items 2014-05-02 16:43:44 +02:00
eds_contact.vcf.exchange.tem.patch WebDAV: do not mangle UID when sending items 2014-05-02 16:43:44 +02:00
eds_contact.vcf.filekde.tem.patch testing: ignore Akonadi encodig issues 2014-10-10 03:19:44 -07:00
eds_contact.vcf.google.tem.patch WebDAV: do not mangle UID when sending items 2014-05-02 16:43:44 +02:00
eds_contact.vcf.googlecontacts.tem.patch WebDAV: do not mangle UID when sending items 2014-05-02 16:43:44 +02:00
eds_contact.vcf.googleeas.tem.patch testing: added googleeas = Google Contacts via ActiveSync 2012-07-18 13:35:46 +00:00
eds_contact.vcf.memotoo.tem.patch WebDAV: do not mangle UID when sending items 2014-05-02 16:43:44 +02:00
eds_contact.vcf.mobical.tem.patch WebDAV: do not mangle UID when sending items 2014-05-02 16:43:44 +02:00
eds_contact.vcf.oracle.tem.patch WebDAV: do not mangle UID when sending items 2014-05-02 16:43:44 +02:00
eds_contact.vcf.Ovi.tem.patch WebDAV: do not mangle UID when sending items 2014-05-02 16:43:44 +02:00
eds_contact.vcf.syncevolution.tem.patch WebDAV: do not mangle UID when sending items 2014-05-02 16:43:44 +02:00
eds_contact.vcf.synthesis.tem.patch WebDAV: do not mangle UID when sending items 2014-05-02 16:43:44 +02:00
eds_contact.vcf.yahoo.tem.patch WebDAV: do not mangle UID when sending items 2014-05-02 16:43:44 +02:00
eds_contact.vcf.zyb.tem.patch WebDAV: do not mangle UID when sending items 2014-05-02 16:43:44 +02:00
eds_event-alarms-2010-12-31.ics nightly testing: renamed ical20/itodo20/vcard30/text, removed vcard21 from Evolution backend (BMC #14972) 2011-05-05 20:15:55 +08:00
eds_event.ics testing: remove LANGUAGE from ATTENDEE 2014-03-26 09:48:53 +01:00
eds_event.ics.apple.tem.patch testing: ignore Apple Calendar Server 5.2 VTIMEZONE bug 2014-05-05 09:28:14 +02:00
eds_event.ics.exchange.tem.patch testing: remove LANGUAGE from ATTENDEE 2014-03-26 09:48:53 +01:00
eds_event.ics.funambol.tem.patch testing: avoid overlap between detached recurrences 2011-11-28 10:18:19 +01:00
eds_event.ics.googleactivesync.tem.patch testing: remove LANGUAGE from ATTENDEE 2014-03-26 09:48:53 +01:00
eds_event.ics.googlecalendar.tem.patch Google Calendar: remove child hack, improve alarm hack (FDO #63881) 2014-07-14 04:46:29 -07:00
eds_event.ics.local nightly testing: renamed ical20/itodo20/vcard30/text, removed vcard21 from Evolution backend (BMC #14972) 2011-05-05 20:15:55 +08:00
eds_event.ics.memotoo.tem.patch testing: Memotoo + local time 2012-02-24 10:18:16 +00:00
eds_event.ics.mobical.tem.patch testing: added recurring all-day with EXDATE 2011-10-17 13:17:42 +02:00
eds_event.ics.nokia_7210c.tem.patch testing: remove LANGUAGE from ATTENDEE 2014-03-26 09:48:53 +01:00
eds_event.ics.oracle.tem.patch testing: get tests to pass with Oracle Communications Calendar server 2011-10-17 13:17:42 +02:00
eds_event.ics.Ovi.tem.patch testing: remove LANGUAGE from ATTENDEE 2014-03-26 09:48:53 +01:00
eds_event.ics.radicale.tem.patch testing: remove LANGUAGE from ATTENDEE 2014-03-26 09:48:53 +01:00
eds_memo.ics nightly testing: renamed ical20/itodo20/vcard30/text, removed vcard21 from Evolution backend (BMC #14972) 2011-05-05 20:15:55 +08:00
eds_memo.ics.memotoo.tem.patch testing: ignore Memotoo eds_memo failure 2014-09-12 11:38:57 +02:00
eds_task.ics testing: removed "METHOD:PUBLISH" from EDS task 2012-06-15 14:20:25 +02:00
eds_task.ics.funambol.tem.patch testing: fixed eds_task::testConversion for Funambol 2012-07-16 14:45:50 +00:00
eds_task.ics.memotoo.tem.patch testing: removed "METHOD:PUBLISH" from EDS task 2012-06-15 14:20:25 +02:00
eds_task.ics.mobical.tem.patch testing: removed "METHOD:PUBLISH" from EDS task 2012-06-15 14:20:25 +02:00
eds_task.ics.nokia_7210c.tem.patch testing: removed "METHOD:PUBLISH" from EDS task 2012-06-15 14:20:25 +02:00
eds_task.ics.Ovi.tem.patch testing: removed "METHOD:PUBLISH" from EDS task 2012-06-15 14:20:25 +02:00
google_event.ics testing: ignore Google CalDAV backslash encoding problem 2014-02-12 12:52:09 +01:00
local.png vcard: inline local photo data (BMC #19661) 2011-07-22 09:35:03 +02:00
qt_contact.vcf nightly testing: renamed ical20/itodo20/vcard30/text, removed vcard21 from Evolution backend (BMC #14972) 2011-05-05 20:15:55 +08:00
README nightly testing: renamed ical20/itodo20/vcard30/text, removed vcard21 from Evolution backend (BMC #14972) 2011-05-05 20:15:55 +08:00
vcal10.ics removed VEVENTs which caused problems with Funambol 3.0 server 2009-03-25 14:43:18 +01:00
vcard21.vcf avoid irrelevant differences due to extra white space, generalized X-WSS removal 2009-03-25 14:43:23 +01:00
yahoo_contact.vcf EDS+Yahoo testcases: removed TYPE=HOME from X- chat extensions 2011-06-21 11:43:11 +02:00

The test case files are as follows (take eds_task.ics as example):
    eds_task.ics                      (common case for all servers syncing with Evolution Data Server)
    eds_task.ics.funambol.tem         (server specific case)
During test, it will first try the server specific case(*.$server.tem), if not 
found fall back to the common case. 

To avoid redundancy, the server specific case is stored as a diff(patch) based on
server common case.

Makefile rules in src/Makefile-gen.am copy resp. create the necessary test files
there every time the client-test program is built. Here's how this is used.

To create new server specific test cases (using same example as above):
- cd src
- cp testcases/eds_task.ics testcases/eds_task.ics.funambol.tem
- run client-test, edit, repeat...
- commit modified patch files to git repo

To update server specific test cases:
- cd src
- make client-test
- edit testcases/eds_task.ics.funambol.tem
- run client-test, edit, repeat...
- commit modified patch files to git repo