Home
last modified time | relevance | path

Searched refs:assertEquals (Results 101 – 125 of 1007) sorted by relevance

12345678910>>...41

/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/
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 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 …]
H A DServerPropsInfiniteDepthTest.php56 $this->assertEquals(array(
70 $this->assertEquals('/',(string)$data,'href element should have been /');
74 $this->assertEquals(8,count($data));
90 $this->assertEquals(207, $this->response->getStatus(), $body);
97 $this->assertEquals(16,count($data),'We expected sixteen \'d:lockentry\' tags');
103 $this->assertEquals(16,count($data),'We expected sixteen \'d:locktype\' tags');
106 $this->assertEquals(8,count($data),'We expected eight \'d:shared\' tags');
109 $this->assertEquals(8,count($data),'We expected eight \'d:exclusive\' tags');
112 $this->assertEquals(16,count($data),'We expected sixteen \'d:write\' tags');
161 $this->assertEquals(8,count($val),$body);
[all …]
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 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(
/plugin/icalevents/vendor/sabre/vobject/tests/VObject/
H A DFreeBusyDataTest.php11 $this->assertEquals(
35 $this->assertEquals(
54 $this->assertEquals(
83 $this->assertEquals(
113 $this->assertEquals(
146 $this->assertEquals(
189 $this->assertEquals(
222 $this->assertEquals(
264 $this->assertEquals(
297 $this->assertEquals(
/plugin/move/_test/
H A Dplan.test.php55 $this->assertEquals(5, count($sorted));
56 $this->assertEquals('humans:programmers:andi', $sorted[0]['src']);
57 $this->assertEquals('animals:monkey', $sorted[1]['src']);
58 $this->assertEquals('yeti', $sorted[2]['src']);
59 $this->assertEquals('animals:mammals:bear', $sorted[3]['src']);
60 $this->assertEquals('humans:programmers', $sorted[4]['src']);
76 $this->assertEquals(3, count($list));
77 $this->assertEquals("animals:mammals:cute:otter\tanimals:mammals:otter", trim($list[2]));
78 $this->assertEquals("animals:mammals:cute:cat\tanimals:mammals:funny:cat", trim($list[1]));
79 $this->assertEquals("animals:mammals:cute:dog\tanimals:mammals:funny:dog", trim($list[0]));
/plugin/elasticsearch/vendor/ezimuel/guzzlestreams/tests/
H A DStreamDecoratorTraitTest.php51 $this->assertEquals('foo', (string) $this->b);
56 $this->assertEquals(3, $this->b->getSize());
58 $this->assertEquals(2, $this->b->getSize());
63 $this->assertEquals('foo', $this->b->read(10));
68 $this->assertEquals($this->a->isReadable(), $this->b->isReadable());
69 $this->assertEquals($this->a->isWritable(), $this->b->isWritable());
70 $this->assertEquals($this->a->isSeekable(), $this->b->isSeekable());
76 $this->assertEquals(1, $this->a->tell());
77 $this->assertEquals(1, $this->b->tell());
79 $this->assertEquals(
[all...]
H A DDroppingStreamTest.php14 $this->assertEquals(3, $drop->write('hel'));
16 $this->assertEquals(5, $drop->getSize());
17 $this->assertEquals('hello', $drop->read(5));
18 $this->assertEquals(0, $drop->getSize());
20 $this->assertEquals(5, $stream->getSize());
21 $this->assertEquals(5, $drop->getSize());
22 $this->assertEquals('12345', (string) $drop);
23 $this->assertEquals(0, $drop->getSize());
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Xml/Property/
H A DSupportedReportSetTest.php49 $this->assertEquals(1, count($data), 'We expected 1 \'d:prop\' element');
52 $this->assertEquals(1, count($data), 'We expected 1 \'d:supported-report-set\' element');
55 $this->assertEquals(1, count($data), 'We expected 1 \'d:status\' element');
57 …$this->assertEquals('HTTP/1.1 200 OK', (string)$data[0], 'The status for this property should have…
94 $this->assertEquals(1, count($data), 'We expected 1 \'d:supported-report-set\' element');
97 $this->assertEquals(2, count($data), 'We expected 2 \'d:supported-report\' elements');
100 $this->assertEquals(2, count($data), 'We expected 2 \'d:report\' elements');
103 …$this->assertEquals(1, count($data), 'We expected 1 \'x:myreport\' element. Full body: ' . $this->…
106 …$this->assertEquals(1, count($data), 'We expected 1 \'d:anotherreport\' element. Full body: ' . $t…
109 $this->assertEquals(1, count($data), 'We expected 1 \'d:status\' element');
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CardDAV/
H A DAddressBookTest.php34 $this->assertEquals('book1', $this->ab->getName());
42 $this->assertEquals('card1', $card->getName());
58 $this->assertEquals(2, count($cards));
60 $this->assertEquals('card1', $cards[0]->getName());
61 $this->assertEquals('card2', $cards[1]->getName());
88 $this->assertEquals(array(), $this->backend->addressBooks);
122 $this->assertEquals(array(
132 $this->assertEquals(array(
181 $this->assertEquals(2, $ab->getSyncToken());
190 $this->assertEquals(2, $ab->getSyncToken());
[all …]
/plugin/icalevents/vendor/sabre/vobject/tests/VObject/Component/
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());
145 $this->assertEquals('1@example.org', $vcard->preferred('EMAIL')->getValue());
160 $this->assertEquals('2@example.org', $vcard->preferred('EMAIL')->getValue());
176 $this->assertEquals('3@example.org', $vcard->preferred('EMAIL')->getValue());
299 $this->assertEquals($expectedMessage, $input[0]['message']);
[all …]
/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/minimap/_test/
H A Dminimap.test.php28 $this->assertEquals('minimap', $componentName);
54 $this->assertEquals(1, $count, "We should see the id");
74 $this->assertEquals(2, $count, "We should see two pages");
79 $this->assertEquals(1, $count,"One page should be active");
111 $this->assertEquals(1, $count, "We should see the id");
116 $this->assertEquals(2, $count, "We should see two pages ");
121 $this->assertEquals(1, $count, "We should see the folder");
153 $this->assertEquals(1, $count, "We should see the id");
199 $this->assertEquals(1, $count, "We should see the id");
234 $this->assertEquals(1, $count, "We should see the id");
[all …]
/plugin/bureaucracyau/_test/
H A Dsyntax.test.php16 $this->assertEquals(1, pq('form.bureaucracyau__plugin', $doc)->length);
17 $this->assertEquals(6, pq('form.bureaucracyau__plugin fieldset', $doc)->length);
28 $this->assertEquals(3, pq('option', $select)->length);
29 $this->assertEquals(1, pq('option:selected', $select)->length);
30 $this->assertEquals('Peaches', pq('option:selected', $select)->val());
33 $this->assertEquals(1, pq('p:contains(Some static text)', $doc)->length);
57 $this->assertEquals(0, pq('bold', $doc)->length);
63 $this->assertEquals(1, $field->length, "find span of $name");
66 $this->assertEquals(1, pq('sup', $field)->length, "is mandatory of $name");
73 $this->assertEquals(1, $input->length, "find check of $name");
[all …]
/plugin/bureaucracy-au/_test/
H A Dsyntax.test.php16 $this->assertEquals(1, pq('form.bureaucracyau__plugin', $doc)->length);
17 $this->assertEquals(6, pq('form.bureaucracyau__plugin fieldset', $doc)->length);
28 $this->assertEquals(3, pq('option', $select)->length);
29 $this->assertEquals(1, pq('option:selected', $select)->length);
30 $this->assertEquals('Peaches', pq('option:selected', $select)->val());
33 $this->assertEquals(1, pq('p:contains(Some static text)', $doc)->length);
57 $this->assertEquals(0, pq('bold', $doc)->length);
63 $this->assertEquals(1, $field->length, "find span of $name");
66 $this->assertEquals(1, pq('sup', $field)->length, "is mandatory of $name");
73 $this->assertEquals(1, $input->length, "find check of $name");
[all …]
/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 …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CalDAV/
H A DSharingPluginTest.php49 $this->assertEquals(
102 $this->assertEquals([
116 $this->assertEquals(array(
131 $this->assertEquals(501, $response->status, $response->body);
145 $this->assertEquals(501, $response->status, $response->body);
159 $this->assertEquals(501, $response->status, $response->body);
188 $this->assertEquals(200, $response->status, $response->body);
190 $this->assertEquals(array(array(
230 $this->assertEquals(501, $response->status, $response->body);
251 $this->assertEquals(200, $response->status, $response->body);
[all …]
/plugin/strata/_test/
H A Dstorage_removes.test.php28 $this->assertEquals($data, array($this->expected1, $this->expected2, $this->expected3));
35 $this->assertEquals($data, array());
41 $this->assertEquals($data, array($this->expected2, $this->expected3));
45 $this->assertEquals($data, array());
51 $this->assertEquals($data, array($this->expected3));
55 $this->assertEquals($data, array());
61 $this->assertEquals($data, array($this->expected2, $this->expected3));
65 $this->assertEquals($data, array());
71 $this->assertEquals($data, array($this->expected1, $this->expected3));
77 $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/icalevents/vendor/sabre/vobject/tests/VObject/Property/VCard/
H A DDateAndOrTimeTest.php18 $this->assertEquals([$output], $prop->getJsonValue());
94 $this->assertEquals('20140402T183700Z', $prop->getValue());
107 $this->assertEquals('20140402T183700Z', $prop->getValue());
135 $this->assertEquals('20140402T183700Z', $prop->getValue());
148 $this->assertEquals('20140402T183700Z', $prop->getValue());
161 $this->assertEquals('20140402T183700Z', $prop->getValue());
197 $this->assertEquals('DATE', $prop->getValueType());
217 $this->assertEquals($year . '0407', $dt->format('Ymd'));
240 $this->assertEquals($year . '0407', $dt->format('Ymd'));
251 $this->assertEquals([], $prop->validate());
[all …]
/plugin/top/_test/
H A Ddate.test.php30 $this->assertEquals(
36 $this->assertEquals(
42 $this->assertEquals(
48 $this->assertEquals(
74 $this->assertEquals($expected_response, $parser_response);
97 $this->assertEquals($expected_response, $parser_response);
120 $this->assertEquals($expected_response, $parser_response);
143 $this->assertEquals($expected_response, $parser_response);
166 $this->assertEquals($expected_response, $parser_response);
189 $this->assertEquals($expected_response, $parser_response);
/plugin/multiselect/_test/
H A Dsyntax.test.php27 $this->assertEquals('a',trim(pq("span",$mselector)->eq(0)->text()));
28 $this->assertEquals('b',trim(pq("span",$mselector)->eq(1)->text()));
29 $this->assertEquals('c',trim(pq("span",$mselector)->eq(2)->text()));
30 $this->assertEquals('d',trim(pq("span",$mselector)->eq(3)->text()));
32 $this->assertEquals('a',trim(pq("span.multismiley",$doc)->text()));
48 $this->assertEquals('a a',trim(pq("span",$mselector)->eq(0)->text()));
49 $this->assertEquals('üöäß',trim(pq("span",$mselector)->eq(1)->text()));
50 $this->assertEquals('ä_',trim(pq("span",$mselector)->eq(2)->text()));
51 $this->assertEquals(':-)',trim(pq('img',pq("span",$mselector)->eq(3))->attr('alt')));
53 $this->assertEquals('a a',trim(pq("span.multismiley",$doc)->text()));
/plugin/davcal/vendor/sabre/http/tests/HTTP/
H A DURLUtilTest.php14 $this->assertEquals(
25 $this->assertEquals($str, URLUtil::decodePath($newStr));
38 $this->assertEquals(
49 $this->assertEquals($str, URLUtil::decodePathSegment($newStr));
57 $this->assertEquals('Hello Test+Test2.txt', $newStr);
68 $this->assertEquals("Hello\xC3\xBC.txt", $newStr);
79 $this->assertEquals("Hello\xC3\xBC.txt", $newStr);
92 $this->assertEquals(strtolower($str), URLUtil::encodePath($newStr));
123 …$this->assertEquals($expected, $output, 'The expected output for \'' . $input . '\' was incorrect'…
135 $this->assertEquals(
/plugin/log404/_test/
H A Dgeneral.test.php29 $this->assertEquals('log404', $info['base']);
43 $this->assertEquals(0, $log->recordCount());
54 $this->assertEquals(1, $log->recordCount());
57 $this->assertEquals(1, $record1['count']);
67 $this->assertEquals(2, $record2['count']);
87 $this->assertEquals('a', array_shift($firstRecord));
96 $this->assertEquals('b', array_shift($newFirstRecord));
118 $this->assertEquals(1, $b['count']);
144 $this->assertEquals(3, $a['count']);
169 $this->assertEquals('192.0.2.45', $a['hits'][0]['ip']);
[all …]

12345678910>>...41