Florian Schlichting
1301b2c494
Apache 2.4.35 stops sending Content-Type headers for 204 No Content responses
...
Normalize results so tests work with newer and older versions
This change is similar to e565cc0a5e4af0330fe5a1ab6f2476be7fb10df4 and
following
From the Apache 2.4.35 changelog:
*) http: Enforce consistently no response body with both 204 and 304
statuses. [Yann Ylavic]
2018-12-22 00:12:54 +01:00
Andrew Ruthven
95ad5ec373
Allow database dumps to be restored in test suite.
...
Primary fix is the search_path to ensure that the collection table
is in the search path so that the copy into dav_binding (and
possibly others) will work.
I also suppressed the warning about plpgsql.
2018-11-12 18:00:30 +13:00
Florian Schlichting
44ff0b3286
update tests for changed etags, unstable REV/UID or sort order, improved property parsing
...
Changed line wrapping in awl is one major reason for etag changes.
With this commit, all tests in regression-suite, binding and carddav
pass for me, using the configuration outlined in README.regression_tests
2017-09-21 00:39:30 +02:00
Florian Schlichting
202542dc1b
updates for bulk addressbook import
2017-01-07 02:17:29 +01:00
Florian Schlichting
4ef5730bef
Restore-Database.result: error setting plpgsql COMMENT and lots more setval in dump
2017-01-01 20:46:36 +01:00
Florian Schlichting
fa2517b983
Update other testsuites for contenttype, PROPPATCH and 204 No Content changes
2017-01-01 20:46:31 +01:00
Andrew McMillan
f3b67a2c62
Improve result checking
2013-10-15 23:48:29 +13:00
Andrew McMillan
9fe1bc73b2
Case folding of property names
2013-10-15 23:47:47 +13:00
Andrew McMillan
48d22782f7
Correct regression host name.
2013-07-15 13:11:08 +12:00
Andrew McMillan
0fb4cdd6df
URL fixes in regression tests.
2012-07-09 01:17:49 +12:00
Andrew McMillan
e3acbd6d14
Updated test results.
2012-07-09 01:17:33 +12:00
Andrew McMillan
3dba46cd8e
Result of default props on an addressbok query.
2012-07-09 01:17:02 +12:00
Andrew McMillan
483683d3f6
Result ordering and other trivial regression test changes.
2012-05-14 23:26:12 +12:00
Andrew McMillan
677513b49d
Current regression test results.
2012-05-03 19:12:42 +12:00
Andrew McMillan
7c15051f84
Further fixes to WebDAV synchronization.
...
This should be fully reliable now and also cleans out all sync
changes more than one week old. update-database is needed to pull
the new function.
2012-04-17 15:44:09 +12:00
Andrew McMillan
beecb1674d
Test result changes for previous commit.
2012-04-16 12:56:08 +12:00
Andrew McMillan
200b3a08dd
Refactor checking of If-*-Match headers into a single place.
...
This also exposes and fixes a bug in PUT vcard where If-None-Match: "*"
was not being correctly processed.
2012-04-04 16:20:41 +12:00
Andrew McMillan
739d024305
Further regression test results changes from the caldav-proxy header.
2012-03-22 14:56:02 +13:00
Andrew McMillan
6b88c6b8b2
CardDAV test & result changes for new processing.
2012-01-13 17:41:09 +13:00
Andrew McMillan
d226395258
Minor updates to tests.
2011-12-14 22:19:16 +13:00
Andrew McMillan
b4e50d8803
One more sync-action in prior tests.
2011-12-03 14:22:09 +13:00
Andrew McMillan
a2b3e2e869
Regression tests for empty CardDAV:address-data element.
2011-11-02 10:16:06 +13:00
Andrew McMillan
5b921b3884
Test for 'deflate' content encoding.
2011-10-07 07:34:49 +02:00
Andrew McMillan
d1f0a1cc76
New & variously improved regression tests.
2011-10-06 11:10:02 +02:00
Andrew McMillan
323e6a3011
The final revision of the sync-collection report requires the token to be a URI.
...
We'll use a 'data' URI (like CalendarServer does) to jump through this
arbitrary hoop.
2011-10-03 16:29:11 +02:00
Andrew McMillan
5f4b40a643
One more fix for timezone database changes.
2011-09-18 17:03:37 +12:00
Andrew McMillan
4e5b824302
Make PUT processing use olson_from_tzstring().
2011-09-13 13:12:35 +12:00
Andrew McMillan
aa05688e4e
Test for IsCollection() before IsBinding() when we are deleting.
2011-09-12 10:52:16 +12:00
Andrew McMillan
4f01fe0a17
Add items to attendee's calendars as well as to their inboxes on PUT.
2011-09-10 00:17:27 +12:00
Andrew McMillan
fa48854fbe
Changes to the number of rows in the test DB.
2011-09-07 23:54:38 +12:00
Andrew McMillan
27deec06ac
Test results including calendar-auto-schedule header as default.
2011-08-24 20:39:58 +12:00
Andrew McMillan
aaa0908b1a
Add new import test with UTF-8 and missing UID.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-04-03 21:35:49 +12:00
Andrew McMillan
2b072fda13
Additional collection during regression testing.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-02-22 15:42:05 +13:00
Andrew McMillan
655e3bfdaf
Updated dav_id's due to more events in test database.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-04 23:26:12 +13:00
Andrew McMillan
f305cdf4cb
A few more places we need to ensure the collection is uncached.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-01 21:55:55 +13:00
Andrew McMillan
90c35ec385
Add another event into our testing.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-01 21:26:27 +13:00
Andrew McMillan
4178ab4254
Add caching of collection reads
...
Also a special header is added for telling DAViCal to flush the
cache during regression testing etc.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-01 21:25:46 +13:00
Andrew McMillan
7cec81592d
More testing stuff.
2010-12-25 16:14:44 +13:00
Andrew McMillan
9805a040c8
Another vcard PUT test.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-25 15:57:01 +13:00
Andrew McMillan
fd20cfa35b
/.well-known/* now returns a 301 redirect, per spec.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-11-30 12:41:43 +13:00
Andrew McMillan
88c45e1e7b
sync-collection results change with -04 alignment.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-11-30 12:39:46 +13:00
Andrew McMillan
5ac737c354
Various test result changes.
2010-11-30 12:39:02 +13:00
Andrew McMillan
5788a5b62d
Changes to IDs due to minor regression process change.
2010-11-06 22:35:31 +13:00
Andrew McMillan
515a31bbc8
Add the ACL to the supported methods.
2010-11-06 19:02:55 +13:00
Andrew McMillan
a47f636392
Updated test results
2010-10-09 09:21:33 -04:00
Andrew McMillan
296379c734
Add an 'all' regression set which creates the initial DB for the others.
...
As a result we don't need to keep the initial databases in Git, or
in the release, and we have a way of running all regression tests
as well as just running small subsets when we need to.
2010-09-25 22:29:54 +12:00
Andrew McMillan
b80dd10c7b
Add a configuration option to use the older 'sync-response' tag.
...
When the WebDAV sync draft first came out the responses were each
contained in a DAV::sync-response tag, but by -03 this has changed
to a DAV::response tag since the format of the tag contents now
match this existing tag structure.
Unfortunately some client software in the wild depends on this
being a DAV::sync-response so the config option is needed to
interoperate with this software.
2010-09-25 17:18:54 +12:00
Andrew McMillan
a9453bf589
Regression tests including sync on addressbkook collections.
2010-09-23 23:22:29 +12:00
Andrew McMillan
22d1b9e4cf
Results ordering changes in tests.
2010-09-21 12:16:00 +12:00
Andrew McMillan
ef3978d27c
Regression result changes.
2010-09-12 16:31:05 +12:00