/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAVACL/PrincipalBackend/ |
H A D | AbstractPDOTest.php | 16 $backend = new PDO($pdo); 17 $this->assertTrue($backend instanceof PDO); 27 $backend = new PDO($pdo); 53 $backend = new PDO($pdo); 70 $backend = new PDO($pdo); 80 $backend = new PDO($pdo); 92 $backend = new PDO($pdo); 110 $backend = new PDO($pdo); 129 $backend = new PDO($pdo); 145 ), $backend->getPrincipalByPath('principals/user')); [all …]
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CardDAV/Backend/ |
H A D | AbstractPDOTest.php | 13 protected $backend; variable in Sabre\\CardDAV\\Backend\\AbstractPDOTest 24 $this->backend = new PDO($pdo); 142 $this->backend->deleteAddressBook(1); 193 $result = $this->backend->getCards(1); 211 $result = $this->backend->getCard(1,'card1'); 233 $result = $this->backend->getCard(1,'card2'); 295 $result = $this->backend->getCard(1,'card1'); 306 $this->backend->deleteCard(1, 'card1'); 314 $backend = $this->backend; 315 $id = $backend->createAddressBook( [all …]
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/PropertyStorage/Backend/ |
H A D | AbstractPDOTest.php | 26 $backend = $this->getBackend(); 37 $backend = $this->getBackend(); 52 $backend = $this->getBackend(); 70 $backend = $this->getBackend(); 91 $backend = $this->getBackend(); 111 $backend = $this->getBackend(); 129 $backend = $this->getBackend(); 130 $backend->delete('dir'); 144 $backend = $this->getBackend(); 150 $backend->move('dir','dir2'); [all …]
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Locks/Backend/ |
H A D | AbstractTest.php | 17 $backend = $this->getBackend(); 27 $backend = $this->getBackend(); 38 $locks = $backend->getLocks('someuri', false); 51 $backend = $this->getBackend(); 76 $backend = $this->getBackend(); 95 $backend = $this->getBackend(); 109 $locks = $backend->getLocks('someuri', false); 112 $locks = $backend->getLocks('someuri', true); 122 $backend = $this->getBackend(); 150 $backend = $this->getBackend(); [all …]
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Auth/Backend/ |
H A D | AbstractDigestTest.php | 15 $backend = new AbstractDigestMock(); 17 $backend->check($request, $response)[0] 30 $backend = new AbstractDigestMock(); 49 $backend = new AbstractDigestMock(); 51 $backend->check($request, $response) 54 $backend = new AbstractDigestMock(); 55 $backend->check($request, $response); 68 $backend = new AbstractDigestMock(); 85 $backend = new AbstractDigestMock(); 104 $backend = new AbstractDigestMock(); [all …]
|
H A D | ApacheTest.php | 12 $backend = new Apache(); 13 $this->assertInstanceOf('Sabre\DAV\Auth\Backend\Apache', $backend); 21 $backend = new Apache(); 24 $backend->check($request, $response)[0] 35 $backend = new Apache(); 39 $backend->check($request, $response) 50 $backend = new Apache(); 54 $backend->check($request, $response) 64 $backend = new Apache(); 65 $backend->challenge($request, $response);
|
H A D | AbstractBasicTest.php | 17 $backend = new AbstractBasicMock(); 20 $backend->check($request, $response)[0] 33 $backend = new AbstractBasicMock(); 36 $backend->check($request, $response)[0] 49 $backend = new AbstractBasicMock(); 52 $backend->check($request, $response) 62 $backend = new AbstractBasicMock(); 63 $backend->setRealm('writing unittests on a saturday night'); 64 $backend->challenge($request, $response);
|
H A D | AbstractPDOTest.php | 14 $backend = new PDO($pdo); 15 $this->assertTrue($backend instanceof PDO); 25 $backend = new PDO($pdo); 27 $this->assertNull($backend->getDigestHash('realm','blabla')); 31 $this->assertEquals($expected, $backend->getDigestHash('realm','user'));
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CalDAV/Schedule/ |
H A D | SchedulingObjectTest.php | 12 protected $backend; variable in Sabre\\CalDAV\\Schedule\\SchedulingObjectTest 25 $this->backend = new Backend\MockScheduling(); 52 unset($this->backend); 213 $backend = new Backend\MockScheduling([], []); 273 $backend = new Backend\MockScheduling(); 276 $obj = new SchedulingObject($backend, array( 296 $obj = new SchedulingObject($backend, $objectInfo); 311 $obj = new SchedulingObject($backend, $objectInfo); 326 $obj = new SchedulingObject($backend, $objectInfo); 340 $obj = new SchedulingObject($backend, $objectInfo); [all …]
|
H A D | InboxTest.php | 108 $backend = new CalDAV\Backend\MockScheduling(); 110 $backend, 118 …$backend->createSchedulingObject('principals/user1', 'schedule1.ics', "BEGIN:VCALENDAR\r\nEND:VCAL… 136 $backend = new CalDAV\Backend\MockScheduling(); 138 $backend, 164 $backend = new CalDAV\Backend\MockScheduling(); 166 $backend, 174 …$backend->createSchedulingObject('principals/user1', 'schedule1.ics', "BEGIN:VCALENDAR\r\nEND:VCAL…
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CalDAV/ |
H A D | CalendarHomeNotificationsTest.php | 9 protected $backend; variable in Sabre\\CalDAV\\CalendarHomeNotificationsTest 13 $backend = new Backend\Mock(); 14 $calendarHome = new CalendarHome($backend,['uri' => 'principals/user']); 28 $backend = new Backend\Mock(); 29 $calendarHome = new CalendarHome($backend,['uri' => 'principals/user']); 36 $backend = new Backend\MockSharing(); 37 $calendarHome = new CalendarHome($backend,['uri' => 'principals/user']); 46 $backend = new Backend\MockSharing(); 47 $calendarHome = new CalendarHome($backend,['uri' => 'principals/user']);
|
H A D | CalendarObjectTest.php | 13 protected $backend; variable in Sabre\\CalDAV\\CalendarObjectTest 23 $this->backend = TestUtil::getBackend(); 27 $this->calendar = new Calendar($this->backend, $calendars[0]); 34 unset($this->backend); 214 $backend = new Backend\Mock([], []); 309 $backend = new Backend\Mock(array(), array( 332 $backend = new Backend\Mock(array(), array()); 347 $backend = new Backend\Mock(array(), array()); 362 $backend = new Backend\Mock(array(), array()); 376 $backend = new Backend\Mock(array(), array()); [all …]
|
H A D | TestUtil.php | 9 $backend = new Backend\PDO(self::getSQLiteDB()); 10 return $backend; 28 $backend = new Backend\PDO($pdo); 29 $calendarId = $backend->createCalendar( 39 $backend->createCalendar( 49 $backend->createCalendarObject($calendarId, 'UUID-2345', self::getTestCalendarData());
|
H A D | ShareableCalendarTest.php | 9 protected $backend; variable in Sabre\\CalDAV\\ShareableCalendarTest 18 $this->backend = new Backend\MockSharing( 21 $this->backend->updateShares(1, array( 29 $this->instance = new ShareableCalendar($this->backend, $props);
|
H A D | CalendarTest.php | 15 protected $backend; variable in Sabre\\CalDAV\\CalendarTest 30 $this->backend = TestUtil::getBackend(); 32 $this->calendars = $this->backend->getCalendarsForUser('principals/user1'); 34 $this->calendar = new Calendar($this->backend, $this->calendars[0]); 41 unset($this->backend); 65 $calendars2 = $this->backend->getCalendarsForUser('principals/user1'); 165 $calendar = new Calendar($this->backend, $this->calendars[1]); 177 $calendars = $this->backend->getCalendarsForUser('principals/user1');
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAVACL/ |
H A D | PrincipalCollectionTest.php | 13 $backend = new PrincipalBackend\Mock(); 14 $pc = new PrincipalCollection($backend); 26 $backend = new PrincipalBackend\Mock(); 27 $pc = new PrincipalCollection($backend); 44 $backend = new PrincipalBackend\Mock(); 45 $pc = new PrincipalCollection($backend); 54 $backend = new PrincipalBackend\Mock(); 55 $pc = new PrincipalCollection($backend);
|
/plugin/webdav/vendor/sabre/dav/lib/DAV/PropertyStorage/ |
H A D | Plugin.php | 43 public $backend; variable in Sabre\\DAV\\PropertyStorage\\Plugin 50 function __construct(Backend\BackendInterface $backend) { argument 52 $this->backend = $backend; 91 $this->backend->propFind($propFind->getPath(), $propFind); 109 $this->backend->propPatch($path, $propPatch); 126 $this->backend->delete($path); 147 $this->backend->move($source, $destination);
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CardDAV/ |
H A D | TestUtil.php | 11 $backend = new Backend\PDO(self::getSQLiteDB()); 12 return $backend; 30 $backend = new Backend\PDO($pdo); 31 $addressbookId = $backend->createAddressBook( 39 $backend->createAddressBook( 47 $backend->createCard($addressbookId, 'UUID-2345', self::getTestCardData());
|
H A D | CardTest.php | 14 protected $backend; variable in Sabre\\CardDAV\\CardTest 18 $this->backend = new Backend\Mock(); 20 $this->backend, 44 $this->backend, 79 $this->assertEquals(1, count($this->backend->cards['foo'])); 98 $this->backend, 131 $this->backend, 169 $this->backend,
|
/plugin/davcal/vendor/sabre/dav/lib/DAV/PropertyStorage/ |
H A D | Plugin.php | 45 function __construct(Backend\BackendInterface $backend) { argument 47 $this->backend = $backend; 86 $this->backend->propFind($propFind->getPath(), $propFind); 104 $this->backend->propPatch($path, $propPatch); 121 $this->backend->delete($path); 142 $this->backend->move($source, $destination);
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CalDAV/Backend/ |
H A D | AbstractPDOTest.php | 15 $backend = new PDO($this->pdo); 16 $this->assertTrue($backend instanceof PDO); 25 $backend = new PDO($this->pdo); 26 $calendars = $backend->getCalendarsForUser('principals/user2'); 36 $backend = new PDO($this->pdo); 69 $backend = new PDO($this->pdo); 80 $backend->updateCalendar($newId, $propPatch); 709 $backend = new PDO($this->pdo); 754 $backend = new PDO($this->pdo); 797 $backend = new PDO($this->pdo); [all …]
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CalDAV/Principal/ |
H A D | ProxyReadTest.php | 8 protected $backend; variable in Sabre\\CalDAV\\Principal\\ProxyReadTest 12 $backend = new DAVACL\PrincipalBackend\Mock(); 13 $principal = new ProxyRead($backend, array( 16 $this->backend = $backend; 98 $this->assertEquals($expected, $this->backend->groupMembers);
|
H A D | ProxyWriteTest.php | 10 $backend = new DAVACL\PrincipalBackend\Mock(); 11 $principal = new ProxyWrite($backend, array( 14 $this->backend = $backend;
|
H A D | UserTest.php | 10 $backend = new DAVACL\PrincipalBackend\Mock(); 11 $backend->addPrincipal(array( 14 $backend->addPrincipal(array( 17 $backend->addPrincipal(array( 20 return new User($backend, array(
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/PropertyStorage/ |
H A D | PluginTest.php | 7 protected $backend; variable in Sabre\\DAV\\PropertyStorage\\PluginTest 15 $this->backend = new Backend\Mock(); 17 $this->backend 40 ], $this->backend->data); 65 $this->assertEquals([],$this->backend->data); 102 $this->assertEquals([], $this->backend->data);
|