syncevolution/test/testcases
Patrick Ohly ce03b08bbc Google testing: simplify test cases instead of ignoring differences in synccompare
The motivation for this is that the test cases are also used in the
new testExtensions test. Because that test runs with the "google"
hacks in synccompare disabled, it breaks for those test cases which
contain properties that get mangled by Google. This includes
everything with a semicolon in it where Google doesn't expect it
(NOTE, ORG).
2011-06-21 11:43:10 +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: support arbitrary local extensions (part of BMC #15030) 2011-06-21 11:41:14 +02:00
eds_contact.vcf.apple.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.google.tem.patch Google testing: simplify test cases instead of ignoring differences in synccompare 2011-06-21 11:43:10 +02:00
eds_contact.vcf.memotoo.tem.patch vCard: support arbitrary local extensions (part of BMC #15030) 2011-06-21 11:41:14 +02:00
eds_contact.vcf.mobical.tem.patch vCard: support arbitrary local extensions (part of BMC #15030) 2011-06-21 11:41:14 +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.yahoo.tem.patch vCard: support arbitrary local extensions (part of BMC #15030) 2011-06-21 11:41:14 +02:00
eds_contact.vcf.zyb.tem.patch vCard: support arbitrary local extensions (part of BMC #15030) 2011-06-21 11:41:14 +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 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.apple.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_event.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_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 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.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_event.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_event.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
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 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.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: remove "meeting invitation" from Google CalDAV test cases 2011-06-17 12:10:54 +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 CardDAV + Yahoo: passes testImport after simplifying the tests 2011-05-10 15:59:50 +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