davical/testing/tests/regression-suite/0216-Moz-PUT-Completed-Task.test
Andrew Ruthven 7c47658bee Make the curl and SQL requests when we see them
This allows us to have more complex test files where an action is taken, then
we test something, then another action is taken, etc.

Changes to test files are required so that URL is defined after all the
required settings are set.

Changes to the result files are either whitespace changes due to above logic
changes, or printing out a SQL Result header before each result. I figured it
was useful.
2024-04-01 22:57:10 +13:00

54 lines
1.5 KiB
Plaintext

#
# PUT a completed task in the calendar
#
TYPE=PUT
HEADER=User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.7pre) Gecko/20070805 Calendar/0.7pre
HEADER=Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
HEADER=Accept-Language: en-us,en;q=0.5
HEADER=Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
HEADER=Content-Type: text/calendar; charset=utf-8
HEAD
BEGINDATA
BEGIN:VCALENDAR
PRODID:-//Mozilla Calendar//NONSGML Sunbird//EN
VERSION:2.0
BEGIN:VTIMEZONE
TZID:/mozilla.org/20070129_1/Antarctica/McMurdo
X-LIC-LOCATION:Antarctica/McMurdo
BEGIN:STANDARD
TZOFFSETFROM:+1300
TZOFFSETTO:+1200
TZNAME:NZST
DTSTART:19700315T030000
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=3SU;BYMONTH=3
END:STANDARD
BEGIN:DAYLIGHT
TZOFFSETFROM:+1200
TZOFFSETTO:+1300
TZNAME:NZDT
DTSTART:19701004T020000
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=1SU;BYMONTH=10
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VTODO
CREATED:20070805T201647Z
LAST-MODIFIED:20070805T201834Z
DTSTAMP:20070805T201647Z
UID:0575d895-a006-4ed8-9be6-0d1b6b6b1f96
SUMMARY:Due 7/8/7 16:30\, completed
STATUS:COMPLETED
DUE;TZID=/mozilla.org/20070129_1/Antarctica/McMurdo:20070807T163000
COMPLETED:20070805T201737Z
PERCENT-COMPLETE:100
X-MOZ-LOCATIONPATH:0575d895-a006-4ed8-9be6-0d1b6b6b1f96.ics
DESCRIPTION:Due on 7/8/7 at 4:30pm\, but completed alread on 6/8/7
CATEGORIES:Projects
END:VTODO
END:VCALENDAR
ENDDATA
URL=http://regression.host/caldav.php/user1/home/0575d895-a006-4ed8-9be6-0d1b6b6b1f96.ics