/plugin/davcal/vendor/sabre/dav/tests/Sabre/CardDAV/ |
H A D | MultiGetTest.php | 30 $response = new HTTP\ResponseMock(); 33 $this->server->httpResponse = $response; 37 …$this->assertEquals(207, $response->status, 'Incorrect status code. Full response body:' . $respon… 42 $result = $client->parseMultiStatus($response->body); 73 $response = new HTTP\ResponseMock(); 76 $this->server->httpResponse = $response; 80 …$this->assertEquals(207, $response->status, 'Incorrect status code. Full response body:' . $respon… 85 $result = $client->parseMultiStatus($response->body);
|
H A D | PluginTest.php | 96 $response = new \Sabre\HTTP\ResponseMock(); 97 $this->server->invokeMethod($request, $response); 99 $this->assertEquals(200, $response->getStatus());
|
H A D | VCFExportTest.php | 52 $response = $this->request($request); 53 $this->assertEquals(200, $response->status, $response->body); 71 $this->assertEquals($expected, $response->body);
|
H A D | ValidateVCardTest.php | 40 $response = new HTTP\ResponseMock(); 41 $this->server->httpResponse = $response; 61 $response = $this->request($request); 75 $response = $this->request($request); 77 …$this->assertEquals(201, $response->status, 'Incorrect status returned! Full response body: ' . $r… 95 $response = $this->request($request); 97 …$this->assertEquals(201, $response->status, 'Incorrect status returned! Full response body: ' . $r… 111 $response = $this->request($request); 113 …$this->assertEquals(201, $response->status, 'Incorrect status returned! Full response body: ' . $r… 128 $response = $this->request($request); [all …]
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/ |
H A D | AbstractServer.php | 12 protected $response; variable in Sabre\\DAV\\AbstractServer 22 $this->response = new HTTP\ResponseMock(); 25 $this->server->httpResponse = $this->response;
|
H A D | ClientMock.php | 10 public $response; variable in Sabre\\DAV\\ClientMock 30 return $this->response;
|
H A D | ClientTest.php | 128 $client->response = new Response(207, [], $responseBody); 152 $client->response = new Response(405, []); 178 $client->response = new Response(207, [], $responseBody); 218 $client->response = new Response(207, [], $responseBody); 235 $client->response = new Response(207, [
|
H A D | CopyTest.php | 31 $response = new HTTP\ResponseMock(); 33 $server->invokeMethod($request, $response);
|
H A D | HTTPPreferParsingTest.php | 123 $response = $this->request($request); 125 $body = $response->getBodyAsString(); 127 $this->assertEquals(207, $response->getStatus(), $body); 157 $response = $this->request($request); 159 $this->assertEquals(0, strlen($response->body), 'Expected empty body: ' . $response->body); 160 $this->assertEquals(204, $response->status); 179 $response = $this->request($request); 181 $body = $response->getBodyAsString(); 183 $this->assertEquals(207, $response->status);
|
H A D | HttpDeleteTest.php | 41 $response = $this->request($request); 45 $response->getStatus(), 54 $response->getHeaders() 66 $response = $this->request($request); 70 $response->getStatus(), 79 $response->getHeaders() 90 $response = $this->request($request); 94 $response->getStatus(), 109 $response = $this->request($request); 113 $response->getStatus(), [all …]
|
H A D | HttpGetTest.php | 35 $response = $this->request($request); 49 $response->getHeaders() 60 $response = $this->request($request); 74 $response->getHeaders() 86 $response = $this->request($request); 95 $response = $this->request($request); 107 $response = $this->request($request); 121 $response->getHeaders() 131 $response = $this->request($request); 140 $response = $this->request($request); [all …]
|
H A D | HttpHeadTest.php | 35 $response = $this->request($request); 37 $this->assertEquals(200, $response->getStatus()); 40 $response->removeHeader('Last-Modified'); 49 $response->getHeaders() 52 $this->assertEquals('', $response->getBodyAsString()); 64 $response = $this->request($request); 66 $this->assertEquals(200, $response->getStatus()); 89 $response = $this->request($request); 91 $this->assertEquals(200, $response->getStatus());
|
H A D | HttpMoveTest.php | 36 $response = $this->request($request); 47 $response = $this->request($request); 48 $this->assertEquals(201, $response->getStatus(), print_r($response,true)); 59 $response = $this->request($request); 60 $this->assertEquals(204, $response->getStatus(), print_r($response,true)); 72 $response = $this->request($request); 73 $this->assertEquals(204, $response->getStatus(), print_r($response,true)); 85 $response = $this->request($request); 86 $this->assertEquals(412, $response->getStatus(), print_r($response,true)); 111 $response = $this->request($request); [all …]
|
H A D | HttpPutTest.php | 37 $response = $this->request($request); 52 $response->getHeaders() 66 $response = $this->request($request); 81 $response->getHeaders() 100 $response = $this->request($request); 115 $response->getHeaders() 134 $response = $this->request($request); 149 $response->getHeaders() 202 $response->getHeaders() 297 $response->getHeaders() [all …]
|
H A D | Issue33Test.php | 84 $response = new HTTP\ResponseMock(); 98 $server->httpResponse = $response;
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Auth/Backend/ |
H A D | AbstractBasicTest.php | 15 $response = new HTTP\Response(); 20 $backend->check($request, $response)[0] 31 $response = new HTTP\Response(); 36 $backend->check($request, $response)[0] 47 $response = new HTTP\Response(); 52 $backend->check($request, $response) 60 $response = new HTTP\Response(); 64 $backend->challenge($request, $response); 68 $response->getHeader('WWW-Authenticate')
|
H A D | AbstractDigestTest.php | 13 $response = new HTTP\Response(); 17 $backend->check($request, $response)[0] 28 $response = new HTTP\Response(); 32 $backend->check($request, $response)[0] 47 $response = new HTTP\Response(); 51 $backend->check($request, $response) 55 $backend->check($request, $response); 66 $response = new HTTP\Response(); 83 $response = new HTTP\Response(); 102 $response = new HTTP\Response(); [all …]
|
H A D | ApacheTest.php | 20 $response = new HTTP\Response(); 24 $backend->check($request, $response)[0] 34 $response = new HTTP\Response(); 39 $backend->check($request, $response) 49 $response = new HTTP\Response(); 54 $backend->check($request, $response) 62 $response = new HTTP\Response(); 65 $backend->challenge($request, $response); 68 $response->getHeader('WWW-Authenticate')
|
H A D | BasicCallBackTest.php | 27 $response = new Response(); 31 $backend->check($request, $response)
|
H A D | Mock.php | 49 * @param ResponseInterface $response 52 function check(RequestInterface $request, ResponseInterface $response) { argument 83 function challenge(RequestInterface $request, ResponseInterface $response) { argument
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Browser/ |
H A D | MapGetToPropFindTest.php | 31 …his->assertEquals(207, $this->response->status,'Incorrect status response received. Full response … 38 $this->response->getHeaders()
|
H A D | PluginTest.php | 35 $this->response->getHeaders() 38 $body = $this->response->getBodyAsString(); 61 $this->response->getHeaders() 64 $body = $this->response->getBodyAsString(); 82 $this->response->getHeaders() 95 $response = new HTTP\Response(); 144 ), $this->response->getHeaders()); 156 $this->assertEquals(200, $this->response->getStatus(), 'Error: ' . $this->response->body); 163 ], $this->response->getHeaders()); 173 $this->assertEquals(404, $this->response->getStatus(), 'Error: ' . $this->response->body); [all …]
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/FSExt/ |
H A D | ServerTest.php | 33 $this->response->getHeaders() 55 $this->response->getHeaders() 59 $this->assertEquals('', $this->response->body); 75 ], $this->response->getHeaders()); 93 ],$this->response->getHeaders()); 109 ],$this->response->getHeaders()); 141 ],$this->response->getHeaders()); 161 ],$this->response->getHeaders()); 181 ], $this->response->getHeaders()); 202 ],$this->response->getHeaders()); [all …]
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Locks/ |
H A D | Plugin2Test.php | 45 $response = $this->request($request); 46 $this->assertEquals(201, $response->getStatus(), $response->getBodyAsString()); 57 'If' => '(' . $response->getHeader('Lock-Token') . ')', 60 $response = $this->request($request); 61 $this->assertEquals(204, $response->getStatus(), $response->getBodyAsString());
|
H A D | PluginTest.php | 49 $this->response->getHeaders() 74 …$this->assertEquals(200, $this->response->status,'Got an incorrect status back. Response body: ' .… 128 $this->response = new HTTP\ResponseMock(); 129 $this->server->httpResponse = $this->response; 135 … $this->assertEquals(423, $this->response->status, 'Full response: ' . $this->response->body); 159 $this->response = new HTTP\ResponseMock(); 160 $this->server->httpResponse = $this->response; 194 $this->response = new HTTP\ResponseMock(); 247 $this->response->getHeaders() 267 $this->response->getHeaders() [all …]
|