Home
last modified time | relevance | path

Searched refs:assertEquals (Results 251 – 275 of 1007) sorted by last modified time

1...<<11121314151617181920>>...41

/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/
H A DHttpHeadTest.php37 $this->assertEquals(200, $response->getStatus());
42 $this->assertEquals(
52 $this->assertEquals('', $response->getBodyAsString());
66 $this->assertEquals(200, $response->getStatus());
91 $this->assertEquals(200, $response->getStatus());
93 $this->assertEquals(1, $count, 'Auth was triggered twice :(');
H A DHttpMoveTest.php37 $this->assertEquals(403, $response->getStatus());
38 $this->assertEquals('content1', $this->tree->getChild('file1')->get());
48 $this->assertEquals(201, $response->getStatus(), print_r($response,true));
49 $this->assertEquals('content1', $this->tree->getChild('file3')->get());
60 $this->assertEquals(204, $response->getStatus(), print_r($response,true));
61 $this->assertEquals('content1', $this->tree->getChild('file2')->get());
74 $this->assertEquals('content1', $this->tree->getChild('file2')->get());
87 $this->assertEquals('content1', $this->tree->getChild('file1')->get());
88 $this->assertEquals('content2', $this->tree->getChild('file2')->get());
113 $this->assertEquals('content1', $this->tree->getChild('file1')->get());
[all …]
H A DHttpPutTest.php41 $this->assertEquals(
46 $this->assertEquals(
70 $this->assertEquals(
75 $this->assertEquals(
104 $this->assertEquals(
109 $this->assertEquals(
138 $this->assertEquals(
143 $this->assertEquals(
191 $this->assertEquals(
196 $this->assertEquals(
[all …]
H A DObjectTreeTest.php47 $this->assertEquals('contents',file_get_contents(SABRE_TEMPDIR.'/root/file2.txt'));
59 … $this->assertEquals('subcontents',file_get_contents(SABRE_TEMPDIR.'/root/subdir2/subfile.txt'));
71 $this->assertEquals('contents',file_get_contents(SABRE_TEMPDIR.'/root/file2.txt'));
83 $this->assertEquals('contents',file_get_contents(SABRE_TEMPDIR.'/root/subdir/file2.txt'));
96 … $this->assertEquals('subcontents',file_get_contents(SABRE_TEMPDIR.'/root/subdir2/subfile.txt'));
H A DPropFindTest.php12 $this->assertEquals([
24 $this->assertEquals([
35 $this->assertEquals([
46 $this->assertEquals([
58 $this->assertEquals([
70 $this->assertEquals([
H A DPropPatchTest.php24 $this->assertEquals('foo', $value);
30 $this->assertEquals(['{DAV:}displayname' => 200], $result);
42 $this->assertEquals('foo', $value);
60 $this->assertEquals('foo', $value);
213 $this->assertEquals([
251 $this->assertEquals([
262 $this->assertEquals([
283 $this->assertEquals([
294 $this->assertEquals([
314 $this->assertEquals([
[all …]
H A DServerCopyMoveTest.php65 $this->assertEquals(array(
72 $this->assertEquals('Test contents', file_get_contents(SABRE_TEMPDIR. '/test2.txt'));
89 $this->assertEquals('Test contents', file_get_contents(SABRE_TEMPDIR. '/test.txt'));
106 $this->assertEquals(array(
113 $this->assertEquals(409, $this->response->status);
130 $this->assertEquals(400, $this->response->status);
148 $this->assertEquals(array(
171 $this->assertEquals(array(
178 $this->assertEquals(201, $this->response->status);
179 $this->assertEquals('Test contents', file_get_contents(SABRE_TEMPDIR . '/test3.txt'));
[all …]
H A DServerMKCOLTest.php21 $this->assertEquals(array(
47 $this->assertEquals(array(
72 $this->assertEquals(array(
97 $this->assertEquals(array(
129 $this->assertEquals(array(
161 $this->assertEquals(array(
193 $this->assertEquals(array(
227 $this->assertEquals(array(
252 $this->assertEquals(array(
277 $this->assertEquals(array(
[all …]
H A DServerRangeTest.php29 $this->assertEquals([
40 $this->assertEquals(206, $this->response->status);
61 $this->assertEquals([
72 $this->assertEquals(206, $this->response->status);
93 $this->assertEquals([
104 $this->assertEquals(206, $this->response->status);
124 $this->assertEquals(416, $this->response->status);
166 $this->assertEquals([
201 $this->assertEquals([
235 $this->assertEquals([
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Locks/Backend/
H A DAbstractTest.php40 $this->assertEquals(1,count($locks));
64 $this->assertEquals(1,count($locks));
89 $this->assertEquals(0,count($locks));
107 $this->assertEquals(1,count($locks));
110 $this->assertEquals(0,count($locks));
113 $this->assertEquals(1,count($locks));
138 $this->assertEquals(1,count($locks));
161 $this->assertEquals(1,count($locks));
166 $this->assertEquals(0,count($locks));
186 $this->assertEquals(1,count($locks));
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Locks/
H A DMSWordTest.php31 …$this->assertEquals(201, $server->httpResponse->getStatus(), 'Full response body:' . $response1->g…
43 $this->assertEquals(201, $server->httpResponse->status);
53 $this->assertEquals(204, $server->httpResponse->status);
H A DPlugin2Test.php46 $this->assertEquals(201, $response->getStatus(), $response->getBodyAsString());
48 $this->assertEquals(
61 $this->assertEquals(204, $response->getStatus(), $response->getBodyAsString());
63 $this->assertEquals(
H A DPluginTest.php45 $this->assertEquals(array(
52 $this->assertEquals(400, $this->response->status);
103 $this->assertEquals('infinity',(string)$depth[0]);
230 $this->assertEquals(201, $this->response->status);
243 $this->assertEquals([
250 $this->assertEquals(400, $this->response->status);
263 $this->assertEquals([
335 $this->assertEquals([
374 $this->assertEquals([
406 $this->assertEquals(1,count($locks));
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Mount/
H A DPluginTest.php30 …$this->assertEquals(501, $this->response->status,'We expected GET to not be implemented for Direct…
47 $this->assertEquals(200, $this->response->status);
54 $this->assertEquals('http://example.org/',(string)$url[0]);
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/PartialUpdate/
H A DPluginTest.php31 $this->assertEquals('partialupdate', $this->plugin->getPluginName());
32 $this->assertEquals(['sabredav-partialupdate'], $this->plugin->getFeatures());
33 $this->assertEquals([
36 $this->assertEquals([
50 $this->assertEquals(400, $response->status, 'Full response body:' . $response->body);
63 $this->assertEquals(405, $response->status, 'Full response body:' . $response->body);
76 $this->assertEquals(415, $response->status, 'Full response body:' . $response->body);
89 $this->assertEquals(416, $response->status, 'Full response body:' . $response->body);
102 $this->assertEquals(411, $response->status, 'Full response body:' . $response->body);
116 $this->assertEquals('00011100', $this->node->get());
[all …]
H A DSpecificationTest.php62 …$this->assertEquals($httpStatus, $this->server->httpResponse->status, 'Incorrect http status recei…
64 $this->assertEquals($endResult, file_get_contents(SABRE_TEMPDIR . '/foobar.txt'));
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/PropertyStorage/Backend/
H A DAbstractPDOTest.php31 $this->assertEquals('Directory', $propFind->get('{DAV:}displayname'));
43 $this->assertEquals('foo', $propFind->get('{DAV:}displayname'));
61 $this->assertEquals('bar', $propFind->get('{DAV:}displayname'));
81 $this->assertEquals($complex, $propFind->get('{DAV:}complex'));
102 $this->assertEquals($custom, $propFind->get('{DAV:}custom'));
120 $this->assertEquals(null, $propFind->get('{DAV:}displayname'));
135 $this->assertEquals(null, $propFind->get('{DAV:}displayname'));
155 $this->assertEquals(null, $propFind->get('{DAV:}displayname'));
160 $this->assertEquals(null, $propFind->get('{DAV:}displayname'));
170 $this->assertEquals('child', $propFind->get('{DAV:}displayname'));
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAVACL/Exception/
H A DNeedPrivilegesExceptionTest.php43 …$this->assertEquals($count, $dxpath->query($xpath)->length, 'Looking for : ' . $xpath . ', we coul…
H A DNotRecognizedPrincipalTest.php33 …$this->assertEquals($count, $dxpath->query($xpath)->length, 'Looking for : ' . $xpath . ', we coul…
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAVACL/FS/
H A DCollectionTest.php26 $this->assertEquals('file.txt', $child->getName());
27 $this->assertEquals($this->acl, $child->getACL());
28 $this->assertEquals($this->owner, $child->getOwner());
38 $this->assertEquals('dir', $child->getName());
39 $this->assertEquals($this->acl, $child->getACL());
40 $this->assertEquals($this->owner, $child->getOwner());
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAVACL/
H A DPrincipalPropertySearchTest.php29 $this->assertEquals($plugin, $fakeServer->getPlugin('acl'));
66 $this->assertEquals(array(
105 $this->assertEquals(array(
144 $this->assertEquals(207, $server->httpResponse->status, $server->httpResponse->body);
145 $this->assertEquals(array(
217 $this->assertEquals(207, $server->httpResponse->status, $server->httpResponse->body);
218 $this->assertEquals(array(
289 $this->assertEquals(207, $server->httpResponse->status, $server->httpResponse->body);
290 $this->assertEquals(array(
354 $this->assertEquals(207, $server->httpResponse->status, $server->httpResponse->body);
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAVACL/Xml/Property/
H A DCurrentUserPrivilegeSetTest.php82 $this->assertEquals($expected, $prop->toHtml($html));
/plugin/davcal/vendor/sabre/dav/tests/Sabre/
H A DDAVServerTest.php235 …$this->assertEquals((int)$expectedStatus, (int)$resp->status,'Incorrect HTTP status received: ' . …
/plugin/davcal/vendor/sabre/event/tests/
H A DPromiseTest.php17 $this->assertEquals(3, $finalValue);
31 $this->assertEquals(3, $finalValue);
49 $this->assertEquals(7, $finalValue);
69 $this->assertEquals(6, $finalValue);
83 $this->assertEquals(6, $finalValue);
97 $this->assertEquals(6, $finalValue);
178 $this->assertEquals(0, $ok);
180 $this->assertEquals(1, $ok);
197 $this->assertEquals(0, $finalValue);
220 $this->assertEquals(1, $finalValue);
[all …]
/plugin/davcal/vendor/sabre/vobject/tests/VObject/
H A DCliTest.php22 $this->assertEquals(
33 $this->assertEquals(
46 $this->assertEquals(
57 $this->assertEquals(
71 $this->assertEquals(
85 $this->assertEquals(
100 $this->assertEquals(
112 $this->assertEquals(
121 $this->assertEquals(
142 $this->assertEquals(
[all …]

1...<<11121314151617181920>>...41