syncevolution/test/testcases
Patrick Ohly 34d2daff9c Memotoo testing: supports ADR country
Found out that Memotoo supports the country field, albeit only if the
string is recognized by Memotoo. That wasn't the case for some of the
test data.

Adapted the test data to use countries that Memotoo knows (Germany,
France, with the English names). Also updated synccompare.pl to
reflect the current set of lost properties and removed the Memotoo ADR
simplification.
(cherry picked from commit 4dd89c8626)
2011-10-28 09:01:18 +02:00
..
lcs LCS: Longest Common Subsequence 2010-01-19 17:23:07 +01:00
templates/clients phone templates: updated, copied from syncevolution.org Wiki (BMC #5727) 2010-08-27 13:30:05 +02:00
eds_contact.vcf vCard extensions: \; instead of ; 2011-10-10 09:39:09 +02:00
eds_contact.vcf.apple.tem.patch vCard extensions + Apple: avoid problematic quoted PARAMETER2 2011-10-10 09:39:10 +02:00
eds_contact.vcf.google.tem.patch testing: removed extra X-ICQ 2011-06-21 12:01:43 +02:00
eds_contact.vcf.memotoo.tem.patch Memotoo testing: supports ADR country 2011-10-28 09:01:18 +02:00
eds_contact.vcf.mobical.tem.patch vCard extensions: \; instead of ; 2011-10-10 09:39:09 +02:00
eds_contact.vcf.Ovi.tem.patch nightly testing: renamed ical20/itodo20/vcard30/text, removed vcard21 from Evolution backend (BMC #14972) 2011-05-05 20:15:55 +08:00
eds_contact.vcf.syncevolution.tem.patch vcard: inline local photo data (BMC #19661) 2011-07-22 09:35:03 +02:00
eds_contact.vcf.synthesis.tem.patch Synthesis contact testing: avoid \; -> ;; issue in testExtensions 2011-10-25 15:11:23 +00:00
eds_contact.vcf.yahoo.tem.patch eds_contact: specify all N components 2011-10-10 09:39:09 +02:00
eds_contact.vcf.zyb.tem.patch testing: removed extra X-ICQ 2011-06-21 12:01:43 +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: extended detached recurrence test cases (triggers BMC #22940) 2011-09-14 15:07:31 +02:00
eds_event.ics.apple.tem.patch testing: fixed iCalendar VALARM test cases 2011-08-26 08:31:40 +00:00
eds_event.ics.funambol.tem.patch testing: extended detached recurrence test cases (triggers BMC #22940) 2011-09-14 15:07:31 +02:00
eds_event.ics.googlecalendar.tem.patch Google CalDAV testing: avoid multiple detached recurrences 2011-10-17 08:45:31 +00: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 Memotoo testing: added EXDATEs 2011-09-14 15:07:31 +02:00
eds_event.ics.mobical.tem.patch testing: extended detached recurrence test cases (triggers BMC #22940) 2011-09-14 15:07:31 +02:00
eds_event.ics.nokia_7210c.tem.patch testing: extended detached recurrence test cases (triggers BMC #22940) 2011-09-14 15:07:31 +02:00
eds_event.ics.Ovi.tem.patch testing: extended detached recurrence test cases (triggers BMC #22940) 2011-09-14 15:07:31 +02: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 nightly testing: renamed ical20/itodo20/vcard30/text, removed vcard21 from Evolution backend (BMC #14972) 2011-05-05 20:15:55 +08:00
eds_task.ics nightly testing: renamed ical20/itodo20/vcard30/text, removed vcard21 from Evolution backend (BMC #14972) 2011-05-05 20:15:55 +08:00
eds_task.ics.funambol.tem.patch nightly testing: renamed ical20/itodo20/vcard30/text, removed vcard21 from Evolution backend (BMC #14972) 2011-05-05 20:15:55 +08:00
eds_task.ics.memotoo.tem.patch Memotoo testing: updated eds_task test case for Memotoo 2011-08-10 16:05:36 +02:00
eds_task.ics.mobical.tem.patch nightly testing: renamed ical20/itodo20/vcard30/text, removed vcard21 from Evolution backend (BMC #14972) 2011-05-05 20:15:55 +08:00
eds_task.ics.nokia_7210c.tem.patch nightly testing: renamed ical20/itodo20/vcard30/text, removed vcard21 from Evolution backend (BMC #14972) 2011-05-05 20:15:55 +08:00
eds_task.ics.Ovi.tem.patch nightly testing: renamed ical20/itodo20/vcard30/text, removed vcard21 from Evolution backend (BMC #14972) 2011-05-05 20:15:55 +08:00
google_event.ics testing: fixed iCalendar 2.0 test data 2011-08-26 08:31:40 +00: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