Home
last modified time | relevance | path

Searched refs:assertEquals (Results 101 – 125 of 1007) sorted by last modified time

12345678910>>...41

/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/
H A DServerPluginTest.php31 $this->assertEquals([],$p->getFeatures());
32 $this->assertEquals([],$p->getHTTPMethods(''));
33 $this->assertEquals(
54 $this->assertEquals(array(
63 $this->assertEquals(200, $this->response->status);
64 $this->assertEquals('', $this->response->body);
65 $this->assertEquals('OPTIONS',$this->testPlugin->beforeMethod);
72 … $this->assertEquals($this->testPlugin,$this->server->getPlugin(get_class($this->testPlugin)));
84 $this->assertEquals(array(), $this->testPlugin->getSupportedReportSet('/'));
90 $this->assertEquals(
H A DStringUtilTest.php12 … $this->assertEquals($result, StringUtil::textMatch($haystack, $needle, $collation, $matchType));
91 $this->assertEquals(
103 $this->assertEquals(
115 $this->assertEquals(
H A DSyncTokenPropertyTest.php25 $this->assertEquals("hello", $propFind->get('{http://calendarserver.org/ns/}getctag'));
54 $this->assertEquals("hello", $propFind->get('{http://calendarserver.org/ns/}getctag'));
H A DTreeTest.php22 $this->assertEquals('foobar', $tree->getNodeForPath('hi/file')->get());
23 …$this->assertEquals(array('test1'=>'value'), $tree->getNodeForPath('hi/file')->getProperties(array…
32 $this->assertEquals('hi2', $tree->getNodeForPath('hi')->getName());
59 $this->assertEquals(2,count($children));
60 $this->assertEquals('hi', $children[0]->getName());
71 $this->assertEquals('sub', $result['hi/sub']->getName());
72 $this->assertEquals('file', $result['hi/file']->getName());
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Sync/
H A DPluginTest.php103 $this->assertEquals(
177 $this->assertEquals('/coll/file2.txt', $response->getHref());
178 $this->assertEquals([
186 $this->assertEquals('404', $response->getHttpStatus());
188 $this->assertEquals([], $response->getResponseProperties());
228 $this->assertEquals(
291 $this->assertEquals([
299 $this->assertEquals('404', $response->getHttpStatus());
490 $this->assertEquals(403, $response->status);
507 $this->assertEquals(403, $response->status);
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Xml/Element/
H A DResponseTest.php22 $this->assertEquals('uri', $property->getHref());
23 $this->assertEquals($innerProps, $property->getResponseProperties());
86 $this->assertEquals(
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Xml/Property/
H A DHrefTest.php14 $this->assertEquals('path', $href->getHref());
21 $this->assertEquals('path', $href->getHref());
37 $this->assertEquals('path', $href->getHref());
60 $this->assertEquals('/bla/path', $href->getHref());
119 $this->assertEquals($expected, $href->toHtml($html));
H A DLastModifiedTest.php52 $this->assertEquals(
H A DSupportedMethodSetTest.php36 …$this->assertEquals(207, $this->response->status, 'We expected a multi-status response. Full respo…
43 $this->assertEquals(1, count($data), 'We expected 1 \'d:prop\' element');
46 $this->assertEquals(1, count($data), 'We expected 1 \'d:supported-method-set\' element');
49 $this->assertEquals(1, count($data), 'We expected 1 \'d:status\' element');
51 …$this->assertEquals('HTTP/1.1 200 OK', (string)$data[0], 'The status for this property should have…
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAVACL/
H A DBlockAccessTest.php188 $this->assertEquals($expected, $propFind->getResultForMultiStatus());
H A DPrincipalCollectionTest.php17 $this->assertEquals('principals',$pc->getName());
56 … $this->assertEquals('principals/user1', $pc->findByUri('mailto:user1.sabredav@sabredav.org'));
H A DPrincipalSearchPropertySetTest.php26 $this->assertEquals($plugin, $fakeServer->getPlugin('acl'));
51 $this->assertEquals(400, $server->httpResponse->status);
52 $this->assertEquals(array(
78 $this->assertEquals(400, $server->httpResponse->status, $server->httpResponse->body);
79 $this->assertEquals(array(
105 $this->assertEquals(200, $server->httpResponse->status, $server->httpResponse->body);
106 $this->assertEquals(array(
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAVACL/Xml/Property/
H A DSupportedPrivilegeSetTest.php117 $this->assertEquals($expected, $prop->toHtml($html));
/plugin/davcal/vendor/sabre/event/tests/
H A DContinueCallbackTest.php25 $this->assertEquals(3, $handlerCounter);
26 $this->assertEquals(2, $continueCounter);
48 $this->assertEquals(1, $handlerCounter);
49 $this->assertEquals(1, $continueCounter);
72 $this->assertEquals(1, $handlerCounter);
73 $this->assertEquals(0, $continueCounter);
H A DEventEmitterTest.php23 $this->assertEquals([$callback2, $callback1], $ee->listeners('foo'));
45 $this->assertEquals('bar', $argResult);
73 $this->assertEquals(1, $argResult);
102 $this->assertEquals(2, $argResult);
136 $this->assertEquals(['b', 'd', 'a', 'c'], $result);
286 $this->assertEquals(1, $result);
315 $this->assertEquals(2, $argResult);
/plugin/davcal/vendor/sabre/vobject/tests/VObject/
H A DAttachIssueTest.php18 $this->assertEquals($event, $obj->serialize());
H A DDocumentTest.php10 $this->assertEquals(Document::UNKNOWN, $doc->getDocumentType());
17 $this->assertEquals('VLIST', $doc->name);
41 …$this->assertEquals("BEGIN:VCALENDAR\r\nBEGIN:VEVENT\r\nX-PROP;X-PARAM=3:1234256\r\nEND:VEVENT\r\n…
60 …$this->assertEquals('Sabre\\VObject\\Property\\Text', $vcal->getClassNameForPropertyValue('TEXT'));
/plugin/davcal/vendor/sabre/vobject/tests/VObject/Component/
H A DVAlarmTest.php16 $this->assertEquals($outcome, $valarm->isInTimeRange($start, $end));
H A DVCalendarTest.php28 $this->assertEquals($output, $vcal->serialize());
342 $this->assertEquals(array(), $vcal->validate(), 'Got an error');
360 $this->assertEquals(1, count($vcal->validate()));
379 $this->assertEquals(1, count($vcal->validate()));
397 $this->assertEquals(1, count($vcal->validate()));
417 $this->assertEquals(1, count($vcal->validate()));
437 $this->assertEquals(1, count($vcal->validate()));
461 $this->assertEquals(1, count($vcal->validate()));
486 $this->assertEquals(0, count($vcal->validate()));
514 $this->assertEquals('test', $result->SUMMARY->getValue());
[all …]
H A DVCardTest.php23 $this->assertEquals($expectedWarnings, $warnMsg);
27 $this->assertEquals(
104 $this->assertEquals(VCard::VCARD21, $vcard->getDocumentType());
108 $this->assertEquals(VCard::VCARD30, $vcard->getDocumentType());
112 $this->assertEquals(VCard::VCARD40, $vcard->getDocumentType());
115 $this->assertEquals(VCard::UNKNOWN, $vcard->getDocumentType());
129 $this->assertEquals('1@example.org', $vcard->preferred('EMAIL')->getValue());
144 $this->assertEquals('2@example.org', $vcard->preferred('EMAIL')->getValue());
160 $this->assertEquals('3@example.org', $vcard->preferred('EMAIL')->getValue());
283 $this->assertEquals($expectedMessage, $input[0]['message']);
[all …]
H A DVEventTest.php14 $this->assertEquals($outcome, $vevent->isInTimeRange($start, $end));
H A DVFreeBusyTest.php62 $this->assertEquals(array(), $messages);
H A DVTodoTest.php16 $this->assertEquals($outcome, $vtodo->isInTimeRange($start, $end));
91 $this->assertEquals(array(), $messages);
114 $this->assertEquals(array(
144 $this->assertEquals(array(
173 $this->assertEquals(array(
/plugin/davcal/vendor/sabre/http/tests/HTTP/Auth/
H A DAWSTest.php41 $this->assertEquals(AWS::ERR_NOAWSHEADER, $this->auth->errorCode);
61 $this->assertEquals(AWS::ERR_MD5CHECKSUMWRONG, $this->auth->errorCode);
84 $this->assertEquals(AWS::ERR_INVALIDDATEFORMAT, $this->auth->errorCode);
112 $this->assertEquals(AWS::ERR_REQUESTTIMESKEWED, $this->auth->errorCode);
140 $this->assertEquals(AWS::ERR_REQUESTTIMESKEWED, $this->auth->errorCode);
171 $this->assertEquals(AWS::ERR_INVALIDSIGNATURE, $this->auth->errorCode);
205 $this->assertEquals($accessKey, $this->auth->getAccessKey());
H A DBearerTest.php18 $this->assertEquals(
52 $this->assertEquals('Bearer realm="Dagger"', $response->getHeader('WWW-Authenticate'));
53 $this->assertEquals(401, $response->getStatus());

12345678910>>...41