[CalendarServer-changes] [4546] CalDAVTester/branches/users/cdaboo/deployment
source_changes at macosforge.org
source_changes at macosforge.org
Wed Sep 16 11:23:18 PDT 2009
Revision: 4546
http://trac.macosforge.org/projects/calendarserver/changeset/4546
Author: cdaboo at apple.com
Date: 2009-09-16 11:23:17 -0700 (Wed, 16 Sep 2009)
Log Message:
-----------
Test non-ascii during POST.
Modified Paths:
--------------
CalDAVTester/branches/users/cdaboo/deployment/scripts/tests/nonascii.xml
Added Paths:
-----------
CalDAVTester/branches/users/cdaboo/deployment/Resource/nonascii/10.ics
Added: CalDAVTester/branches/users/cdaboo/deployment/Resource/nonascii/10.ics
===================================================================
--- CalDAVTester/branches/users/cdaboo/deployment/Resource/nonascii/10.ics (rev 0)
+++ CalDAVTester/branches/users/cdaboo/deployment/Resource/nonascii/10.ics 2009-09-16 18:23:17 UTC (rev 4546)
@@ -0,0 +1,34 @@
+BEGIN:VCALENDAR
+CALSCALE:GREGORIAN
+PRODID:-//Cyrusoft International\, Inc.//Mulberry v4.0//EN
+VERSION:2.0
+METHOD:REQUEST
+BEGIN:VTIMEZONE
+LAST-MODIFIED:20040110T032845Z
+TZID:US/Eastern
+BEGIN:DAYLIGHT
+DTSTART:20000404T020000
+RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
+TZNAME:EDT
+TZOFFSETFROM:-0500
+TZOFFSETTO:-0400
+END:DAYLIGHT
+BEGIN:STANDARD
+DTSTART:20001026T020000
+RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
+TZNAME:EST
+TZOFFSETFROM:-0400
+TZOFFSETTO:-0500
+END:STANDARD
+END:VTIMEZONE
+BEGIN:VEVENT
+DTSTAMP:20051222T205953Z
+DTSTART;TZID=US/Eastern:20060101T100000
+DURATION:PT1H
+SUMMARY:tést
+UID:54E181BC7CCC373042B28842 at ninevah.local
+ORGANIZER;CN=User 01:$cuaddralt1:
+ATTENDEE;CN=User 01;PARTSTAT=ACCEPTED:$cuaddralt1:
+ATTENDEE;CN=User 02;RSVP=TRUE:$cuaddralt2:
+END:VEVENT
+END:VCALENDAR
Modified: CalDAVTester/branches/users/cdaboo/deployment/scripts/tests/nonascii.xml
===================================================================
--- CalDAVTester/branches/users/cdaboo/deployment/scripts/tests/nonascii.xml 2009-09-16 18:21:52 UTC (rev 4545)
+++ CalDAVTester/branches/users/cdaboo/deployment/scripts/tests/nonascii.xml 2009-09-16 18:23:17 UTC (rev 4546)
@@ -374,8 +374,35 @@
</verify>
</request>
</test>
+ <test name='6'>
+ <description>POST with non-ascii data</description>
+ <request end-delete="yes">
+ <method>POST</method>
+ <header>
+ <name>Originator</name>
+ <value>$cuaddralt1:</value>
+ </header>
+ <header>
+ <name>Recipient</name>
+ <value>$cuaddralt2:</value>
+ </header>
+ <ruri>$pathprefix:/outbox/</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/nonascii/10.ics</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
</test-suite>
- <end/>
+ <end>
+ <request user="$userid2:" pswd="$pswd2:">
+ <method>DELETEALL</method>
+ <ruri>$pathprefix2:/outbox/</ruri>
+ </request>
+ </end>
</caldavtest>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20090916/a60d4b85/attachment.html>
More information about the calendarserver-changes
mailing list