<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[14668] CalDAVTester/trunk</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.calendarserver.org//changeset/14668">14668</a></dd>
<dt>Author</dt> <dd>cdaboo@apple.com</dd>
<dt>Date</dt> <dd>2015-04-09 09:55:50 -0700 (Thu, 09 Apr 2015)</dd>
</dl>
<h3>Log Message</h3>
<pre>Tests for timezones-by-reference timezone-id properties.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#CalDAVTestertrunkscriptstestsCalDAVerrorsxml">CalDAVTester/trunk/scripts/tests/CalDAV/errors.xml</a></li>
<li><a href="#CalDAVTestertrunkscriptstestsCalDAVreportsxml">CalDAVTester/trunk/scripts/tests/CalDAV/reports.xml</a></li>
<li><a href="#CalDAVTestertrunkscriptstestsCalDAVtimezonesxml">CalDAVTester/trunk/scripts/tests/CalDAV/timezones.xml</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#CalDAVTestertrunkResourceCalDAVerrors50xml">CalDAVTester/trunk/Resource/CalDAV/errors/50.xml</a></li>
<li><a href="#CalDAVTestertrunkResourceCalDAVerrors51xml">CalDAVTester/trunk/Resource/CalDAV/errors/51.xml</a></li>
<li><a href="#CalDAVTestertrunkResourceCalDAVreportslimitexpand14xml">CalDAVTester/trunk/Resource/CalDAV/reports/limitexpand/14.xml</a></li>
<li><a href="#CalDAVTestertrunkResourceCalDAVreportstimerangequery105xml">CalDAVTester/trunk/Resource/CalDAV/reports/timerangequery/105.xml</a></li>
<li>CalDAVTester/trunk/Resource/CalDAV/timezones/properties/</li>
<li><a href="#CalDAVTestertrunkResourceCalDAVtimezonesproperties1xml">CalDAVTester/trunk/Resource/CalDAV/timezones/properties/1.xml</a></li>
<li><a href="#CalDAVTestertrunkResourceCalDAVtimezonesproperties2xml">CalDAVTester/trunk/Resource/CalDAV/timezones/properties/2.xml</a></li>
<li><a href="#CalDAVTestertrunkResourceCalDAVtimezonesproperties3xml">CalDAVTester/trunk/Resource/CalDAV/timezones/properties/3.xml</a></li>
<li><a href="#CalDAVTestertrunkResourceCalDAVtimezonesproperties4xml">CalDAVTester/trunk/Resource/CalDAV/timezones/properties/4.xml</a></li>
<li><a href="#CalDAVTestertrunkResourceCalDAVtimezonesproperties5xml">CalDAVTester/trunk/Resource/CalDAV/timezones/properties/5.xml</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="CalDAVTestertrunkResourceCalDAVerrors50xml"></a>
<div class="addfile"><h4>Added: CalDAVTester/trunk/Resource/CalDAV/errors/50.xml (0 => 14668)</h4>
<pre class="diff"><span>
<span class="info">--- CalDAVTester/trunk/Resource/CalDAV/errors/50.xml         (rev 0)
+++ CalDAVTester/trunk/Resource/CalDAV/errors/50.xml        2015-04-09 16:55:50 UTC (rev 14668)
</span><span class="lines">@@ -0,0 +1,15 @@
</span><ins>+<?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:comp-filter name="VEVENT">
+<C:time-range start="20060101T050000Z" end="20060102T050000Z"/>
+</C:comp-filter>
+</C:comp-filter>
+</C:filter>
+<C:timezone-id>bogus</C:timezone-id>
+</C:calendar-query>
</ins></span></pre></div>
<a id="CalDAVTestertrunkResourceCalDAVerrors51xml"></a>
<div class="addfile"><h4>Added: CalDAVTester/trunk/Resource/CalDAV/errors/51.xml (0 => 14668)</h4>
<pre class="diff"><span>
<span class="info">--- CalDAVTester/trunk/Resource/CalDAV/errors/51.xml         (rev 0)
+++ CalDAVTester/trunk/Resource/CalDAV/errors/51.xml        2015-04-09 16:55:50 UTC (rev 14668)
</span><span class="lines">@@ -0,0 +1,8 @@
</span><ins>+<?xml version="1.0" encoding="utf-8" ?>
+<D:propertyupdate xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
+<D:set>
+<D:prop>
+<C:calendar-timezone-id>bogus</C:calendar-timezone-id>
+</D:prop>
+</D:set>
+</D:propertyupdate>
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="CalDAVTestertrunkResourceCalDAVreportslimitexpand14xml"></a>
<div class="addfile"><h4>Added: CalDAVTester/trunk/Resource/CalDAV/reports/limitexpand/14.xml (0 => 14668)</h4>
<pre class="diff"><span>
<span class="info">--- CalDAVTester/trunk/Resource/CalDAV/reports/limitexpand/14.xml         (rev 0)
+++ CalDAVTester/trunk/Resource/CalDAV/reports/limitexpand/14.xml        2015-04-09 16:55:50 UTC (rev 14668)
</span><span class="lines">@@ -0,0 +1,17 @@
</span><ins>+<?xml version="1.0"?>
+<C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav">
+ <D:prop xmlns:D="DAV:">
+ <C:calendar-data>
+ <C:comp name="VCALENDAR"/>
+ <C:expand end="$now.year.2:1018T070000Z" start="$now.year.2:1018T060000Z"/>
+ </C:calendar-data>
+ </D:prop>
+ <C:filter>
+ <C:comp-filter name="VCALENDAR">
+ <C:comp-filter name="VEVENT">
+ <C:time-range end="$now.year.2:1024T060000Z" start="$now.year.2:1018T060000Z"/>
+ </C:comp-filter>
+ </C:comp-filter>
+ </C:filter>
+ <C:timezone-id>America/Los_Angeles</C:timezone-id>
+</C:calendar-query>
</ins></span></pre></div>
<a id="CalDAVTestertrunkResourceCalDAVreportstimerangequery105xml"></a>
<div class="addfile"><h4>Added: CalDAVTester/trunk/Resource/CalDAV/reports/timerangequery/105.xml (0 => 14668)</h4>
<pre class="diff"><span>
<span class="info">--- CalDAVTester/trunk/Resource/CalDAV/reports/timerangequery/105.xml         (rev 0)
+++ CalDAVTester/trunk/Resource/CalDAV/reports/timerangequery/105.xml        2015-04-09 16:55:50 UTC (rev 14668)
</span><span class="lines">@@ -0,0 +1,17 @@
</span><ins>+<?xml version="1.0"?>
+<C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav">
+ <D:prop xmlns:D="DAV:">
+ <C:calendar-data>
+ <C:comp name="VCALENDAR"/>
+ <C:expand end="$now.year.2:1023T065959Z" start="$now.year.2:1017T010000Z"/>
+ </C:calendar-data>
+ </D:prop>
+ <C:filter>
+ <C:comp-filter name="VCALENDAR">
+ <C:comp-filter name="VEVENT">
+ <C:time-range end="$now.year.2:1023T065959Z" start="$now.year.2:1017T010000Z"/>
+ </C:comp-filter>
+ </C:comp-filter>
+ </C:filter>
+ <C:timezone-id>bogus</C:timezone-id>
+</C:calendar-query>
</ins></span></pre></div>
<a id="CalDAVTestertrunkResourceCalDAVtimezonesproperties1xml"></a>
<div class="addfile"><h4>Added: CalDAVTester/trunk/Resource/CalDAV/timezones/properties/1.xml (0 => 14668)</h4>
<pre class="diff"><span>
<span class="info">--- CalDAVTester/trunk/Resource/CalDAV/timezones/properties/1.xml         (rev 0)
+++ CalDAVTester/trunk/Resource/CalDAV/timezones/properties/1.xml        2015-04-09 16:55:50 UTC (rev 14668)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+<?xml version="1.0" encoding="utf-8" ?>
+<D:propfind xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
+<D:prop>
+<C:calendar-timezone/>
+</D:prop>
+</D:propfind>
</ins></span></pre></div>
<a id="CalDAVTestertrunkResourceCalDAVtimezonesproperties2xml"></a>
<div class="addfile"><h4>Added: CalDAVTester/trunk/Resource/CalDAV/timezones/properties/2.xml (0 => 14668)</h4>
<pre class="diff"><span>
<span class="info">--- CalDAVTester/trunk/Resource/CalDAV/timezones/properties/2.xml         (rev 0)
+++ CalDAVTester/trunk/Resource/CalDAV/timezones/properties/2.xml        2015-04-09 16:55:50 UTC (rev 14668)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+<?xml version="1.0" encoding="utf-8" ?>
+<D:propfind xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
+<D:prop>
+<C:calendar-timezone-id/>
+</D:prop>
+</D:propfind>
</ins></span></pre></div>
<a id="CalDAVTestertrunkResourceCalDAVtimezonesproperties3xml"></a>
<div class="addfile"><h4>Added: CalDAVTester/trunk/Resource/CalDAV/timezones/properties/3.xml (0 => 14668)</h4>
<pre class="diff"><span>
<span class="info">--- CalDAVTester/trunk/Resource/CalDAV/timezones/properties/3.xml         (rev 0)
+++ CalDAVTester/trunk/Resource/CalDAV/timezones/properties/3.xml        2015-04-09 16:55:50 UTC (rev 14668)
</span><span class="lines">@@ -0,0 +1,24 @@
</span><ins>+<?xml version="1.0" encoding="utf-8" ?>
+<D:propertyupdate xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
+<D:set>
+<D:prop>
+<C:calendar-timezone>BEGIN:VCALENDAR
+VERSION:2.0
+CALSCALE:GREGORIAN
+PRODID:-//calendarserver.org//Zonal//EN
+BEGIN:VTIMEZONE
+TZID:Etc/GMT+1
+X-LIC-LOCATION:Etc/GMT+1
+BEGIN:STANDARD
+DTSTART:18000101T000000
+RDATE:18000101T000000
+TZNAME:GMT+1
+TZOFFSETFROM:-0100
+TZOFFSETTO:-0100
+END:STANDARD
+END:VTIMEZONE
+END:VCALENDAR
+</C:calendar-timezone>
+</D:prop>
+</D:set>
+</D:propertyupdate>
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="CalDAVTestertrunkResourceCalDAVtimezonesproperties4xml"></a>
<div class="addfile"><h4>Added: CalDAVTester/trunk/Resource/CalDAV/timezones/properties/4.xml (0 => 14668)</h4>
<pre class="diff"><span>
<span class="info">--- CalDAVTester/trunk/Resource/CalDAV/timezones/properties/4.xml         (rev 0)
+++ CalDAVTester/trunk/Resource/CalDAV/timezones/properties/4.xml        2015-04-09 16:55:50 UTC (rev 14668)
</span><span class="lines">@@ -0,0 +1,8 @@
</span><ins>+<?xml version="1.0" encoding="utf-8" ?>
+<D:propertyupdate xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
+<D:remove>
+<D:prop>
+<C:calendar-timezone/>
+</D:prop>
+</D:remove>
+</D:propertyupdate>
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="CalDAVTestertrunkResourceCalDAVtimezonesproperties5xml"></a>
<div class="addfile"><h4>Added: CalDAVTester/trunk/Resource/CalDAV/timezones/properties/5.xml (0 => 14668)</h4>
<pre class="diff"><span>
<span class="info">--- CalDAVTester/trunk/Resource/CalDAV/timezones/properties/5.xml         (rev 0)
+++ CalDAVTester/trunk/Resource/CalDAV/timezones/properties/5.xml        2015-04-09 16:55:50 UTC (rev 14668)
</span><span class="lines">@@ -0,0 +1,8 @@
</span><ins>+<?xml version="1.0" encoding="utf-8" ?>
+<D:propertyupdate xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
+<D:set>
+<D:prop>
+<C:calendar-timezone-id>Etc/GMT+2</C:calendar-timezone-id>
+</D:prop>
+</D:set>
+</D:propertyupdate>
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="CalDAVTestertrunkscriptstestsCalDAVerrorsxml"></a>
<div class="modfile"><h4>Modified: CalDAVTester/trunk/scripts/tests/CalDAV/errors.xml (14667 => 14668)</h4>
<pre class="diff"><span>
<span class="info">--- CalDAVTester/trunk/scripts/tests/CalDAV/errors.xml        2015-04-09 00:32:49 UTC (rev 14667)
+++ CalDAVTester/trunk/scripts/tests/CalDAV/errors.xml        2015-04-09 16:55:50 UTC (rev 14668)
</span><span class="lines">@@ -1518,6 +1518,48 @@
</span><span class="cx">                 </test>
</span><span class="cx">         </test-suite>
</span><span class="cx">
</span><ins>+        <test-suite name='Invalid CalDAV:timezone-id'>
+                <require-feature>
+                        <feature>timezones-by-reference</feature>
+                </require-feature>
+                <test name='1'>
+                        <description>query with invalid timezone id</description>
+                        <request>
+                                <method>REPORT</method>
+                                <ruri>$calendarpath1:/</ruri>
+                                <data>
+                                        <content-type>text/xml; charset=utf-8</content-type>
+                                        <filepath>Resource/CalDAV/errors/50.xml</filepath>
+                                </data>
+                                <verify>
+                                        <callback>prepostcondition</callback>
+                                        <arg>
+                                                <name>error</name>
+                                                <value>{urn:ietf:params:xml:ns:caldav}valid-timezone</value>
+                                        </arg>
+                                </verify>
+                        </request>
+                </test>
+                <test name='2'>
+                        <description>proppatch with invalid timezone id</description>
+                        <request>
+                                <method>PROPPATCH</method>
+                                <ruri>$calendarpath1:/</ruri>
+                                <data>
+                                        <content-type>text/xml; charset=utf-8</content-type>
+                                        <filepath>Resource/CalDAV/errors/51.xml</filepath>
+                                </data>
+                                <verify>
+                                        <callback>propfindItems</callback>
+                                        <arg>
+                                                <name>badprops</name>
+                                                <value>{urn:ietf:params:xml:ns:caldav}calendar-timezone-id</value>
+                                        </arg>
+                                </verify>
+                        </request>
+                </test>
+        </test-suite>
+
</ins><span class="cx">         <test-suite name='Invalid urn: calendar user address'>
</span><span class="cx">                 <test name='1'>
</span><span class="cx">                         <description>POST free busy</description>
</span></span></pre></div>
<a id="CalDAVTestertrunkscriptstestsCalDAVreportsxml"></a>
<div class="modfile"><h4>Modified: CalDAVTester/trunk/scripts/tests/CalDAV/reports.xml (14667 => 14668)</h4>
<pre class="diff"><span>
<span class="info">--- CalDAVTester/trunk/scripts/tests/CalDAV/reports.xml        2015-04-09 00:32:49 UTC (rev 14667)
+++ CalDAVTester/trunk/scripts/tests/CalDAV/reports.xml        2015-04-09 16:55:50 UTC (rev 14668)
</span><span class="lines">@@ -1992,7 +1992,7 @@
</span><span class="cx">                                 </verify>
</span><span class="cx">                         </request>
</span><span class="cx">                 </test>
</span><del>-                <test name='12'>
</del><ins>+                <test name='12a'>
</ins><span class="cx">                         <description>Invalid VTIMEZONE check</description>
</span><span class="cx">                         <request>
</span><span class="cx">                                 <method>REPORT</method>
</span><span class="lines">@@ -2010,6 +2010,27 @@
</span><span class="cx">                                 </verify>
</span><span class="cx">                         </request>
</span><span class="cx">                 </test>
</span><ins>+                <test name='12b'>
+                        <require-feature>
+                                <feature>timezones-by-reference</feature>
+                        </require-feature>
+                        <description>Invalid TZID check</description>
+                        <request>
+                                <method>REPORT</method>
+                                <ruri>$calendarpath1:/</ruri>
+                                <data>
+                                        <content-type>text/xml; charset=utf-8</content-type>
+                                        <filepath>Resource/CalDAV/reports/timerangequery/105.xml</filepath>
+                                </data>
+                                <verify>
+                                        <callback>prepostcondition</callback>
+                                        <arg>
+                                                <name>error</name>
+                                                <value>{urn:ietf:params:xml:ns:caldav}valid-timezone</value>
+                                        </arg>
+                                </verify>
+                        </request>
+                </test>
</ins><span class="cx">                 <test name='13'>
</span><span class="cx">                         <description>query for VEVENTs within time range in distant future</description>
</span><span class="cx">                         <request>
</span><span class="lines">@@ -3037,7 +3058,7 @@
</span><span class="cx">                                 </verify>
</span><span class="cx">                         </request>
</span><span class="cx">                 </test>
</span><del>-                <test name='9'>
</del><ins>+                <test name='9a'>
</ins><span class="cx">                         <description>query with expand all-day - timezone</description>
</span><span class="cx">                         <request>
</span><span class="cx">                                 <method>REPORT</method>
</span><span class="lines">@@ -3063,6 +3084,35 @@
</span><span class="cx">                                 </verify>
</span><span class="cx">                         </request>
</span><span class="cx">                 </test>
</span><ins>+                <test name='9b'>
+                        <require-feature>
+                                <feature>timezones-by-reference</feature>
+                        </require-feature>
+                        <description>query with expand all-day - timezone-id</description>
+                        <request>
+                                <method>REPORT</method>
+                                <ruri>$calendarpath1:/</ruri>
+                                <data>
+                                        <content-type>text/xml; charset=utf-8</content-type>
+                                        <filepath>Resource/CalDAV/reports/limitexpand/14.xml</filepath>
+                                </data>
+                                <verify>
+                                        <callback>multistatusItems</callback>
+                                        <arg>
+                                                <name>okhrefs</name>
+                                                <value>18.ics</value>
+                                        </arg>
+                                </verify>
+                                <verify>
+                                        <callback>dataString</callback>
+                                        <arg>
+                                                <name>contains</name>
+                                                <value>VEVENT</value>
+                                                <value>DTSTART;VALUE=DATE:$now.year.2:1017</value>
+                                        </arg>
+                                </verify>
+                        </request>
+                </test>
</ins><span class="cx">                 <test name='10'>
</span><span class="cx">                         <description>query with expand all-day - recurrence</description>
</span><span class="cx">                         <request>
</span></span></pre></div>
<a id="CalDAVTestertrunkscriptstestsCalDAVtimezonesxml"></a>
<div class="modfile"><h4>Modified: CalDAVTester/trunk/scripts/tests/CalDAV/timezones.xml (14667 => 14668)</h4>
<pre class="diff"><span>
<span class="info">--- CalDAVTester/trunk/scripts/tests/CalDAV/timezones.xml        2015-04-09 00:32:49 UTC (rev 14667)
+++ CalDAVTester/trunk/scripts/tests/CalDAV/timezones.xml        2015-04-09 16:55:50 UTC (rev 14668)
</span><span class="lines">@@ -167,6 +167,203 @@
</span><span class="cx">                 </test>
</span><span class="cx">         </test-suite>
</span><span class="cx">         
</span><ins>+        <test-suite name='Timezone properties'>
+                <test name='1'>
+                        <description>Empty property</description>
+                        <request>
+                                <method>PROPFIND</method>
+                                <ruri>$calendarpath1:/</ruri>
+                                <header>
+                                        <name>Depth</name>
+                                        <value>0</value>
+                                </header>
+                                <data>
+                                        <content-type>text/xml; charset=utf-8</content-type>
+                                        <filepath>Resource/CalDAV/timezones/properties/1.xml</filepath>
+                                </data>
+                                <verify>
+                                        <callback>propfindItems</callback>
+                                        <arg>
+                                                <name>badprops</name>
+                                                <value>{$CALDAV:}calendar-timezone</value>
+                                        </arg>
+                                </verify>
+                        </request>
+                </test>
+                <test name='2'>
+                        <require-feature>
+                                <feature>timezones-by-reference</feature>
+                        </require-feature>
+                        <description>Empty tzid property</description>
+                        <request>
+                                <method>PROPFIND</method>
+                                <ruri>$calendarpath1:/</ruri>
+                                <header>
+                                        <name>Depth</name>
+                                        <value>0</value>
+                                </header>
+                                <data>
+                                        <content-type>text/xml; charset=utf-8</content-type>
+                                        <filepath>Resource/CalDAV/timezones/properties/2.xml</filepath>
+                                </data>
+                                <verify>
+                                        <callback>propfindItems</callback>
+                                        <arg>
+                                                <name>badprops</name>
+                                                <value>{$CALDAV:}calendar-timezone-id</value>
+                                        </arg>
+                                </verify>
+                        </request>
+                </test>
+                <test name='3'>
+                        <description>Add property</description>
+                        <request>
+                                <method>PROPPATCH</method>
+                                <ruri>$calendarpath1:/</ruri>
+                                <data>
+                                        <content-type>text/xml; charset=utf-8</content-type>
+                                        <filepath>Resource/CalDAV/timezones/properties/3.xml</filepath>
+                                </data>
+                                <verify>
+                                        <callback>propfindItems</callback>
+                                        <arg>
+                                                <name>okprops</name>
+                                                <value>{$CALDAV:}calendar-timezone</value>
+                                        </arg>
+                                </verify>
+                        </request>
+                </test>
+                <test name='4'>
+                        <description>Property with value</description>
+                        <request>
+                                <method>PROPFIND</method>
+                                <ruri>$calendarpath1:/</ruri>
+                                <header>
+                                        <name>Depth</name>
+                                        <value>0</value>
+                                </header>
+                                <data>
+                                        <content-type>text/xml; charset=utf-8</content-type>
+                                        <filepath>Resource/CalDAV/timezones/properties/1.xml</filepath>
+                                </data>
+                                <verify>
+                                        <callback>propfindValues</callback>
+                                        <arg>
+                                                <name>okprops</name>
+                                                <value>{$CALDAV:}calendar-timezone$.*TZID:Etc/GMT+1.*</value>
+                                        </arg>
+                                </verify>
+                        </request>
+                </test>
+                <test name='5'>
+                        <require-feature>
+                                <feature>timezones-by-reference</feature>
+                        </require-feature>
+                        <description>Tzid property with value</description>
+                        <request>
+                                <method>PROPFIND</method>
+                                <ruri>$calendarpath1:/</ruri>
+                                <header>
+                                        <name>Depth</name>
+                                        <value>0</value>
+                                </header>
+                                <data>
+                                        <content-type>text/xml; charset=utf-8</content-type>
+                                        <filepath>Resource/CalDAV/timezones/properties/2.xml</filepath>
+                                </data>
+                                <verify>
+                                        <callback>propfindItems</callback>
+                                        <arg>
+                                                <name>okprops</name>
+                                                <value>{$CALDAV:}calendar-timezone-id$Etc/GMT+1</value>
+                                        </arg>
+                                </verify>
+                        </request>
+                </test>
+                <test name='6'>
+                        <description>Change tzid property</description>
+                        <request>
+                                <method>PROPPATCH</method>
+                                <ruri>$calendarpath1:/</ruri>
+                                <data>
+                                        <content-type>text/xml; charset=utf-8</content-type>
+                                        <filepath>Resource/CalDAV/timezones/properties/5.xml</filepath>
+                                </data>
+                                <verify>
+                                        <callback>propfindItems</callback>
+                                        <arg>
+                                                <name>okprops</name>
+                                                <value>{$CALDAV:}calendar-timezone-id</value>
+                                        </arg>
+                                </verify>
+                        </request>
+                </test>
+                <test name='7'>
+                        <description>Property with value</description>
+                        <request>
+                                <method>PROPFIND</method>
+                                <ruri>$calendarpath1:/</ruri>
+                                <header>
+                                        <name>Depth</name>
+                                        <value>0</value>
+                                </header>
+                                <data>
+                                        <content-type>text/xml; charset=utf-8</content-type>
+                                        <filepath>Resource/CalDAV/timezones/properties/1.xml</filepath>
+                                </data>
+                                <verify>
+                                        <callback>propfindValues</callback>
+                                        <arg>
+                                                <name>okprops</name>
+                                                <value>{$CALDAV:}calendar-timezone$.*TZID:Etc/GMT+2.*</value>
+                                        </arg>
+                                </verify>
+                        </request>
+                </test>
+                <test name='8'>
+                        <require-feature>
+                                <feature>timezones-by-reference</feature>
+                        </require-feature>
+                        <description>Tzid property with value</description>
+                        <request>
+                                <method>PROPFIND</method>
+                                <ruri>$calendarpath1:/</ruri>
+                                <header>
+                                        <name>Depth</name>
+                                        <value>0</value>
+                                </header>
+                                <data>
+                                        <content-type>text/xml; charset=utf-8</content-type>
+                                        <filepath>Resource/CalDAV/timezones/properties/2.xml</filepath>
+                                </data>
+                                <verify>
+                                        <callback>propfindItems</callback>
+                                        <arg>
+                                                <name>okprops</name>
+                                                <value>{$CALDAV:}calendar-timezone-id$Etc/GMT+2</value>
+                                        </arg>
+                                </verify>
+                        </request>
+                </test>
+                <test name='-1'>
+                        <description>Remove property</description>
+                        <request>
+                                <method>PROPPATCH</method>
+                                <ruri>$calendarpath1:/</ruri>
+                                <data>
+                                        <content-type>text/xml; charset=utf-8</content-type>
+                                        <filepath>Resource/CalDAV/timezones/properties/4.xml</filepath>
+                                </data>
+                                <verify>
+                                        <callback>propfindItems</callback>
+                                        <arg>
+                                                <name>okprops</name>
+                                                <value>{$CALDAV:}calendar-timezone</value>
+                                        </arg>
+                                </verify>
+                        </request>
+                </test>
+        </test-suite>
</ins><span class="cx">         <end/>
</span><span class="cx">         
</span><span class="cx"> </caldavtest>
</span></span></pre>
</div>
</div>
</body>
</html>