[CalendarServer-changes] [9455] CalDAVTester/branches/users/gaya/invitecleanTester/scripts/tests/ CardDAV/sharing-addressbooks.xml
source_changes at macosforge.org
source_changes at macosforge.org
Sun Jul 15 13:15:50 PDT 2012
Revision: 9455
http://trac.macosforge.org/projects/calendarserver/changeset/9455
Author: gaya at apple.com
Date: 2012-07-15 13:15:50 -0700 (Sun, 15 Jul 2012)
Log Message:
-----------
clean up main address book after test
Modified Paths:
--------------
CalDAVTester/branches/users/gaya/invitecleanTester/scripts/tests/CardDAV/sharing-addressbooks.xml
Modified: CalDAVTester/branches/users/gaya/invitecleanTester/scripts/tests/CardDAV/sharing-addressbooks.xml
===================================================================
--- CalDAVTester/branches/users/gaya/invitecleanTester/scripts/tests/CardDAV/sharing-addressbooks.xml 2012-07-14 23:09:49 UTC (rev 9454)
+++ CalDAVTester/branches/users/gaya/invitecleanTester/scripts/tests/CardDAV/sharing-addressbooks.xml 2012-07-15 20:15:50 UTC (rev 9455)
@@ -742,178 +742,14 @@
</verify>
</request>
</test>
- </test-suite>
-<!--
- <test-suite name='Share group' ignore='yes'>
- <test name='1' ignore='no'>
- <description>Sharee creates groups and members</description>
- <request print-request='no' print-response='no'>
- <method>PUT</method>
- <ruri>$addressbookpath1:/1.vcf</ruri>
- <data>
- <content-type>text/vcard; charset=utf-8</content-type>
- <filepath>Resource/CardDAV/sharing/addressbooks/group/1.vcf</filepath>
- </data>
- <verify>
- <callback>statusCode</callback>
- </verify>
+ <test name='16' ignore='no'>
+ <description>Clean up main addressbook</description>
+ <request>
+ <method>DELETEALL</method>
+ <ruri>$addressbookpath1:/</ruri>
</request>
- <request print-request='no' print-response='no'>
- <method>PUT</method>
- <ruri>$addressbookpath1:/2.vcf</ruri>
- <data>
- <content-type>text/vcard; charset=utf-8</content-type>
- <filepath>Resource/CardDAV/sharing/addressbooks/group/2.vcf</filepath>
- </data>
- <verify>
- <callback>statusCode</callback>
- </verify>
- </request>
- <request print-request='no' print-response='no'>
- <method>PUT</method>
- <ruri>$addressbookpath1:/3.vcf</ruri>
- <data>
- <content-type>text/vcard; charset=utf-8</content-type>
- <filepath>Resource/CardDAV/sharing/addressbooks/group/3.vcf</filepath>
- </data>
- <verify>
- <callback>statusCode</callback>
- </verify>
- </request>
- <request print-request='no' print-response='no'>
- <method>PUT</method>
- <ruri>$addressbookpath1:/4.vcf</ruri>
- <data>
- <content-type>text/vcard; charset=utf-8</content-type>
- <filepath>Resource/CardDAV/sharing/addressbooks/group/4.vcf</filepath>
- </data>
- <verify>
- <callback>statusCode</callback>
- </verify>
- </request>
- <request print-request='no' print-response='no'>
- <method>PUT</method>
- <ruri>$addressbookpath1:/5.vcf</ruri>
- <data>
- <content-type>text/vcard; charset=utf-8</content-type>
- <filepath>Resource/CardDAV/sharing/addressbooks/group/5.vcf</filepath>
- </data>
- <verify>
- <callback>statusCode</callback>
- </verify>
- </request>
</test>
- <test name='2' ignore='no'>
- <description>POST invitation to user vCard</description>
- <request print-response='no'>
- <method>POST</method>
- <ruri>$addressbookpath1:/1.vcf</ruri>
- <data>
- <content-type>text/xml; charset=utf-8</content-type>
- <filepath>Resource/CardDAV/sharing/addressbooks/group/6.xml</filepath>
- </data>
- <verify>
- <callback>statusCode</callback>
- <arg>
- <name>status</name>
- <value>403</value>
- </arg>
- </verify>
- </request>
- </test>
- <test name='3' ignore='yes'>
- <description>POST invitation to empty group vCard</description>
- <request print-response='no'>
- <method>POST</method>
- <ruri>$addressbookpath1:/5.vcf</ruri>
- <data>
- <content-type>text/xml; charset=utf-8</content-type>
- <filepath>Resource/CardDAV/sharing/addressbooks/group/7.xml</filepath>
- </data>
- <verify>
- <callback>statusCode</callback>
- </verify>
- </request>
- </test>
- <test name='4' ignore='no'>
- <description>POST invitation to group</description>
- <request print-request='yes' print-response='yes'>
- <method>POST</method>
- <ruri>$addressbookpath1:/3.vcf</ruri>
- <data>
- <content-type>text/xml; charset=utf-8</content-type>
- <filepath>Resource/CardDAV/sharing/addressbooks/group/7.xml</filepath>
- </data>
- <verify>
- <callback>statusCode</callback>
- </verify>
- </request>
- </test>
- <test name='5' ignore='no'>
- <description>Check Sharee notification collection</description>
- <request user="$userid2:" pswd="$pswd2:" print-request='yes' print-response='yes'>
- <method>WAITCOUNT 1</method>
- <ruri>$notificationpath2:/</ruri>
- </request>
- <request user="$userid2:" pswd="$pswd2:" print-request='yes' print-response='yes'>
- <method>GETNEW</method>
- <ruri>$notificationpath2:/</ruri>
- <verify>
- <callback>xmlDataMatch</callback>
- <arg>
- <name>filepath</name>
- <value>Resource/CardDAV/sharing/addressbooks/group/8.xml</value>
- </arg>
- <arg>
- <name>filter</name>
- <value>{http://calendarserver.org/ns/}dtstamp</value>
- <value>{http://calendarserver.org/ns/}uid</value>
- </arg>
- </verify>
- <grabelement>
- <name>{http://calendarserver.org/ns/}invite-notification/{http://calendarserver.org/ns/}uid</name>
- <variable>$inviteuid:</variable>
- </grabelement>
- </request>
- </test>
- <test name='6' ignore='no'>
- <description>Sharee replies ACCEPTED</description>
- <request user="$userid2:" pswd="$pswd2:" print-request='yes' print-response='yes'>
- <method>POST</method>
- <ruri>$addressbookhome2:/</ruri>
- <data substitutions='yes'>
- <content-type>application/xml; charset=utf-8</content-type>
- <filepath>Resource/CardDAV/sharing/addressbooks/group/9.xml</filepath>
- </data>
- <verify>
- <callback>statusCode</callback>
- </verify>
- <grabelement>
- <name>{DAV:}href</name>
- <variable>$sharedaddressbook:</variable>
- </grabelement>
- </request>
- </test>
- <test name='7' ignore='no'>
- <description>PROPFIND of basic properties depth=1 on shared address book</description>
- <request user="$userid2:" pswd="$pswd2:" print-request='yes' print-response='yes'>
- <method>PROPFIND</method>
- <ruri>$sharedaddressbook:/</ruri>
- <header>
- <name>Depth</name>
- <value>1</value>
- </header>
- <data>
- <content-type>text/xml; charset=utf-8</content-type>
- <filepath>Resource/CardDAV/sharing/addressbooks/group/10.xml</filepath>
- </data>
- <verify>
- <callback>statusCode</callback>
- </verify>
- </request>
- </test>
</test-suite>
- -->
<end>
<request user="$useradmin:" pswd="$pswdadmin:">
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120715/9b7daa5e/attachment.html>
More information about the calendarserver-changes
mailing list