Skip to content
Permalink
Browse files

Test option to control what types of "record" can be an Organizer of …

…an event.

git-svn-id: https://svn.calendarserver.org/repository/calendarserver/CalDAVTester/trunk@3407 e27351fd-9f3e-4f54-a53b-843176b1656c
  • Loading branch information...
cyrusdaboo committed Nov 24, 2008
1 parent 99566d9 commit 3446244d20ad166d41e8d22b6a41710e40389971
Showing with 83 additions and 0 deletions.
  1. +34 −0 Resource/implicit/errors/1.ics
  2. +49 −0 scripts/tests/impliciterrors.xml
@@ -0,0 +1,34 @@
BEGIN:VCALENDAR
CALSCALE:GREGORIAN
PRODID:-//Example Inc.//Example Calendar//EN
VERSION:2.0
BEGIN:VTIMEZONE
LAST-MODIFIED:20040110T032845Z
TZID:US/Eastern
BEGIN:DAYLIGHT
DTSTART:20000404T020000
RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
TZNAME:EDT
TZOFFSETFROM:-0500
TZOFFSETTO:-0400
END:DAYLIGHT
BEGIN:STANDARD
DTSTART:20001026T020000
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
TZNAME:EST
TZOFFSETFROM:-0400
TZOFFSETTO:-0500
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTAMP:20051222T205953Z
CREATED:20060101T150000Z
DTSTART;TZID=US/Eastern:20060101T100000
DURATION:PT1H
SUMMARY:event 1
UID:event1@ninevah.local
ORGANIZER;CN=User 01:$rcuaddralt1:
ATTENDEE;CN=User 01;PARTSTAT=ACCEPTED:$rcuaddralt1:
ATTENDEE;CN=User 02;RSVP=TRUE;PARTSTAT=NEEDS-ACTION:$cuaddr2:
END:VEVENT
END:VCALENDAR
@@ -0,0 +1,49 @@
<?xml version="1.0" standalone="no"?>

<!DOCTYPE caldavtest SYSTEM "caldavtest.dtd">

<!--
Copyright (c) 2006-2007 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>
<description>Test implicit scheduling errors</description>

<start/>

<test-suite name='Allowed Organizers' ignore='no'>
<test name='1'>
<description>Organizer (resource) invites Attendee</description>
<request print-response='no'>
<method>PUT</method>
<ruri>$rcalendarpath1:/1.ics</ruri>
<data>
<content-type>text/calendar; charset=utf-8</content-type>
<filepath>Resource/implicit/errors/1.ics</filepath>
</data>
<verify>
<callback>prepostcondition</callback>
<arg>
<name>error</name>
<value>urn:ietf:params:xml:ns:caldavorganizer-allowed</value>
</arg>
</verify>
</request>
</test>
</test-suite>

<end/>

</caldavtest>

0 comments on commit 3446244

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