Home
last modified time | relevance | path

Searched refs:backend (Results 1 – 25 of 87) sorted by relevance

1234

/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAVACL/PrincipalBackend/
H A DAbstractPDOTest.php16 $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 DAbstractPDOTest.php13 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 DAbstractPDOTest.php26 $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 DAbstractTest.php17 $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 DAbstractDigestTest.php15 $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 DApacheTest.php12 $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 DAbstractBasicTest.php17 $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 DAbstractPDOTest.php14 $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 DSchedulingObjectTest.php12 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 DInboxTest.php108 $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 DCalendarHomeNotificationsTest.php9 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 DCalendarObjectTest.php13 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 DTestUtil.php9 $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 DCalendarTest.php15 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');
H A DShareableCalendarTest.php9 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);
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAVACL/
H A DPrincipalCollectionTest.php13 $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 DPlugin.php43 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 DTestUtil.php11 $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 DCardTest.php14 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/tests/Sabre/CalDAV/Backend/
H A DAbstractPDOTest.php15 $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/lib/DAV/PropertyStorage/
H A DPlugin.php45 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/Principal/
H A DProxyReadTest.php8 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 DProxyWriteTest.php10 $backend = new DAVACL\PrincipalBackend\Mock();
11 $principal = new ProxyWrite($backend, array(
14 $this->backend = $backend;
H A DUserTest.php10 $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 DPluginTest.php7 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);

1234