[CalendarServer-changes] [326] CalDAVTester/trunk

source_changes at macosforge.org source_changes at macosforge.org
Fri Oct 27 14:12:55 PDT 2006


Revision: 326
          http://trac.macosforge.org/projects/calendarserver/changeset/326
Author:   cdaboo at apple.com
Date:     2006-10-27 14:12:54 -0700 (Fri, 27 Oct 2006)

Log Message:
-----------
Test that multi-valued text properties (e.g., CATEGORIES) are searched properly.

Modified Paths:
--------------
    CalDAVTester/trunk/Resource/reports/put/1.txt
    CalDAVTester/trunk/Resource/reports/put/2.txt
    CalDAVTester/trunk/Resource/reports/put/3.txt
    CalDAVTester/trunk/Resource/reports/put/4.txt
    CalDAVTester/trunk/Resource/reports/put/5.txt
    CalDAVTester/trunk/Resource/reports/put/6.txt
    CalDAVTester/trunk/Resource/reports/put/7.txt
    CalDAVTester/trunk/scripts/tests/reports.xml

Modified: CalDAVTester/trunk/Resource/reports/put/1.txt
===================================================================
--- CalDAVTester/trunk/Resource/reports/put/1.txt	2006-10-27 20:30:21 UTC (rev 325)
+++ CalDAVTester/trunk/Resource/reports/put/1.txt	2006-10-27 21:12:54 UTC (rev 326)
@@ -27,5 +27,6 @@
 DURATION:PT1H
 SUMMARY:event 1
 UID:54E181BC7CCC373042B28842 at ninevah.local
+CATEGORIES:cool
 END:VEVENT
 END:VCALENDAR

Modified: CalDAVTester/trunk/Resource/reports/put/2.txt
===================================================================
--- CalDAVTester/trunk/Resource/reports/put/2.txt	2006-10-27 20:30:21 UTC (rev 325)
+++ CalDAVTester/trunk/Resource/reports/put/2.txt	2006-10-27 21:12:54 UTC (rev 326)
@@ -28,5 +28,6 @@
 SUMMARY:event 2
 DESCRIPTION:Some notes
 UID:9A6519F71822CD45840C3440 at ninevah.local
+CATEGORIES:cool,hot
 END:VEVENT
 END:VCALENDAR

Modified: CalDAVTester/trunk/Resource/reports/put/3.txt
===================================================================
--- CalDAVTester/trunk/Resource/reports/put/3.txt	2006-10-27 20:30:21 UTC (rev 325)
+++ CalDAVTester/trunk/Resource/reports/put/3.txt	2006-10-27 21:12:54 UTC (rev 326)
@@ -29,5 +29,6 @@
 SEQUENCE:1
 SUMMARY:event 3
 UID:DB3F97EF10A051730E2F752E at ninevah.local
+CATEGORIES:hot
 END:VEVENT
 END:VCALENDAR

Modified: CalDAVTester/trunk/Resource/reports/put/4.txt
===================================================================
--- CalDAVTester/trunk/Resource/reports/put/4.txt	2006-10-27 20:30:21 UTC (rev 325)
+++ CalDAVTester/trunk/Resource/reports/put/4.txt	2006-10-27 21:12:54 UTC (rev 326)
@@ -27,6 +27,8 @@
 DURATION:PT1H
 SUMMARY:event 4
 UID:A3217B429B4D2FF2DC2EEE66 at ninevah.local
+CATEGORIES:cool
+CATEGORIES:hot
 BEGIN:VALARM
 ACTION:AUDIO
 TRIGGER;RELATED=START:-PT1H

Modified: CalDAVTester/trunk/Resource/reports/put/5.txt
===================================================================
--- CalDAVTester/trunk/Resource/reports/put/5.txt	2006-10-27 20:30:21 UTC (rev 325)
+++ CalDAVTester/trunk/Resource/reports/put/5.txt	2006-10-27 21:12:54 UTC (rev 326)
@@ -28,6 +28,8 @@
 RRULE:FREQ=DAILY;COUNT=5
 SUMMARY:event 5
 UID:945113826375CBB89184DC36 at ninevah.local
+CATEGORIES:cool,hot
+CATEGORIES:warm
 BEGIN:VALARM
 ACTION:AUDIO
 TRIGGER;RELATED=START:-PT10M

Modified: CalDAVTester/trunk/Resource/reports/put/6.txt
===================================================================
--- CalDAVTester/trunk/Resource/reports/put/6.txt	2006-10-27 20:30:21 UTC (rev 325)
+++ CalDAVTester/trunk/Resource/reports/put/6.txt	2006-10-27 21:12:54 UTC (rev 326)
@@ -28,6 +28,8 @@
 RRULE:FREQ=DAILY;COUNT=5
 SUMMARY:event 6
 UID:F5B811E00073B22BA6B87551 at ninevah.local
+CATEGORIES:warm,hot
+CATEGORIES:cool
 END:VEVENT
 BEGIN:VEVENT
 DTSTAMP:20051222T210507Z

Modified: CalDAVTester/trunk/Resource/reports/put/7.txt
===================================================================
--- CalDAVTester/trunk/Resource/reports/put/7.txt	2006-10-27 20:30:21 UTC (rev 325)
+++ CalDAVTester/trunk/Resource/reports/put/7.txt	2006-10-27 21:12:54 UTC (rev 326)
@@ -28,6 +28,8 @@
 RRULE:FREQ=DAILY;COUNT=5
 SUMMARY:event 7
 UID:F5B811E00073B22BA6B87562 at ninevah.local
+CATEGORIES:warm
+CATEGORIES:hot
 BEGIN:VALARM
 ACTION:AUDIO
 TRIGGER;RELATED=START:-PT10M

Modified: CalDAVTester/trunk/scripts/tests/reports.xml
===================================================================
--- CalDAVTester/trunk/scripts/tests/reports.xml	2006-10-27 20:30:21 UTC (rev 325)
+++ CalDAVTester/trunk/scripts/tests/reports.xml	2006-10-27 21:12:54 UTC (rev 326)
@@ -764,6 +764,27 @@
 				</verify>
 			</request>
 		</test>
+		<test name='19' ignore='no'>
+			<description>query for VEVENTs that contain a CATEGORY and filter by CATEGORY</description>
+			<request>
+				<method>REPORT</method>
+				<data>
+					<content-type>text/xml; charset=utf-8</content-type>
+					<filepath>Resource/reports/basicquery/13.txt</filepath>
+				</data>
+				<verify>
+					<callback>multistatusItems</callback>
+					<arg>
+						<name>okhrefs</name>
+						<value>1.ics</value>
+						<value>2.ics</value>
+						<value>4.ics</value>
+						<value>5.ics</value>
+						<value>6.ics</value>
+					</arg>
+				</verify>
+			</request>
+		</test>
 	</test-suite>
 	
 	<test-suite name='time-range query reports' ignore='no'>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20061027/9bbe0494/attachment.html


More information about the calendarserver-changes mailing list