~ubuntu-branches/ubuntu/vivid/davical/vivid

« back to all changes in this revision

Viewing changes to testing/tests/scheduling/3022-POST-availability.test

  • Committer: Bazaar Package Importer
  • Author(s): Andrew McMillan
  • Date: 2011-10-24 20:09:10 UTC
  • Revision ID: james.westby@ubuntu.com-20111024200910-2mz5wmc9ukh22vge
Tags: 0.9.9.7-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Testing for how iCal does a POST for free/busy
 
3
#
 
4
TYPE=POST
 
5
URL=http://regression.host/caldav.php/manager1/.out/
 
6
 
 
7
HEADER=X-DAViCal-Flush-Cache: true
 
8
HEADER=DAVKit/4.0.3 (732.2); CalendarStore/4.0.4 (997.7); iCal/4.0.4 (1395.7); Mac OS X/10.6.8 (10K549)
 
9
HEADER=Originator: mailto:manager1@example.net
 
10
HEADER=Recipient: mailto:manager1@example.net, mailto:user1@example.net
 
11
HEADER=Content-Type: text/calendar
 
12
 
 
13
AUTH=manager1:manager1
 
14
 
 
15
BEGINDATA
 
16
BEGIN:VCALENDAR
 
17
CALSCALE:GREGORIAN
 
18
VERSION:2.0
 
19
METHOD:REQUEST
 
20
PRODID:-//Apple Inc.//iCal 4.0.4//EN
 
21
BEGIN:VFREEBUSY
 
22
UID:01B40176-4934-46AE-9C0A-19ECC41200E6
 
23
DTEND:20111025T110000Z
 
24
ATTENDEE:mailto:manager1@example.net
 
25
ATTENDEE:mailto:user1@example.net
 
26
DTSTART:20111024T110000Z
 
27
X-CALENDARSERVER-MASK-UID:E1A13F04-iCal-schedule
 
28
DTSTAMP:20111019T090043Z
 
29
ORGANIZER:mailto:manager1@example.net
 
30
SUMMARY:Availability for mailto:manager1@example.net and mailto:user1@ex
 
31
 ample.net
 
32
END:VFREEBUSY
 
33
END:VCALENDAR
 
34
ENDDATA
 
35
 
 
36
REPLACE=/DTSTAMP:\d{8}T\d{6}Z/DTSTAMP:yyyymmddThhmmssZ/