Page MenuHomePhorge

propfind.xml
No OneTemporary

Authored By
Unknown
Size
7 KB
Referenced Files
None
Subscribers
None

propfind.xml

<?xml version="1.0" standalone="no"?>
<!DOCTYPE caldavtest SYSTEM "caldavtest.dtd">
<!--
Copyright (c) 2006-2013 Apple Inc. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<caldavtest>
<require-feature>
<feature>carddav</feature>
</require-feature>
<start/>
<test-suite name='regular prop finds'>
<test name='1'>
<description>PROPFIND of basic properties depth=0</description>
<request>
<method>PROPFIND</method>
<ruri>$addressbookpath1:/</ruri>
<header>
<name>Depth</name>
<value>0</value>
</header>
<data>
<content-type>text/xml; charset=utf-8</content-type>
<filepath>Resource/CardDAV/vpropfinds/1.xml</filepath>
</data>
<verify>
<callback>statusCode</callback>
</verify>
</request>
</test>
<test name='2'>
<description>PROPFIND of basic properties depth=1</description>
<request>
<method>PROPFIND</method>
<ruri>$addressbookpath1:/</ruri>
<header>
<name>Depth</name>
<value>1</value>
</header>
<data>
<content-type>text/xml; charset=utf-8</content-type>
<filepath>Resource/CardDAV/vpropfinds/1.xml</filepath>
</data>
<verify>
<callback>statusCode</callback>
</verify>
</request>
</test>
<test name='3' ignore='yes'>
<description>PROPFIND of basic properties depth=infinity</description>
<request>
<method>PROPFIND</method>
<ruri>$addressbookpath1:/</ruri>
<header>
<name>Depth</name>
<value>infinity</value>
</header>
<data>
<content-type>text/xml; charset=utf-8</content-type>
<filepath>Resource/CardDAV/vpropfinds/1.xml</filepath>
</data>
<verify>
<callback>prepostcondition</callback>
<arg>
<name>error</name>
<value>{DAV:}propfind-finite-depth</value>
</arg>
</verify>
</request>
</test>
<test name='4' ignore='yes'>
<description>PROPFIND getcontentlength=0</description>
<request>
<method>PROPFIND</method>
<ruri>$addressbookpath1:/</ruri>
<header>
<name>Depth</name>
<value>0</value>
</header>
<data>
<content-type>text/xml; charset=utf-8</content-type>
<filepath>Resource/CardDAV/vpropfinds/7.xml</filepath>
</data>
<verify>
<callback>propfindItems</callback>
<arg>
<name>okprops</name>
<value>{DAV:}getcontentlength$</value>
</arg>
</verify>
</request>
</test>
<test name='5'>
<description>PROPFIND of non-existent addressbook depth=1</description>
<request>
<method>PROPFIND</method>
<ruri>$addressbookhome1:/foobar/</ruri>
<header>
<name>Depth</name>
<value>1</value>
</header>
<data>
<content-type>text/xml; charset=utf-8</content-type>
<filepath>Resource/CardDAV/vpropfinds/1.xml</filepath>
</data>
<verify>
<callback>statusCode</callback>
<arg>
<name>status</name>
<value>404</value>
</arg>
</verify>
</request>
</test>
<test name='6'>
<description>PROPFIND of non-existent addressbook child depth=1</description>
<request>
<method>PROPFIND</method>
<ruri>$addressbookhome1:/foobar/foo.ics</ruri>
<header>
<name>Depth</name>
<value>1</value>
</header>
<data>
<content-type>text/xml; charset=utf-8</content-type>
<filepath>Resource/CardDAV/vpropfinds/1.xml</filepath>
</data>
<verify>
<callback>statusCode</callback>
<arg>
<name>status</name>
<value>404</value>
</arg>
</verify>
</request>
</test>
<test name='7'>
<description>PROPFIND of non-existent addressbook child collection depth=1</description>
<request>
<method>PROPFIND</method>
<ruri>$addressbookhome1:/foobar/example/</ruri>
<header>
<name>Depth</name>
<value>1</value>
</header>
<data>
<content-type>text/xml; charset=utf-8</content-type>
<filepath>Resource/CardDAV/vpropfinds/1.xml</filepath>
</data>
<verify>
<callback>statusCode</callback>
<arg>
<name>status</name>
<value>404</value>
</arg>
</verify>
</request>
</test>
</test-suite>
<test-suite name='prop names'>
<test name='1'>
<description>PROPFIND of property names depth=0</description>
<request>
<method>PROPFIND</method>
<ruri>$addressbookpath1:/</ruri>
<header>
<name>Depth</name>
<value>0</value>
</header>
<data>
<content-type>text/xml; charset=utf-8</content-type>
<filepath>Resource/CardDAV/vpropfinds/2.xml</filepath>
</data>
<verify>
<callback>statusCode</callback>
</verify>
</request>
</test>
<test name='2'>
<description>PROPFIND of property names depth=1</description>
<request>
<method>PROPFIND</method>
<ruri>$addressbookpath1:/</ruri>
<header>
<name>Depth</name>
<value>1</value>
</header>
<data>
<content-type>text/xml; charset=utf-8</content-type>
<filepath>Resource/CardDAV/vpropfinds/2.xml</filepath>
</data>
<verify>
<callback>statusCode</callback>
</verify>
</request>
</test>
<test name='3' ignore='yes'>
<description>PROPFIND of property names depth=infinity</description>
<request>
<method>PROPFIND</method>
<ruri>$addressbookpath1:/</ruri>
<header>
<name>Depth</name>
<value>infinity</value>
</header>
<data>
<content-type>text/xml; charset=utf-8</content-type>
<filepath>Resource/CardDAV/vpropfinds/2.xml</filepath>
</data>
<verify>
<callback>prepostcondition</callback>
<arg>
<name>error</name>
<value>{DAV:}propfind-finite-depth</value>
</arg>
</verify>
</request>
</test>
</test-suite>
<test-suite name='prop all'>
<test name='1'>
<description>PROPFIND of all properties depth=0</description>
<request>
<method>PROPFIND</method>
<ruri>$addressbookpath1:/</ruri>
<header>
<name>Depth</name>
<value>0</value>
</header>
<data>
<content-type>text/xml; charset=utf-8</content-type>
<filepath>Resource/CardDAV/vpropfinds/3.xml</filepath>
</data>
<verify>
<callback>statusCode</callback>
</verify>
</request>
</test>
<test name='2'>
<description>PROPFIND of all properties depth=1</description>
<request>
<method>PROPFIND</method>
<ruri>$addressbookpath1:/</ruri>
<header>
<name>Depth</name>
<value>1</value>
</header>
<data>
<content-type>text/xml; charset=utf-8</content-type>
<filepath>Resource/CardDAV/vpropfinds/3.xml</filepath>
</data>
<verify>
<callback>statusCode</callback>
</verify>
</request>
</test>
<test name='3' ignore='yes'>
<description>PROPFIND of all properties depth=infinity</description>
<request>
<method>PROPFIND</method>
<ruri>$addressbookpath1:/</ruri>
<header>
<name>Depth</name>
<value>infinity</value>
</header>
<data>
<content-type>text/xml; charset=utf-8</content-type>
<filepath>Resource/CardDAV/vpropfinds/3.xml</filepath>
</data>
<verify>
<callback>prepostcondition</callback>
<arg>
<name>error</name>
<value>{DAV:}propfind-finite-depth</value>
</arg>
</verify>
</request>
</test>
</test-suite>
<end/>
</caldavtest>

File Metadata

Mime Type
text/xml
Expires
Sun, Apr 5, 9:23 PM (3 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18824160
Default Alt Text
propfind.xml (7 KB)

Event Timeline