[Pkg-owncloud-commits] [php-sabre-vobject] 50/65: Test for recurrence rules with no valid instances
David Prévot
taffit at moszumanska.debian.org
Tue Feb 24 23:57:19 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository php-sabre-vobject.
commit 5447137e1aaad4c3c93a9c855df5f1869656d6d4
Author: Martin Porcheron <martin at porcheron.io>
Date: Thu Feb 12 16:27:37 2015 +0000
Test for recurrence rules with no valid instances
Test for the #208 PR, resolves #168 in FreeBusyGenerator
---
tests/VObject/FreeBusyGeneratorTest.php | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/tests/VObject/FreeBusyGeneratorTest.php b/tests/VObject/FreeBusyGeneratorTest.php
index 1e580be..d01ef3a 100644
--- a/tests/VObject/FreeBusyGeneratorTest.php
+++ b/tests/VObject/FreeBusyGeneratorTest.php
@@ -308,6 +308,24 @@ ICS;
"20110101T050000Z/20110102T050000Z",
new \DateTimeZone('America/Toronto')
);
+
+ // Recurrence rule with no valid instances
+ $blob = <<<ICS
+BEGIN:VCALENDAR
+BEGIN:VEVENT
+UID:foobar
+DTSTART:20110101T100000Z
+DTEND:20110103T120000Z
+RRULE:FREQ=WEEKLY;COUNT=1
+EXDATE:20110101T100000Z
+END:VEVENT
+END:VCALENDAR
+ICS;
+
+ $tests[] = array(
+ $blob,
+ array()
+ );
return $tests;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabre-vobject.git
More information about the Pkg-owncloud-commits
mailing list