[CalendarServer-changes] [4732] CalDAVTester/trunk

source_changes at macosforge.org source_changes at macosforge.org
Tue Nov 10 11:49:10 PST 2009


Revision: 4732
          http://trac.macosforge.org/projects/calendarserver/changeset/4732
Author:   cdaboo at apple.com
Date:     2009-11-10 11:49:09 -0800 (Tue, 10 Nov 2009)
Log Message:
-----------
Additional test for non-ascii data in a POST.

Modified Paths:
--------------
    CalDAVTester/trunk/scripts/tests/nonascii.xml

Added Paths:
-----------
    CalDAVTester/trunk/Resource/nonascii/12.ics

Added: CalDAVTester/trunk/Resource/nonascii/12.ics
===================================================================
--- CalDAVTester/trunk/Resource/nonascii/12.ics	                        (rev 0)
+++ CalDAVTester/trunk/Resource/nonascii/12.ics	2009-11-10 19:49:09 UTC (rev 4732)
@@ -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/trunk/scripts/tests/nonascii.xml
===================================================================
--- CalDAVTester/trunk/scripts/tests/nonascii.xml	2009-11-10 01:01:01 UTC (rev 4731)
+++ CalDAVTester/trunk/scripts/tests/nonascii.xml	2009-11-10 19:49:09 UTC (rev 4732)
@@ -499,6 +499,28 @@
 
 	<test-suite name="POSTs" ignore='no'>
 		<test name='1'>
+			<description>POST with utf-8 data</description>
+			<request print-response='no'>
+				<method>POST</method>
+				<header>
+					<name>Originator</name>
+					<value>$cuaddralt1:</value>
+				</header>
+				<header>
+					<name>Recipient</name>
+					<value>$cuaddralt2:</value>
+				</header>
+				<ruri>$outboxpath1:/</ruri>
+				<data>
+					<content-type>text/calendar; charset=utf-8</content-type>
+					<filepath>Resource/nonascii/12.ics</filepath>
+				</data>
+				<verify>
+					<callback>statusCode</callback>
+				</verify>
+			</request>
+		</test>
+		<test name='2'>
 			<description>POST with non-utf-8 data</description>
 			<request print-response='no'>
 				<method>POST</method>
@@ -519,6 +541,11 @@
 		</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/20091110/81d3bad0/attachment.html>


More information about the calendarserver-changes mailing list