Lines Matching refs:calendar
20 protected $calendar; variable in Sabre\\CalDAV\\CalendarTest
34 $this->calendar = new Calendar($this->backend, $this->calendars[0]);
47 $this->assertEquals($this->calendars[0]['uri'], $this->calendar->getName());
60 $result = $this->calendar->propPatch($propPatch);
79 $result = $this->calendar->getProperties($question);
93 $this->calendar->getChild('randomname');
102 $children = $this->calendar->getChildren();
114 $this->assertFalse($this->calendar->childExists('foo'));
116 $children = $this->calendar->getChildren();
117 $this->assertTrue($this->calendar->childExists($children[0]->getName()));
127 $this->calendar->createDirectory('hello');
136 $this->calendar->setName('hello');
142 $this->assertNull($this->calendar->getLastModified());
152 $this->calendar->createFile('hello',$file);
154 $file = $this->calendar->getChild('hello');
165 $calendar = new Calendar($this->backend, $this->calendars[1]);
166 $calendar->createFile('hello',$file);
168 $file = $calendar->getChild('hello');
175 $this->calendar->delete();
183 $this->assertEquals('principals/user1',$this->calendar->getOwner());
189 $this->assertNull($this->calendar->getGroup());
227 $this->assertEquals($expected, $this->calendar->getACL());
236 $this->calendar->setACL(array());
242 $result = $this->calendar->getSupportedPrivilegeSet();
253 $this->assertEquals(2, $this->calendar->getSyncToken());
258 $calendar = new Calendar(new Backend\Mock([],[]), [
261 $this->assertEquals(2, $this->calendar->getSyncToken());
267 $calendar = new Calendar(new Backend\Mock([],[]), []);
268 $this->assertNull($calendar->getSyncToken());
279 ], $this->calendar->getChanges(1, 1));
285 $calendar = new Calendar(new Backend\Mock([],[]), []);
286 $this->assertNull($calendar->getChanges(1,null));