Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F1817503
NoInstancesTest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Size
844 B
Subscribers
None
NoInstancesTest.php
View Options
<?php
namespace
Sabre\VObject\Recur
;
use
Sabre\VObject\Reader
;
class
IssueEXDATETest
extends
\PHPUnit_Framework_TestCase
{
/**
* @expectedException \Sabre\VObject\Recur\NoInstancesException
*/
function
testRecurrence
()
{
$input
=
<<<ICS
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
BEGIN:VEVENT
DTSTART;TZID=Europe/Berlin:20130329T140000
DTEND;TZID=Europe/Berlin:20130329T153000
RRULE:FREQ=WEEKLY;BYDAY=FR;UNTIL=20130412T115959Z
EXDATE;TZID=Europe/Berlin:20130405T140000
EXDATE;TZID=Europe/Berlin:20130329T140000
DTSTAMP:20140916T201215Z
UID:foo
SEQUENCE:1
SUMMARY:foo
END:VEVENT
END:VCALENDAR
ICS;
$vcal
=
Reader
::
read
(
$input
);
$this
->
assertInstanceOf
(
'Sabre
\\
VObject
\\
Component
\\
VCalendar'
,
$vcal
);
$it
=
new
EventIterator
(
$vcal
,
'foo'
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Dec 21, 3:22 AM (3 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
916963
Default Alt Text
NoInstancesTest.php (844 B)
Attached To
rDAVCAL DokuWiki DAVCal PlugIn
Event Timeline
Log In to Comment