"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "vendor/sabre/vobject/tests/VObject/FreeBusyGeneratorTest.php" between
sabredav-3.1.2.zip and sabredav-3.1.3.zip

About: SabreDAV allows you to easily add WebDAV support to a PHP application.

FreeBusyGeneratorTest.php  (sabredav-3.1.2):FreeBusyGeneratorTest.php  (sabredav-3.1.3)
<?php <?php
namespace Sabre\VObject; namespace Sabre\VObject;
class FreeBusyGeneratorTest extends TestCase { class FreeBusyGeneratorTest extends \PHPUnit_Framework_TestCase {
use PHPUnitAssertions;
function testGeneratorBaseObject() { function testGeneratorBaseObject() {
$obj = new Component\VCalendar(); $obj = new Component\VCalendar();
$obj->METHOD = 'PUBLISH'; $obj->METHOD = 'PUBLISH';
$gen = new FreeBusyGenerator(); $gen = new FreeBusyGenerator();
$gen->setObjects([]); $gen->setObjects([]);
$gen->setBaseObject($obj); $gen->setBaseObject($obj);
skipping to change at line 83 skipping to change at line 85
BEGIN:VCALENDAR BEGIN:VCALENDAR
VERSION:2.0 VERSION:2.0
BEGIN:VFREEBUSY BEGIN:VFREEBUSY
DTSTART:20110101T110000Z DTSTART:20110101T110000Z
DTEND:20110103T110000Z DTEND:20110103T110000Z
$expected $expected
END:VFREEBUSY END:VFREEBUSY
END:VCALENDAR END:VCALENDAR
ICS; ICS;
$this->assertVObjEquals($expected, $output); $this->assertVObjectEqualsVObject($expected, $output);
} }
function testSimple() { function testSimple() {
$blob = <<<ICS $blob = <<<ICS
BEGIN:VCALENDAR BEGIN:VCALENDAR
BEGIN:VEVENT BEGIN:VEVENT
UID:foobar UID:foobar
DTSTART:20110101T120000Z DTSTART:20110101T120000Z
 End of changes. 2 change blocks. 
2 lines changed or deleted 4 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS