testing: adapted ActiveSync eds events to 123together.com

Exchange 2010 insists on converting non-recurring events
into its own time zone. Various workarounds were tried
in activesyncd, without success.

To get the testing to pass, the testcases were adapted
to match the data returned by 123together.com. The obvious
downside is that anyone else running the tests against
a different Exchange server will need to adapt the data.
This commit is contained in:
Patrick Ohly 2011-12-09 08:42:34 +00:00
parent 0194598236
commit c723c51fbe

View file

@ -66,7 +66,38 @@
CREATED:20060416T204021Z
LAST-MODIFIED:20060416T204021Z
END:VEVENT
@@ -218,7 +216,7 @@
@@ -193,11 +191,28 @@
BEGIN:VCALENDAR
PRODID:-//Ximian//NONSGML Evolution Calendar//EN
VERSION:2.0
+BEGIN:VTIMEZONE
+TZID:(UTC-05:00) Eastern Time (US & C
+BEGIN:STANDARD
+DTSTART:19701101T020000
+RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=11
+TZOFFSETFROM:-0400
+TZOFFSETTO:-0500
+TZNAME:(UTC-05:00) Eastern Time (US & C
+END:STANDARD
+BEGIN:DAYLIGHT
+DTSTART:19700308T020000
+RRULE:FREQ=YEARLY;BYDAY=2SU;BYMONTH=3
+TZOFFSETFROM:-0500
+TZOFFSETTO:-0400
+TZNAME:(UTC-05:00) Eastern Time (US & C
+END:DAYLIGHT
+END:VTIMEZONE
BEGIN:VEVENT
UID:20060416T204136Z-4272-727-1-247@gollum
DTSTAMP:20060416T204136Z
-DTSTART:20060406T190000Z
-DTEND:20060406T193000Z
+DTSTART;TZID="(UTC-05:00) Eastern Time (US & C":20060406T150000
+DTEND;TZID="(UTC-05:00) Eastern Time (US & C":20060406T153000
TRANSP:TRANSPARENT
SEQUENCE:4
SUMMARY:all fields
@@ -218,7 +233,7 @@
BEGIN:VALARM
X-EVOLUTION-ALARM-UID:20060416T204833Z-4250-727-1-85@gollum
ACTION:DISPLAY
@ -75,7 +106,7 @@
TRIGGER;VALUE=DURATION;RELATED=START:-PT1H
END:VALARM
END:VEVENT
@@ -228,29 +226,6 @@
@@ -228,29 +243,6 @@
PRODID:-//Ximian//NONSGML Evolution Calendar//EN
VERSION:2.0
BEGIN:VEVENT
@ -105,7 +136,7 @@
UID:20080407T193125Z-19554-727-1-50@gollum
DTSTAMP:20080407T193125Z
DTSTART:20080406T090000Z
@@ -260,7 +235,7 @@
@@ -260,7 +252,7 @@
SUMMARY:Recurring
DESCRIPTION:recurs each Sonday\, 10 times
CLASS:PUBLIC
@ -114,7 +145,7 @@
CREATED:20080407T193241Z
LAST-MODIFIED:20080407T193241
END:VEVENT
@@ -341,75 +316,3 @@
@@ -341,75 +333,3 @@
DESCRIPTION:second instance modified\, single detached recurrence
END:VEVENT
END:VCALENDAR