ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
LineFoldingIssueTest.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Sabre\VObject;
4 
6 
7 class LineFoldingIssueTest extends TestCase {
8 
9  function testRead() {
10 
11  $event = <<<ICS
12 BEGIN:VCALENDAR\r
13 BEGIN:VEVENT\r
14 DESCRIPTION:TEST\\n\\n \\n\\nTEST\\n\\n \\n\\nTEST\\n\\n \\n\\nTEST\\n\\nTEST\\nTEST, TEST\r
15 END:VEVENT\r
16 END:VCALENDAR\r
17 
18 ICS;
19 
20  $obj = Reader::read($event);
21  $this->assertEquals($event, $obj->serialize());
22 
23  }
24 
25 }
foreach($paths as $path) duplicate contact merge tool n
static read($data, $options=0, $charset='UTF-8')
Parses a vCard or iCalendar object, and returns the top component.
Definition: Reader.php:42