You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
415 B
24 lines
415 B
|
11 years ago
|
<?php
|
||
|
|
|
||
|
|
namespace Sabre\VObject;
|
||
|
|
|
||
|
|
class LineFoldingIssueTest extends \PHPUnit_Framework_TestCase {
|
||
|
|
|
||
|
|
function testRead() {
|
||
|
|
|
||
|
|
$event = <<<ICS
|
||
|
|
BEGIN:VCALENDAR\r
|
||
|
|
BEGIN:VEVENT\r
|
||
|
|
DESCRIPTION:TEST\\n\\n \\n\\nTEST\\n\\n \\n\\nTEST\\n\\n \\n\\nTEST\\n\\nTEST\\nTEST, TEST\r
|
||
|
|
END:VEVENT\r
|
||
|
|
END:VCALENDAR\r
|
||
|
|
|
||
|
|
ICS;
|
||
|
|
|
||
|
|
$obj = Reader::read($event);
|
||
|
|
$this->assertEquals($event, $obj->serialize());
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|