ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Issue26Test.php
Go to the documentation of this file.
1<?php
2
4
5use PHPUnit\Framework\TestCase;
8
9class Issue26Test extends TestCase {
10
14 function testExpand() {
15
16 $input = <<<ICS
17BEGIN:VCALENDAR
18VERSION:2.0
19BEGIN:VEVENT
20UID:bae5d57a98
21RRULE:FREQ=MONTHLY;BYDAY=0MO,0TU,0WE,0TH,0FR;INTERVAL=1
22DTSTART;VALUE=DATE:20130401
23DTEND;VALUE=DATE:20130402
24END:VEVENT
25END:VCALENDAR
26ICS;
27
29 $this->assertInstanceOf('Sabre\\VObject\\Component\\VCalendar', $vcal);
30
31 $it = new EventIterator($vcal, 'bae5d57a98');
32
33 }
34
35}
An exception for terminatinating execution or to throw for unit testing.
iCalendar/vCard/jCal/jCard/xCal/xCard reader object.
Definition: Reader.php:15
static read($data, $options=0, $charset='UTF-8')
Parses a vCard or iCalendar object, and returns the top component.
Definition: Reader.php:42
testExpand()
@expectedException \Sabre\VObject\InvalidDataException
Definition: Issue26Test.php:14
This class is used to determine new for a recurring event, when the next events occur.
foreach($paths as $path) if($argc< 3) $input