[CalendarServer-changes] [5513] CalDAVTester/trunk

source_changes at macosforge.org source_changes at macosforge.org
Thu Apr 22 17:07:36 PDT 2010


Revision: 5513
          http://trac.macosforge.org/projects/calendarserver/changeset/5513
Author:   cdaboo at apple.com
Date:     2010-04-22 17:07:35 -0700 (Thu, 22 Apr 2010)
Log Message:
-----------
Test for ORG property with \, in it.

Modified Paths:
--------------
    CalDAVTester/trunk/scripts/tests/CardDAV/errors.xml

Added Paths:
-----------
    CalDAVTester/trunk/Resource/CardDAV/vcarderrors/7.vcf

Added: CalDAVTester/trunk/Resource/CardDAV/vcarderrors/7.vcf
===================================================================
--- CalDAVTester/trunk/Resource/CardDAV/vcarderrors/7.vcf	                        (rev 0)
+++ CalDAVTester/trunk/Resource/CardDAV/vcarderrors/7.vcf	2010-04-23 00:07:35 UTC (rev 5513)
@@ -0,0 +1,12 @@
+BEGIN:VCARD
+VERSION:3.0
+N:Thompson;Default;;;
+FN:Default Thompson
+ORG:Apple\, Inc;Server Team
+EMAIL;type=INTERNET;type=WORK;type=pref:lthompson at example.com
+TEL;type=WORK;type=pref:1-555-555-5555
+TEL;type=CELL:1-444-444-4444
+item1.ADR;type=WORK;type=pref:;;1245 Test;Sesame Street;California;11111;USA
+item1.X-ABADR:us
+UID:ED7A5AEC-AB19-4CE0-AD6A-2923A3E5C4E1:ABPerson-7
+END:VCARD

Modified: CalDAVTester/trunk/scripts/tests/CardDAV/errors.xml
===================================================================
--- CalDAVTester/trunk/scripts/tests/CardDAV/errors.xml	2010-04-23 00:07:23 UTC (rev 5512)
+++ CalDAVTester/trunk/scripts/tests/CardDAV/errors.xml	2010-04-23 00:07:35 UTC (rev 5513)
@@ -168,6 +168,23 @@
 				</verify>
 			</request>
 		</test>
+		<test name='7'>
+			<description>ORG \, value</description>
+			<request end-delete="yes">
+				<method>PUT</method>
+				<ruri>$addressbookpath1:/7.vcf</ruri>
+				<data>
+					<content-type>text/vcard; charset=utf-8</content-type>
+					<filepath>Resource/CardDAV/vcarderrors/7.vcf</filepath>
+				</data>
+				<verify>
+					<callback>statusCode</callback>
+					<arg>
+						<name>status</name>
+					</arg>
+				</verify>
+			</request>
+		</test>
 
 	</test-suite>
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100422/dc2dd277/attachment.html>


More information about the calendarserver-changes mailing list