Skip to content
Permalink
Browse files

Test that displayname is set on invite accept.

  • Loading branch information...
cyrusdaboo committed Apr 19, 2010
1 parent ec2471a commit b62e5171a9e846b226d2f705da64c013a209781d
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<D:propfind xmlns:D="DAV:">
<D:prop>
<D:displayname/>
</D:prop>
</D:propfind>
@@ -193,8 +193,8 @@
<verify>
<callback>propfindItems</callback>
<arg>
<name>badprops</name>
<value>DAV:displayname</value>
<name>okprops</name>
<value>DAV:displayname$The Shared Calendar</value>
</arg>
</verify>
</request>
@@ -92,7 +92,7 @@
</test>
<test name='3'>
<description>Sharee replies ACCEPTED</description>
<request user="$userid2:" pswd="$pswd2:" print-response='yes'>
<request user="$userid2:" pswd="$pswd2:" print-response='no'>
<method>POST</method>
<ruri>$pathprefix2:/</ruri>
<data substitutions='yes'>
@@ -110,6 +110,10 @@
<value>{DAV:}href</value>
</arg>
</verify>
<grabelement>
<name>{DAV:}href</name>
<variable>$shareecalendar:</variable>
</grabelement>
</request>
</test>
<test name='4' ignore='no'>
@@ -160,6 +164,50 @@
</verify>
</request>
</test>
<test name='6' ignore='no'>
<description>Check sharee calendar displyname</description>
<request user="$userid2:" pswd="$pswd2:" print-response='no'>
<method>PROPFIND</method>
<ruri>$shareecalendar:/</ruri>
<header>
<name>Depth</name>
<value>0</value>
</header>
<data>
<content-type>text/xml; charset=utf-8</content-type>
<filepath>Resource/Common/PROPFIND/displayname.xml</filepath>
</data>
<verify>
<callback>propfindItems</callback>
<arg>
<name>okprops</name>
<value>DAV:displayname$The Shared Calendar</value>
</arg>
</verify>
</request>
</test>
<test name='7' ignore='no'>
<description>Check sharee calendar displyname</description>
<request print-response='no'>
<method>PROPFIND</method>
<ruri>$pathprefix1:/shared/</ruri>
<header>
<name>Depth</name>
<value>0</value>
</header>
<data>
<content-type>text/xml; charset=utf-8</content-type>
<filepath>Resource/Common/PROPFIND/displayname.xml</filepath>
</data>
<verify>
<callback>propfindItems</callback>
<arg>
<name>okprops</name>
<value>DAV:displayname$shared</value>
</arg>
</verify>
</request>
</test>
</test-suite>

<test-suite name='Update reply'>

0 comments on commit b62e517

Please sign in to comment.
You can’t perform that action at this time.