testing: make Mobical eds_events testItems test pass

Mobical seems to have switched its time handling. Several floating
time stamps are converted to UTC, using the time zone set on the
server.

This breaks all-day detection and EXDATEs. This used to work in the
past (http://bugzilla.moblin.org/web/bug_report_3009.html). Instead of
trying to find further workarounds, let's give up and declare these
aspects as unsupported: README updated, test data simplified.
This commit is contained in:
Patrick Ohly 2011-08-18 09:32:13 +00:00
parent 6db37b5612
commit 1f9eda8359
2 changed files with 51 additions and 3 deletions

View File

@ -113,6 +113,11 @@ itodo20
UID, DTSTART,PERCENT-COMPLETE,SEQUENCE, URL, CLASS
text
-- N/A
-- All-day events are not supported. The server is sent such events as DTSTART/END 00:00:00/23:59:59
floating time and returns them with shifted times (DTSTART 22:00:00 UTC on a different day).
This cannot be recognized as an all-day event anymore by the client.
-- For the same reason, exceptions to a recurring meeting may shift during synchronization
(EXDATE:20001231 -> EXDATE:20001230T220000Z).
* Known test failures:
Client::Sync::vcard21

View File

@ -33,7 +33,7 @@
UID:20060406T211449Z-4562-727-1-63@gollum
DTSTAMP:20060406T211449Z
LAST-MODIFIED:20060416T203532Z
@@ -90,25 +70,7 @@
@@ -90,59 +70,7 @@
CLASS:PUBLIC
CREATED:20060416T203924Z
LAST-MODIFIED:20060416T203949Z
@ -56,11 +56,54 @@
-RRULE:FREQ=YEARLY;INTERVAL=1;UNTIL=20070406T180000Z
-CREATED:20060416T204021Z
-LAST-MODIFIED:20060416T204021Z
-END:VEVENT
-END:VCALENDAR
-
-BEGIN:VCALENDAR
-PRODID:-//Ximian//NONSGML Evolution Calendar//EN
-VERSION:2.0
-BEGIN:VEVENT
-UID:20060416T204026Z-4272-727-1-244@gollum
-DTSTAMP:20060416T204026Z
-DTSTART;VALUE=DATE:20060406
-DTEND;VALUE=DATE:20060407
-TRANSP:TRANSPARENT
-SEQUENCE:2
-SUMMARY:all day event
-CLASS:PUBLIC
-CREATED:20060416T204042Z
-LAST-MODIFIED:20060416T204042Z
-END:VEVENT
-END:VCALENDAR
-
-BEGIN:VCALENDAR
-PRODID:-//Ximian//NONSGML Evolution Calendar//EN
-VERSION:2.0
-BEGIN:VEVENT
-UID:20060416T204047Z-4272-727-1-245@gollum
-DTSTAMP:20060416T204047Z
-DTSTART;VALUE=DATE:20060406
-DTEND;VALUE=DATE:20060408
-TRANSP:TRANSPARENT
-SEQUENCE:2
-SUMMARY:two day event
-CLASS:PUBLIC
-CREATED:20060416T204104Z
-LAST-MODIFIED:20060416T204104Z
+RRULE:FREQ=MONTHLY;BYMONTHDAY=6;INTERVAL=1;UNTIL=20060606T173000Z
END:VEVENT
END:VCALENDAR
@@ -193,11 +155,6 @@
@@ -161,8 +89,6 @@
Saturday
CLASS:PUBLIC
RRULE:FREQ=DAILY;INTERVAL=1;UNTIL=20060412T183000Z
-EXDATE;VALUE=DATE:20060408
-EXDATE;VALUE=DATE:20060407
CREATED:20060416T204808Z
LAST-MODIFIED:20060416T204808Z
END:VEVENT
@@ -193,11 +119,6 @@
^\npercent %\ntilde ~\ntick `\nbacktick `\ndouble quotation - not tested
because Evolution encodes it incorrectly\nsingle quotation '\ncolon :\n
semicolon \;\ncomma \,\n
@ -72,7 +115,7 @@
END:VEVENT
END:VCALENDAR
@@ -265,28 +222,11 @@
@@ -265,28 +186,11 @@
BEGIN:VCALENDAR
PRODID:-//Ximian//NONSGML Evolution Calendar//EN
VERSION:2.0