mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-23 02:14:16 +00:00
More testing stuff.
This commit is contained in:
parent
752df2906f
commit
7cec81592d
25
testing/tests/carddav/2031-REPORT-addressbook-multiget.test
Normal file
25
testing/tests/carddav/2031-REPORT-addressbook-multiget.test
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
#
|
||||||
|
# addressbook-multiget REPORT on addressbook resource
|
||||||
|
#
|
||||||
|
TYPE=REPORT
|
||||||
|
URL=http://mycaldav/caldav.php/user1/addressbook/
|
||||||
|
HEADER=User-Agent: DAViCalTester/public
|
||||||
|
HEADER=Content-Type: text/xml
|
||||||
|
HEAD
|
||||||
|
|
||||||
|
|
||||||
|
BEGINDATA
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?><C:addressbook-multiget xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:carddav"><D:prop><D:getetag/><C:address-data/></D:prop>
|
||||||
|
<D:href>/caldav.php/user1/addressbook/Jörg_Test-Roßdeutscher_3_0.vcf</D:href>
|
||||||
|
<D:href>/caldav.php/user1/addressbook/andrew_mcmillan.vcf</D:href>
|
||||||
|
<D:href>/caldav.php/user1/addressbook/donald_kelly.vcf</D:href>
|
||||||
|
<D:href>/caldav.php/user1/addressbook/F06EC844-EACD-4ADF-8823-588603991E04-ABSPlugin.vcf</D:href>
|
||||||
|
<D:href>/caldav.php/user1/addressbook/van_houtte.vcf</D:href>
|
||||||
|
<D:href>/caldav.php/user1/addressbook/mustrmahn.vcf</D:href>
|
||||||
|
<D:href>/caldav.php/user1/addressbook/andresenesq.vcf</D:href>
|
||||||
|
<D:href>/caldav.php/user1/addressbook/hans_dieter.vcf</D:href>
|
||||||
|
<D:href>/caldav.php/user1/addressbook/Jörg_Test-Roßdeutscher_2_0.vcf</D:href>
|
||||||
|
</C:addressbook-multiget>
|
||||||
|
ENDDATA
|
||||||
|
|
||||||
|
|
||||||
6
testing/tests/scheduling/3001-POST-CANCEL.result
Normal file
6
testing/tests/scheduling/3001-POST-CANCEL.result
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<schedule-response xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
|
||||||
|
<C:response>
|
||||||
|
<C:request-status>2.0;Success</C:request-status>
|
||||||
|
</C:response>
|
||||||
|
</schedule-response>
|
||||||
59
testing/tests/scheduling/3001-POST-CANCEL.test
Normal file
59
testing/tests/scheduling/3001-POST-CANCEL.test
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
#
|
||||||
|
# Testing for how iCal does a POST for free/busy
|
||||||
|
#
|
||||||
|
TYPE=POST
|
||||||
|
URL=http://mycaldav/caldav.php/user1/.out/
|
||||||
|
HEADER=User-Agent: DAVKit/4.0.3 (732); CalendarStore/4.0.4 (997); iCal/4.0.4 (1395); Mac OS X/10.6.5 (10H574)
|
||||||
|
HEADER=Recipient: mailto:user2@example.net
|
||||||
|
HEADER=Content-Type: text/calendar
|
||||||
|
HEADER=Originator: mailto:user1@example.net
|
||||||
|
HEADER=Content-Type: text/calendar
|
||||||
|
|
||||||
|
# REPLACE=#<creationdate>\d{8}T\d{6}</creationdate>#<creationdate>YYYYMMDDThhmmss</creationdate>#
|
||||||
|
# REPLACE=/^DTSTAMP:\d{4}[01]\d[0123]\dT[012]\d[0-5]\d[0-6]\dZ\r?$/DTSTAMP:yyyymmddThhmmssZ/
|
||||||
|
|
||||||
|
# QUERY
|
||||||
|
# ENDQUERY
|
||||||
|
|
||||||
|
BEGINDATA
|
||||||
|
BEGIN:VCALENDAR
|
||||||
|
CALSCALE:GREGORIAN
|
||||||
|
VERSION:2.0
|
||||||
|
METHOD:CANCEL
|
||||||
|
PRODID:-//Apple Inc.//iCal 4.0.4//EN
|
||||||
|
BEGIN:VTIMEZONE
|
||||||
|
TZID:Europe/Paris
|
||||||
|
BEGIN:DAYLIGHT
|
||||||
|
TZOFFSETFROM:+0100
|
||||||
|
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
|
||||||
|
DTSTART:19810329T020000
|
||||||
|
TZNAME:GMT+02:00
|
||||||
|
TZOFFSETTO:+0200
|
||||||
|
END:DAYLIGHT
|
||||||
|
BEGIN:STANDARD
|
||||||
|
TZOFFSETFROM:+0200
|
||||||
|
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
|
||||||
|
DTSTART:19961027T030000
|
||||||
|
TZNAME:GMT+01:00
|
||||||
|
TZOFFSETTO:+0100
|
||||||
|
END:STANDARD
|
||||||
|
END:VTIMEZONE
|
||||||
|
BEGIN:VEVENT
|
||||||
|
ATTENDEE;CN="user2@example.net";CUTYPE=INDIVIDUAL;EMAIL="user2@example
|
||||||
|
.net";PARTSTAT=DECLINED;ROLE=REQ-PARTICIPANT:mailto:user2@example
|
||||||
|
.net
|
||||||
|
ATTENDEE;CN="User One";CUTYPE=INDIVIDUAL;PARTSTAT=ACCEPTED:mailto:
|
||||||
|
user1@example.net
|
||||||
|
DTEND;TZID=Europe/Paris:20101214T030000
|
||||||
|
TRANSP:OPAQUE
|
||||||
|
ORGANIZER;CN="User One":mailto:user1@example.net
|
||||||
|
UID:EE496371-F00D-4550-8E05-13782C5B7A5C
|
||||||
|
DTSTAMP:20101213T001258Z
|
||||||
|
STATUS:CANCELLED
|
||||||
|
SEQUENCE:6
|
||||||
|
SUMMARY:adding event to test invitee with wireshark
|
||||||
|
DTSTART;TZID=Europe/Paris:20101214T020000
|
||||||
|
CREATED:20101212T235850Z
|
||||||
|
END:VEVENT
|
||||||
|
END:VCALENDAR
|
||||||
|
ENDDATA
|
||||||
35
testing/tests/scheduling/Restore-Database.result
Normal file
35
testing/tests/scheduling/Restore-Database.result
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
setval
|
||||||
|
--------
|
||||||
|
1482
|
||||||
|
(1 row)
|
||||||
|
|
||||||
|
setval
|
||||||
|
--------
|
||||||
|
1
|
||||||
|
(1 row)
|
||||||
|
|
||||||
|
setval
|
||||||
|
--------
|
||||||
|
10
|
||||||
|
(1 row)
|
||||||
|
|
||||||
|
setval
|
||||||
|
--------
|
||||||
|
10
|
||||||
|
(1 row)
|
||||||
|
|
||||||
|
setval
|
||||||
|
--------
|
||||||
|
1
|
||||||
|
(1 row)
|
||||||
|
|
||||||
|
setval
|
||||||
|
--------
|
||||||
|
6
|
||||||
|
(1 row)
|
||||||
|
|
||||||
|
setval
|
||||||
|
--------
|
||||||
|
1000
|
||||||
|
(1 row)
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user