[CalendarServer-changes] [2096]
CalDAVTester/branches/users/cdaboo/private_events-2082
source_changes at macosforge.org
source_changes at macosforge.org
Tue Jan 8 13:33:00 PST 2008
Revision: 2096
http://trac.macosforge.org/projects/calendarserver/changeset/2096
Author: cdaboo at apple.com
Date: 2008-01-08 13:32:58 -0800 (Tue, 08 Jan 2008)
Log Message:
-----------
Filtering of data on REPORT for X-CALENDARSERVER-ACCESS.
Modified Paths:
--------------
CalDAVTester/branches/users/cdaboo/private_events-2082/scripts/tests/privateevents.xml
Added Paths:
-----------
CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/14.xml
CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/15.xml
CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/16.xml
CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/17.xml
CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/18.xml
CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/19.xml
CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/20.xml
CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/21.xml
CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/22.xml
CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/23.xml
CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/24.xml
CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/25.xml
Added: CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/14.xml
===================================================================
--- CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/14.xml (rev 0)
+++ CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/14.xml 2008-01-08 21:32:58 UTC (rev 2096)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<C:calendar-multiget xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
+<D:prop>
+<D:getetag/>
+</D:prop>
+<D:href>$pathprefix:/sharedcalendar/1.ics</D:href>
+<D:href>$pathprefix:/sharedcalendar/2.ics</D:href>
+<D:href>$pathprefix:/sharedcalendar/3.ics</D:href>
+<D:href>$pathprefix:/sharedcalendar/4.ics</D:href>
+<D:href>$pathprefix:/sharedcalendar/5.ics</D:href>
+</C:calendar-multiget>
Added: CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/15.xml
===================================================================
--- CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/15.xml (rev 0)
+++ CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/15.xml 2008-01-08 21:32:58 UTC (rev 2096)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<C:calendar-multiget xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
+<D:prop>
+<D:getetag/>
+<C:calendar-data/>
+</D:prop>
+<D:href>$pathprefix:/sharedcalendar/2.ics</D:href>
+</C:calendar-multiget>
Added: CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/16.xml
===================================================================
--- CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/16.xml (rev 0)
+++ CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/16.xml 2008-01-08 21:32:58 UTC (rev 2096)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<C:calendar-multiget xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
+<D:prop>
+<D:getetag/>
+<C:calendar-data/>
+</D:prop>
+<D:href>$pathprefix:/sharedcalendar/4.ics</D:href>
+</C:calendar-multiget>
Added: CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/17.xml
===================================================================
--- CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/17.xml (rev 0)
+++ CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/17.xml 2008-01-08 21:32:58 UTC (rev 2096)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<C:calendar-multiget xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
+<D:prop>
+<D:getetag/>
+<C:calendar-data/>
+</D:prop>
+<D:href>$pathprefix:/sharedcalendar/5.ics</D:href>
+</C:calendar-multiget>
Added: CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/18.xml
===================================================================
--- CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/18.xml (rev 0)
+++ CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/18.xml 2008-01-08 21:32:58 UTC (rev 2096)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<C:calendar-multiget xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
+<D:prop>
+<D:getetag/>
+<C:calendar-data>
+<C:comp name="VCALENDAR">
+<C:allprop/>
+<C:comp name="VEVENT">
+<C:prop name="UID"/>
+<C:prop name="SUMMARY"/>
+<C:prop name="LOCATION"/>
+<C:prop name="ORGANIZER"/>
+<C:prop name="ATTENDEE"/>
+<C:allcomp/>
+</C:comp>
+</C:comp>
+</C:calendar-data>
+</D:prop>
+<D:href>$pathprefix:/sharedcalendar/4.ics</D:href>
+</C:calendar-multiget>
Added: CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/19.xml
===================================================================
--- CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/19.xml (rev 0)
+++ CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/19.xml 2008-01-08 21:32:58 UTC (rev 2096)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<C:calendar-multiget xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
+<D:prop>
+<D:getetag/>
+<C:calendar-data>
+<C:comp name="VCALENDAR">
+<C:allprop/>
+<C:comp name="VEVENT">
+<C:prop name="UID"/>
+<C:prop name="SUMMARY"/>
+<C:prop name="LOCATION"/>
+<C:prop name="ORGANIZER"/>
+<C:prop name="ATTENDEE"/>
+<C:allcomp/>
+</C:comp>
+</C:comp>
+</C:calendar-data>
+</D:prop>
+<D:href>$pathprefix:/sharedcalendar/5.ics</D:href>
+</C:calendar-multiget>
Added: CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/20.xml
===================================================================
--- CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/20.xml (rev 0)
+++ CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/20.xml 2008-01-08 21:32:58 UTC (rev 2096)
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<C:calendar-query xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
+<D:prop>
+<D:getetag/>
+</D:prop>
+<C:filter>
+<C:comp-filter name="VCALENDAR">
+<C:comp-filter name="VEVENT">
+<C:prop-filter name="SUMMARY">
+<C:text-match>event</C:text-match>
+</C:prop-filter>
+</C:comp-filter>
+</C:comp-filter>
+</C:filter>
+</C:calendar-query>
Added: CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/21.xml
===================================================================
--- CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/21.xml (rev 0)
+++ CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/21.xml 2008-01-08 21:32:58 UTC (rev 2096)
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<C:calendar-query xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
+<D:prop>
+<D:getetag/>
+<C:calendar-data/>
+</D:prop>
+<C:filter>
+<C:comp-filter name="VCALENDAR">
+<C:prop-filter name="X-CALENDARSERVER-ACCESS">
+<C:text-match>PUBLIC</C:text-match>
+</C:prop-filter>
+</C:comp-filter>
+</C:filter>
+</C:calendar-query>
Added: CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/22.xml
===================================================================
--- CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/22.xml (rev 0)
+++ CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/22.xml 2008-01-08 21:32:58 UTC (rev 2096)
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<C:calendar-query xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
+<D:prop>
+<D:getetag/>
+<C:calendar-data/>
+</D:prop>
+<C:filter>
+<C:comp-filter name="VCALENDAR">
+<C:prop-filter name="X-CALENDARSERVER-ACCESS">
+<C:text-match>CONFIDENTIAL</C:text-match>
+</C:prop-filter>
+</C:comp-filter>
+</C:filter>
+</C:calendar-query>
Added: CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/23.xml
===================================================================
--- CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/23.xml (rev 0)
+++ CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/23.xml 2008-01-08 21:32:58 UTC (rev 2096)
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<C:calendar-query xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
+<D:prop>
+<D:getetag/>
+<C:calendar-data/>
+</D:prop>
+<C:filter>
+<C:comp-filter name="VCALENDAR">
+<C:prop-filter name="X-CALENDARSERVER-ACCESS">
+<C:text-match>RESTRICTED</C:text-match>
+</C:prop-filter>
+</C:comp-filter>
+</C:filter>
+</C:calendar-query>
Added: CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/24.xml
===================================================================
--- CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/24.xml (rev 0)
+++ CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/24.xml 2008-01-08 21:32:58 UTC (rev 2096)
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<C:calendar-query xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
+<D:prop>
+<D:getetag/>
+<C:calendar-data>
+<C:comp name="VCALENDAR">
+<C:allprop/>
+<C:comp name="VEVENT">
+<C:prop name="UID"/>
+<C:prop name="SUMMARY"/>
+<C:prop name="LOCATION"/>
+<C:prop name="ORGANIZER"/>
+<C:prop name="ATTENDEE"/>
+<C:allcomp/>
+</C:comp>
+</C:comp>
+</C:calendar-data>
+</D:prop>
+<C:filter>
+<C:comp-filter name="VCALENDAR">
+<C:prop-filter name="X-CALENDARSERVER-ACCESS">
+<C:text-match>CONFIDENTIAL</C:text-match>
+</C:prop-filter>
+</C:comp-filter>
+</C:filter>
+</C:calendar-query>
Added: CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/25.xml
===================================================================
--- CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/25.xml (rev 0)
+++ CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/25.xml 2008-01-08 21:32:58 UTC (rev 2096)
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<C:calendar-query xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
+<D:prop>
+<D:getetag/>
+<C:calendar-data>
+<C:comp name="VCALENDAR">
+<C:allprop/>
+<C:comp name="VEVENT">
+<C:prop name="UID"/>
+<C:prop name="SUMMARY"/>
+<C:prop name="LOCATION"/>
+<C:prop name="ORGANIZER"/>
+<C:prop name="ATTENDEE"/>
+<C:allcomp/>
+</C:comp>
+</C:comp>
+</C:calendar-data>
+</D:prop>
+<C:filter>
+<C:comp-filter name="VCALENDAR">
+<C:prop-filter name="X-CALENDARSERVER-ACCESS">
+<C:text-match>RESTRICTED</C:text-match>
+</C:prop-filter>
+</C:comp-filter>
+</C:filter>
+</C:calendar-query>
Modified: CalDAVTester/branches/users/cdaboo/private_events-2082/scripts/tests/privateevents.xml
===================================================================
--- CalDAVTester/branches/users/cdaboo/private_events-2082/scripts/tests/privateevents.xml 2008-01-08 21:30:35 UTC (rev 2095)
+++ CalDAVTester/branches/users/cdaboo/private_events-2082/scripts/tests/privateevents.xml 2008-01-08 21:32:58 UTC (rev 2096)
@@ -1623,6 +1623,970 @@
</test>
</test-suite>
+ <test-suite name='multiget href tests' ignore='no'>
+ <test name='1'>
+ <description>multiget by user01</description>
+ <request print-response="no">
+ <method>REPORT</method>
+ <ruri>$pathprefix:/sharedcalendar/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/privateevents/14.xml</filepath>
+ </data>
+ <verify>
+ <callback>multistatusItems</callback>
+ <arg>
+ <name>okhrefs</name>
+ <value>1.ics</value>
+ <value>2.ics</value>
+ <value>3.ics</value>
+ <value>4.ics</value>
+ <value>5.ics</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='2'>
+ <description>multiget by user02</description>
+ <request user="$userid2:" pswd="$pswd2:" print-response="no">
+ <method>REPORT</method>
+ <ruri>$pathprefix:/sharedcalendar/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/privateevents/14.xml</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>
+ </arg>
+ <arg>
+ <name>badhrefs</name>
+ <value>3.ics</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='3'>
+ <description>multiget by user03</description>
+ <request user="$userid3:" pswd="$pswd3:" print-response="no">
+ <method>REPORT</method>
+ <ruri>$pathprefix:/sharedcalendar/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/privateevents/14.xml</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>
+ </arg>
+ <arg>
+ <name>badhrefs</name>
+ <value>3.ics</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <test-suite name='multiget PUBLIC tests' ignore='no'>
+ <test name='1'>
+ <description>multiget by user01</description>
+ <request print-response="no">
+ <method>REPORT</method>
+ <ruri>$pathprefix:/sharedcalendar/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/privateevents/15.xml</filepath>
+ </data>
+ <verify>
+ <callback>dataString</callback>
+ <arg>
+ <name>contains</name>
+ <value>X-CALENDARSERVER-ACCESS:PUBLIC</value>
+ <value>VERSION:2.0</value>
+ <value>DTSTART;TZID=US/Eastern:20060101T100000</value>
+ <value>SUMMARY:event public access</value>
+ <value>BEGIN:VALARM</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='2'>
+ <description>multiget by user02</description>
+ <request user="$userid2:" pswd="$pswd2:" print-response="no">
+ <method>REPORT</method>
+ <ruri>$pathprefix:/sharedcalendar/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/privateevents/15.xml</filepath>
+ </data>
+ <verify>
+ <callback>dataString</callback>
+ <arg>
+ <name>contains</name>
+ <value>X-CALENDARSERVER-ACCESS:PUBLIC</value>
+ <value>VERSION:2.0</value>
+ <value>DTSTART;TZID=US/Eastern:20060101T100000</value>
+ <value>SUMMARY:event public access</value>
+ <value>BEGIN:VALARM</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='3'>
+ <description>multiget by user03</description>
+ <request user="$userid3:" pswd="$pswd3:" print-response="no">
+ <method>REPORT</method>
+ <ruri>$pathprefix:/sharedcalendar/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/privateevents/15.xml</filepath>
+ </data>
+ <verify>
+ <callback>dataString</callback>
+ <arg>
+ <name>contains</name>
+ <value>X-CALENDARSERVER-ACCESS:PUBLIC</value>
+ <value>VERSION:2.0</value>
+ <value>DTSTART;TZID=US/Eastern:20060101T100000</value>
+ <value>SUMMARY:event public access</value>
+ <value>BEGIN:VALARM</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <test-suite name='multiget CONFIDENTIAL all data tests' ignore='no'>
+ <test name='1'>
+ <description>multiget by user01</description>
+ <request print-response="no">
+ <method>REPORT</method>
+ <ruri>$pathprefix:/sharedcalendar/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/privateevents/16.xml</filepath>
+ </data>
+ <verify>
+ <callback>dataString</callback>
+ <arg>
+ <name>contains</name>
+ <value>X-CALENDARSERVER-ACCESS:CONFIDENTIAL</value>
+ <value>VERSION:2.0</value>
+ <value>DTSTART;TZID=US/Eastern:20060101T100000</value>
+ <value>SUMMARY:event confidential access 2</value>
+ <value>LOCATION:confidential 2</value>
+ <value>ORGANIZER:mailto:user01 at example.com</value>
+ <value>ATTENDEE:mailto:user02 at example.com</value>
+ <value>BEGIN:VALARM</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='2'>
+ <description>multiget by user02</description>
+ <request user="$userid2:" pswd="$pswd2:" print-response="no">
+ <method>REPORT</method>
+ <ruri>$pathprefix:/sharedcalendar/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/privateevents/16.xml</filepath>
+ </data>
+ <verify>
+ <callback>dataString</callback>
+ <arg>
+ <name>contains</name>
+ <value>X-CALENDARSERVER-ACCESS:CONFIDENTIAL</value>
+ <value>VERSION:2.0</value>
+ <value>DTSTART;TZID=US/Eastern:20060101T100000</value>
+ </arg>
+ <arg>
+ <name>notcontains</name>
+ <value>SUMMARY:event confidential access 2</value>
+ <value>LOCATION:confidential 2</value>
+ <value>ORGANIZER:mailto:user01 at example.com</value>
+ <value>ATTENDEE:mailto:user02 at example.com</value>
+ <value>BEGIN:VALARM</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='3'>
+ <description>multiget by user03</description>
+ <request user="$userid3:" pswd="$pswd3:" print-response="no">
+ <method>REPORT</method>
+ <ruri>$pathprefix:/sharedcalendar/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/privateevents/16.xml</filepath>
+ </data>
+ <verify>
+ <callback>dataString</callback>
+ <arg>
+ <name>contains</name>
+ <value>X-CALENDARSERVER-ACCESS:CONFIDENTIAL</value>
+ <value>VERSION:2.0</value>
+ <value>DTSTART;TZID=US/Eastern:20060101T100000</value>
+ </arg>
+ <arg>
+ <name>notcontains</name>
+ <value>SUMMARY:event confidential access 2</value>
+ <value>LOCATION:confidential 2</value>
+ <value>ORGANIZER:mailto:user01 at example.com</value>
+ <value>ATTENDEE:mailto:user02 at example.com</value>
+ <value>BEGIN:VALARM</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <test-suite name='multiget RESTRICTED all data tests' ignore='no'>
+ <test name='1'>
+ <description>multiget by user01</description>
+ <request print-response="no">
+ <method>REPORT</method>
+ <ruri>$pathprefix:/sharedcalendar/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/privateevents/17.xml</filepath>
+ </data>
+ <verify>
+ <callback>dataString</callback>
+ <arg>
+ <name>contains</name>
+ <value>X-CALENDARSERVER-ACCESS:RESTRICTED</value>
+ <value>VERSION:2.0</value>
+ <value>DTSTART;TZID=US/Eastern:20060101T100000</value>
+ <value>SUMMARY:event restricted access 2</value>
+ <value>LOCATION:restricted 2</value>
+ <value>ORGANIZER:mailto:user01 at example.com</value>
+ <value>ATTENDEE:mailto:user02 at example.com</value>
+ <value>BEGIN:VALARM</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='2'>
+ <description>multiget by user02</description>
+ <request user="$userid2:" pswd="$pswd2:" print-response="no">
+ <method>REPORT</method>
+ <ruri>$pathprefix:/sharedcalendar/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/privateevents/17.xml</filepath>
+ </data>
+ <verify>
+ <callback>dataString</callback>
+ <arg>
+ <name>contains</name>
+ <value>X-CALENDARSERVER-ACCESS:RESTRICTED</value>
+ <value>VERSION:2.0</value>
+ <value>DTSTART;TZID=US/Eastern:20060101T100000</value>
+ <value>SUMMARY:event restricted access 2</value>
+ <value>LOCATION:restricted 2</value>
+ </arg>
+ <arg>
+ <name>notcontains</name>
+ <value>ORGANIZER:mailto:user01 at example.com</value>
+ <value>ATTENDEE:mailto:user02 at example.com</value>
+ <value>BEGIN:VALARM</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='3'>
+ <description>multiget by user03</description>
+ <request user="$userid3:" pswd="$pswd3:" print-response="no">
+ <method>REPORT</method>
+ <ruri>$pathprefix:/sharedcalendar/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/privateevents/17.xml</filepath>
+ </data>
+ <verify>
+ <callback>dataString</callback>
+ <arg>
+ <name>contains</name>
+ <value>X-CALENDARSERVER-ACCESS:RESTRICTED</value>
+ <value>VERSION:2.0</value>
+ <value>DTSTART;TZID=US/Eastern:20060101T100000</value>
+ <value>SUMMARY:event restricted access 2</value>
+ <value>LOCATION:restricted 2</value>
+ </arg>
+ <arg>
+ <name>notcontains</name>
+ <value>ORGANIZER:mailto:user01 at example.com</value>
+ <value>ATTENDEE:mailto:user02 at example.com</value>
+ <value>BEGIN:VALARM</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <test-suite name='multiget CONFIDENTIAL partial data tests' ignore='no'>
+ <test name='1'>
+ <description>multiget by user01</description>
+ <request print-response="no">
+ <method>REPORT</method>
+ <ruri>$pathprefix:/sharedcalendar/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/privateevents/18.xml</filepath>
+ </data>
+ <verify>
+ <callback>dataString</callback>
+ <arg>
+ <name>contains</name>
+ <value>X-CALENDARSERVER-ACCESS:CONFIDENTIAL</value>
+ <value>VERSION:2.0</value>
+ <value>SUMMARY:event confidential access 2</value>
+ <value>LOCATION:confidential 2</value>
+ <value>ORGANIZER:mailto:user01 at example.com</value>
+ <value>ATTENDEE:mailto:user02 at example.com</value>
+ <value>BEGIN:VALARM</value>
+ </arg>
+ <arg>
+ <name>notcontains</name>
+ <value>DTSTART;TZID=US/Eastern:20060101T100000</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='2'>
+ <description>multiget by user02</description>
+ <request user="$userid2:" pswd="$pswd2:" print-response="no">
+ <method>REPORT</method>
+ <ruri>$pathprefix:/sharedcalendar/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/privateevents/18.xml</filepath>
+ </data>
+ <verify>
+ <callback>dataString</callback>
+ <arg>
+ <name>contains</name>
+ <value>X-CALENDARSERVER-ACCESS:CONFIDENTIAL</value>
+ <value>VERSION:2.0</value>
+ </arg>
+ <arg>
+ <name>notcontains</name>
+ <value>DTSTART;TZID=US/Eastern:20060101T100000</value>
+ <value>SUMMARY:event confidential access 2</value>
+ <value>LOCATION:confidential 2</value>
+ <value>ORGANIZER:mailto:user01 at example.com</value>
+ <value>ATTENDEE:mailto:user02 at example.com</value>
+ <value>BEGIN:VALARM</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='3'>
+ <description>multiget by user03</description>
+ <request user="$userid3:" pswd="$pswd3:" print-response="no">
+ <method>REPORT</method>
+ <ruri>$pathprefix:/sharedcalendar/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/privateevents/18.xml</filepath>
+ </data>
+ <verify>
+ <callback>dataString</callback>
+ <arg>
+ <name>contains</name>
+ <value>X-CALENDARSERVER-ACCESS:CONFIDENTIAL</value>
+ <value>VERSION:2.0</value>
+ </arg>
+ <arg>
+ <name>notcontains</name>
+ <value>DTSTART;TZID=US/Eastern:20060101T100000</value>
+ <value>SUMMARY:event confidential access 2</value>
+ <value>LOCATION:confidential 2</value>
+ <value>ORGANIZER:mailto:user01 at example.com</value>
+ <value>ATTENDEE:mailto:user02 at example.com</value>
+ <value>BEGIN:VALARM</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <test-suite name='multiget RESTRICTED partial data tests' ignore='no'>
+ <test name='1'>
+ <description>multiget by user01</description>
+ <request print-response="no">
+ <method>REPORT</method>
+ <ruri>$pathprefix:/sharedcalendar/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/privateevents/19.xml</filepath>
+ </data>
+ <verify>
+ <callback>dataString</callback>
+ <arg>
+ <name>contains</name>
+ <value>X-CALENDARSERVER-ACCESS:RESTRICTED</value>
+ <value>VERSION:2.0</value>
+ <value>SUMMARY:event restricted access 2</value>
+ <value>LOCATION:restricted 2</value>
+ <value>ORGANIZER:mailto:user01 at example.com</value>
+ <value>ATTENDEE:mailto:user02 at example.com</value>
+ <value>BEGIN:VALARM</value>
+ </arg>
+ <arg>
+ <name>notcontains</name>
+ <value>DTSTART;TZID=US/Eastern:20060101T100000</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='2'>
+ <description>multiget by user02</description>
+ <request user="$userid2:" pswd="$pswd2:" print-response="no">
+ <method>REPORT</method>
+ <ruri>$pathprefix:/sharedcalendar/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/privateevents/19.xml</filepath>
+ </data>
+ <verify>
+ <callback>dataString</callback>
+ <arg>
+ <name>contains</name>
+ <value>X-CALENDARSERVER-ACCESS:RESTRICTED</value>
+ <value>VERSION:2.0</value>
+ <value>SUMMARY:event restricted access 2</value>
+ <value>LOCATION:restricted 2</value>
+ </arg>
+ <arg>
+ <name>notcontains</name>
+ <value>DTSTART;TZID=US/Eastern:20060101T100000</value>
+ <value>ORGANIZER:mailto:user01 at example.com</value>
+ <value>ATTENDEE:mailto:user02 at example.com</value>
+ <value>BEGIN:VALARM</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='3'>
+ <description>multiget by user03</description>
+ <request user="$userid3:" pswd="$pswd3:" print-response="no">
+ <method>REPORT</method>
+ <ruri>$pathprefix:/sharedcalendar/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/privateevents/19.xml</filepath>
+ </data>
+ <verify>
+ <callback>dataString</callback>
+ <arg>
+ <name>contains</name>
+ <value>X-CALENDARSERVER-ACCESS:RESTRICTED</value>
+ <value>VERSION:2.0</value>
+ <value>SUMMARY:event restricted access 2</value>
+ <value>LOCATION:restricted 2</value>
+ </arg>
+ <arg>
+ <name>notcontains</name>
+ <value>DTSTART;TZID=US/Eastern:20060101T100000</value>
+ <value>ORGANIZER:mailto:user01 at example.com</value>
+ <value>ATTENDEE:mailto:user02 at example.com</value>
+ <value>BEGIN:VALARM</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <test-suite name='query href tests' ignore='no'>
+ <test name='1'>
+ <description>query by user01</description>
+ <request print-response="no">
+ <method>REPORT</method>
+ <ruri>$pathprefix:/sharedcalendar/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/privateevents/20.xml</filepath>
+ </data>
+ <verify>
+ <callback>multistatusItems</callback>
+ <arg>
+ <name>okhrefs</name>
+ <value>1.ics</value>
+ <value>2.ics</value>
+ <value>3.ics</value>
+ <value>4.ics</value>
+ <value>5.ics</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='2'>
+ <description>query by user02</description>
+ <request user="$userid2:" pswd="$pswd2:" print-response="no">
+ <method>REPORT</method>
+ <ruri>$pathprefix:/sharedcalendar/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/privateevents/20.xml</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>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='3'>
+ <description>query by user03</description>
+ <request user="$userid3:" pswd="$pswd3:" print-response="no">
+ <method>REPORT</method>
+ <ruri>$pathprefix:/sharedcalendar/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/privateevents/20.xml</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>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <test-suite name='query PUBLIC tests' ignore='no'>
+ <test name='1'>
+ <description>query by user01</description>
+ <request print-response="yes">
+ <method>REPORT</method>
+ <ruri>$pathprefix:/sharedcalendar/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/privateevents/21.xml</filepath>
+ </data>
+ <verify>
+ <callback>dataString</callback>
+ <arg>
+ <name>contains</name>
+ <value>X-CALENDARSERVER-ACCESS:PUBLIC</value>
+ <value>VERSION:2.0</value>
+ <value>DTSTART;TZID=US/Eastern:20060101T100000</value>
+ <value>SUMMARY:event public access</value>
+ <value>BEGIN:VALARM</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='2'>
+ <description>query by user02</description>
+ <request user="$userid2:" pswd="$pswd2:" print-response="no">
+ <method>REPORT</method>
+ <ruri>$pathprefix:/sharedcalendar/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/privateevents/21.xml</filepath>
+ </data>
+ <verify>
+ <callback>dataString</callback>
+ <arg>
+ <name>contains</name>
+ <value>X-CALENDARSERVER-ACCESS:PUBLIC</value>
+ <value>VERSION:2.0</value>
+ <value>DTSTART;TZID=US/Eastern:20060101T100000</value>
+ <value>SUMMARY:event public access</value>
+ <value>BEGIN:VALARM</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='3'>
+ <description>query by user03</description>
+ <request user="$userid3:" pswd="$pswd3:" print-response="no">
+ <method>REPORT</method>
+ <ruri>$pathprefix:/sharedcalendar/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/privateevents/21.xml</filepath>
+ </data>
+ <verify>
+ <callback>dataString</callback>
+ <arg>
+ <name>contains</name>
+ <value>X-CALENDARSERVER-ACCESS:PUBLIC</value>
+ <value>VERSION:2.0</value>
+ <value>DTSTART;TZID=US/Eastern:20060101T100000</value>
+ <value>SUMMARY:event public access</value>
+ <value>BEGIN:VALARM</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <test-suite name='query CONFIDENTIAL all data tests' ignore='no'>
+ <test name='1'>
+ <description>query by user01</description>
+ <request print-response="no">
+ <method>REPORT</method>
+ <ruri>$pathprefix:/sharedcalendar/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/privateevents/22.xml</filepath>
+ </data>
+ <verify>
+ <callback>dataString</callback>
+ <arg>
+ <name>contains</name>
+ <value>X-CALENDARSERVER-ACCESS:CONFIDENTIAL</value>
+ <value>VERSION:2.0</value>
+ <value>DTSTART;TZID=US/Eastern:20060101T100000</value>
+ <value>SUMMARY:event confidential access 2</value>
+ <value>LOCATION:confidential 2</value>
+ <value>ORGANIZER:mailto:user01 at example.com</value>
+ <value>ATTENDEE:mailto:user02 at example.com</value>
+ <value>BEGIN:VALARM</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='2'>
+ <description>query by user02</description>
+ <request user="$userid2:" pswd="$pswd2:" print-response="no">
+ <method>REPORT</method>
+ <ruri>$pathprefix:/sharedcalendar/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/privateevents/22.xml</filepath>
+ </data>
+ <verify>
+ <callback>dataString</callback>
+ <arg>
+ <name>contains</name>
+ <value>X-CALENDARSERVER-ACCESS:CONFIDENTIAL</value>
+ <value>VERSION:2.0</value>
+ <value>DTSTART;TZID=US/Eastern:20060101T100000</value>
+ </arg>
+ <arg>
+ <name>notcontains</name>
+ <value>SUMMARY:event confidential access 2</value>
+ <value>LOCATION:confidential 2</value>
+ <value>ORGANIZER:mailto:user01 at example.com</value>
+ <value>ATTENDEE:mailto:user02 at example.com</value>
+ <value>BEGIN:VALARM</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='3'>
+ <description>query by user03</description>
+ <request user="$userid3:" pswd="$pswd3:" print-response="no">
+ <method>REPORT</method>
+ <ruri>$pathprefix:/sharedcalendar/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/privateevents/22.xml</filepath>
+ </data>
+ <verify>
+ <callback>dataString</callback>
+ <arg>
+ <name>contains</name>
+ <value>X-CALENDARSERVER-ACCESS:CONFIDENTIAL</value>
+ <value>VERSION:2.0</value>
+ <value>DTSTART;TZID=US/Eastern:20060101T100000</value>
+ </arg>
+ <arg>
+ <name>notcontains</name>
+ <value>SUMMARY:event confidential access 2</value>
+ <value>LOCATION:confidential 2</value>
+ <value>ORGANIZER:mailto:user01 at example.com</value>
+ <value>ATTENDEE:mailto:user02 at example.com</value>
+ <value>BEGIN:VALARM</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <test-suite name='query RESTRICTED all data tests' ignore='no'>
+ <test name='1'>
+ <description>query by user01</description>
+ <request print-response="no">
+ <method>REPORT</method>
+ <ruri>$pathprefix:/sharedcalendar/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/privateevents/23.xml</filepath>
+ </data>
+ <verify>
+ <callback>dataString</callback>
+ <arg>
+ <name>contains</name>
+ <value>X-CALENDARSERVER-ACCESS:RESTRICTED</value>
+ <value>VERSION:2.0</value>
+ <value>DTSTART;TZID=US/Eastern:20060101T100000</value>
+ <value>SUMMARY:event restricted access 2</value>
+ <value>LOCATION:restricted 2</value>
+ <value>ORGANIZER:mailto:user01 at example.com</value>
+ <value>ATTENDEE:mailto:user02 at example.com</value>
+ <value>BEGIN:VALARM</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='2'>
+ <description>query by user02</description>
+ <request user="$userid2:" pswd="$pswd2:" print-response="no">
+ <method>REPORT</method>
+ <ruri>$pathprefix:/sharedcalendar/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/privateevents/23.xml</filepath>
+ </data>
+ <verify>
+ <callback>dataString</callback>
+ <arg>
+ <name>contains</name>
+ <value>X-CALENDARSERVER-ACCESS:RESTRICTED</value>
+ <value>VERSION:2.0</value>
+ <value>DTSTART;TZID=US/Eastern:20060101T100000</value>
+ <value>SUMMARY:event restricted access 2</value>
+ <value>LOCATION:restricted 2</value>
+ </arg>
+ <arg>
+ <name>notcontains</name>
+ <value>ORGANIZER:mailto:user01 at example.com</value>
+ <value>ATTENDEE:mailto:user02 at example.com</value>
+ <value>BEGIN:VALARM</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='3'>
+ <description>query by user03</description>
+ <request user="$userid3:" pswd="$pswd3:" print-response="no">
+ <method>REPORT</method>
+ <ruri>$pathprefix:/sharedcalendar/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/privateevents/23.xml</filepath>
+ </data>
+ <verify>
+ <callback>dataString</callback>
+ <arg>
+ <name>contains</name>
+ <value>X-CALENDARSERVER-ACCESS:RESTRICTED</value>
+ <value>VERSION:2.0</value>
+ <value>DTSTART;TZID=US/Eastern:20060101T100000</value>
+ <value>SUMMARY:event restricted access 2</value>
+ <value>LOCATION:restricted 2</value>
+ </arg>
+ <arg>
+ <name>notcontains</name>
+ <value>ORGANIZER:mailto:user01 at example.com</value>
+ <value>ATTENDEE:mailto:user02 at example.com</value>
+ <value>BEGIN:VALARM</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <test-suite name='query CONFIDENTIAL partial data tests' ignore='no'>
+ <test name='1'>
+ <description>query by user01</description>
+ <request print-response="no">
+ <method>REPORT</method>
+ <ruri>$pathprefix:/sharedcalendar/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/privateevents/24.xml</filepath>
+ </data>
+ <verify>
+ <callback>dataString</callback>
+ <arg>
+ <name>contains</name>
+ <value>X-CALENDARSERVER-ACCESS:CONFIDENTIAL</value>
+ <value>VERSION:2.0</value>
+ <value>SUMMARY:event confidential access 2</value>
+ <value>LOCATION:confidential 2</value>
+ <value>ORGANIZER:mailto:user01 at example.com</value>
+ <value>ATTENDEE:mailto:user02 at example.com</value>
+ <value>BEGIN:VALARM</value>
+ </arg>
+ <arg>
+ <name>notcontains</name>
+ <value>DTSTART;TZID=US/Eastern:20060101T100000</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='2'>
+ <description>query by user02</description>
+ <request user="$userid2:" pswd="$pswd2:" print-response="no">
+ <method>REPORT</method>
+ <ruri>$pathprefix:/sharedcalendar/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/privateevents/24.xml</filepath>
+ </data>
+ <verify>
+ <callback>dataString</callback>
+ <arg>
+ <name>contains</name>
+ <value>X-CALENDARSERVER-ACCESS:CONFIDENTIAL</value>
+ <value>VERSION:2.0</value>
+ </arg>
+ <arg>
+ <name>notcontains</name>
+ <value>DTSTART;TZID=US/Eastern:20060101T100000</value>
+ <value>SUMMARY:event confidential access 2</value>
+ <value>LOCATION:confidential 2</value>
+ <value>ORGANIZER:mailto:user01 at example.com</value>
+ <value>ATTENDEE:mailto:user02 at example.com</value>
+ <value>BEGIN:VALARM</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='3'>
+ <description>query by user03</description>
+ <request user="$userid3:" pswd="$pswd3:" print-response="no">
+ <method>REPORT</method>
+ <ruri>$pathprefix:/sharedcalendar/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/privateevents/24.xml</filepath>
+ </data>
+ <verify>
+ <callback>dataString</callback>
+ <arg>
+ <name>contains</name>
+ <value>X-CALENDARSERVER-ACCESS:CONFIDENTIAL</value>
+ <value>VERSION:2.0</value>
+ </arg>
+ <arg>
+ <name>notcontains</name>
+ <value>DTSTART;TZID=US/Eastern:20060101T100000</value>
+ <value>SUMMARY:event confidential access 2</value>
+ <value>LOCATION:confidential 2</value>
+ <value>ORGANIZER:mailto:user01 at example.com</value>
+ <value>ATTENDEE:mailto:user02 at example.com</value>
+ <value>BEGIN:VALARM</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <test-suite name='query RESTRICTED partial data tests' ignore='no'>
+ <test name='1'>
+ <description>query by user01</description>
+ <request print-response="no">
+ <method>REPORT</method>
+ <ruri>$pathprefix:/sharedcalendar/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/privateevents/25.xml</filepath>
+ </data>
+ <verify>
+ <callback>dataString</callback>
+ <arg>
+ <name>contains</name>
+ <value>X-CALENDARSERVER-ACCESS:RESTRICTED</value>
+ <value>VERSION:2.0</value>
+ <value>SUMMARY:event restricted access 2</value>
+ <value>LOCATION:restricted 2</value>
+ <value>ORGANIZER:mailto:user01 at example.com</value>
+ <value>ATTENDEE:mailto:user02 at example.com</value>
+ <value>BEGIN:VALARM</value>
+ </arg>
+ <arg>
+ <name>notcontains</name>
+ <value>DTSTART;TZID=US/Eastern:20060101T100000</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='2'>
+ <description>query by user02</description>
+ <request user="$userid2:" pswd="$pswd2:" print-response="no">
+ <method>REPORT</method>
+ <ruri>$pathprefix:/sharedcalendar/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/privateevents/25.xml</filepath>
+ </data>
+ <verify>
+ <callback>dataString</callback>
+ <arg>
+ <name>contains</name>
+ <value>X-CALENDARSERVER-ACCESS:RESTRICTED</value>
+ <value>VERSION:2.0</value>
+ <value>SUMMARY:event restricted access 2</value>
+ <value>LOCATION:restricted 2</value>
+ </arg>
+ <arg>
+ <name>notcontains</name>
+ <value>DTSTART;TZID=US/Eastern:20060101T100000</value>
+ <value>ORGANIZER:mailto:user01 at example.com</value>
+ <value>ATTENDEE:mailto:user02 at example.com</value>
+ <value>BEGIN:VALARM</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='3'>
+ <description>query by user03</description>
+ <request user="$userid3:" pswd="$pswd3:" print-response="no">
+ <method>REPORT</method>
+ <ruri>$pathprefix:/sharedcalendar/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/privateevents/25.xml</filepath>
+ </data>
+ <verify>
+ <callback>dataString</callback>
+ <arg>
+ <name>contains</name>
+ <value>X-CALENDARSERVER-ACCESS:RESTRICTED</value>
+ <value>VERSION:2.0</value>
+ <value>SUMMARY:event restricted access 2</value>
+ <value>LOCATION:restricted 2</value>
+ </arg>
+ <arg>
+ <name>notcontains</name>
+ <value>DTSTART;TZID=US/Eastern:20060101T100000</value>
+ <value>ORGANIZER:mailto:user01 at example.com</value>
+ <value>ATTENDEE:mailto:user02 at example.com</value>
+ <value>BEGIN:VALARM</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
<end/>
</caldavtest>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20080108/ec6e8ee1/attachment-0001.html
More information about the calendarserver-changes
mailing list