501 Commits

Author SHA1 Message Date
Andrew McMillan
076cf0f7ee Changes to recurrence-id order in test.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-16 16:45:48 +13:00
Andrew McMillan
49a62c701b Expanded events moved recurrence-id.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-12 10:03:58 +13:00
Andrew McMillan
e28f200c5f Only add a recurrence-id if this is actually a repeating instance.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-05 11:55:35 +13:00
Andrew McMillan
23b8b84003 Changes due to updated handling of floating times
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-04 23:30:23 +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
39c6d5e581 Correct regression test data reference. 2011-01-04 18:48:37 +13:00
Andrew McMillan
595e724426 Fix bug in handling bound resources with DAVResource changes.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-04 18:46:51 +13:00
Andrew McMillan
d5e0684ad6 Corrected results for spec fixes in expanded calendar-query.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-04 16:51:08 +13:00
Andrew McMillan
7d135d39fa Correct handling of floating events & BYYEARDAY.
Also some minor refactoring.  Regression tests for all NZ holidays
from 2005 to 2011 (only the calculatable ones for 2005-2008).

Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-04 16:46:57 +13:00
Andrew McMillan
b35d71e69c List all of a user's calendar homes
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-03 10:11:27 +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
1e4c7e7a26 Output the database error when a query fails.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-27 18:23:53 +13:00
Andrew McMillan
34a27d126d Refactor PUT functions to set modified/created dates more correctly.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-27 18:23:13 +13:00
Andrew McMillan
be71269331 Move test data into test.
Also added a DTSTAMP property to the data, which Chandler (at
least the very old version I was using when I did this testing
in the first place) omitted.

Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-27 18:22:30 +13:00
Andrew McMillan
b15fcb3f77 Refactoring of RRule-v2, which incidentally fixes a bug!
VALUE=DATE:YYYYMMDD dates should now work better, and all date
parsing is much more robust.

Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-26 17:41:52 +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
84ab84329a New test for empty propfind request.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-25 15:55:57 +13:00
Andrew McMillan
ac190c7277 Fix bugs in previous commit. Plus regression tests for it.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-07 09:39:16 +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
6f87c13cf2 Make list of test suites overridable in configuration. 2010-11-21 00:52:11 +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
6533a89b7e Change regression runner to look for sample data with tests. 2010-11-06 18:05:04 +13:00
Andrew McMillan
cd6a609ea2 Always grant 'DAV::read' privilege from principal to group members.
Some clients want to read the group principal before they're happy
to access the group's calendar collections.  This grants them the
DAV::read privilege so they can do that.

Also see: https://bugzilla.mozilla.org/show_bug.cgi?id=610087
2010-11-06 15:12:35 +13:00
Andrew McMillan
1fd83c54ca New tests, especially focused on expansion and privacy checks. 2010-10-09 09:22:43 -04:00
Andrew McMillan
a47f636392 Updated test results 2010-10-09 09:21:33 -04:00
Andrew McMillan
250c66e8d5 Move the first expanded REPORT test to a better name. 2010-10-07 18:27:20 -04:00
Andrew McMillan
d75b525cf4 Don't supply freebusy for 0-duration events. 2010-10-07 17:27:21 -04:00
Andrew McMillan
6c4e2de41b Another regression test for free/busy catching many events. 2010-10-07 15:47:25 -04:00
Andrew McMillan
2cb3b14f2a Add an event with a thoroughly bogus tzid to ensure we cope. 2010-10-07 15:39:32 -04:00
Andrew McMillan
6635026ca1 Minor changes due to the recent enhancements. 2010-09-25 22:33:07 +12: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
Andrew McMillan
ed9b3ae693 Tweaking OPTIONS output. 2010-09-12 16:22:58 +12:00
Andrew McMillan
0d9edf6632 Making regression tests work on Lenny. 2010-09-12 14:47:26 +12:00
Andrew McMillan
a0ca0e27c7 Whoops: we weren't sending an ETag on PUT for non-Calendar resources. 2010-09-12 13:13:27 +12:00
Andrew McMillan
a96fc08016 Current regression test results. Mainly due to wrapping changes. 2010-09-12 11:56:29 +12:00
Andrew McMillan
c7b647a919 Add a regression test for initial sync-report on a bound collection. 2010-09-12 11:55:56 +12:00
Andrew McMillan
8afb4676fa [regression tests] Use tar mode for dumps rather than -Fc
The tar mode will be more reliable for restore on older systems
I hope.
2010-09-12 11:54:32 +12:00
Andrew McMillan
937c212b1a [regression tests] Result changes due to UTF8 wrapping fixes in AWL. 2010-09-11 23:13:43 +12:00
Andrew McMillan
52695d86ec More binding tests. 2010-09-02 23:06:09 +12:00
Andrew McMillan
6e9cc9dcfd Moving regression tests for WebDAV Bindings. 2010-09-02 21:06:58 +12:00