Home
last modified time | relevance | path

Searched refs:assertEquals (Results 201 – 225 of 1007) sorted by relevance

12345678910>>...41

/plugin/davcal/vendor/sabre/vobject/tests/VObject/Property/
H A DCompoundTest.php21 … $this->assertEquals('ABC\, Inc.;North American Division;Marketing\;Sales', $elem->getValue());
22 $this->assertEquals(3, count($elem->getParts()));
24 $this->assertEquals('Marketing;Sales', $parts[2]);
36 $this->assertEquals(3, count($elem->getParts()));
38 $this->assertEquals('Marketing;Sales', $parts[2]);
46 $this->assertEquals(0, count($elem->getParts()));
/plugin/latexit/_test/
H A Dsyntax.test.php35 $this->assertEquals("substition", $this->s->getType());
42 $this->assertEquals(245, $this->s->getSort());
44 $this->assertEquals(25, $this->s->getSort());
60 $this->assertEquals("bibliography", $r);
65 $this->assertEquals($r, $array);
76 $this->assertEquals("<h4>Next link is recursively inserted.</h4>", $r->doc);
88 $this->assertEquals("\\cite{bibliography}", $r->doc);
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/
H A DSimpleFileTest.php11 $this->assertEquals('filename.txt', $file->getName());
12 $this->assertEquals('contents', $file->get());
13 $this->assertEquals('8', $file->getSize());
14 $this->assertEquals('"' . sha1('contents') . '"', $file->getETag());
15 $this->assertEquals('text/plain', $file->getContentType());
H A DHTTPPreferParsingTest.php18 $this->assertEquals([
36 $this->assertEquals([
54 $this->assertEquals([
72 $this->assertEquals([
91 $this->assertEquals([
127 $this->assertEquals(207, $response->getStatus(), $body);
159 $this->assertEquals(0, strlen($response->body), 'Expected empty body: ' . $response->body);
160 $this->assertEquals(204, $response->status);
183 $this->assertEquals(207, $response->status);
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 :(');
/plugin/davcal/vendor/sabre/xml/tests/Sabre/Xml/
H A DReaderTest.php18 $this->assertEquals('{http://sabredav.org/ns}root', $reader->getClark());
33 $this->assertEquals('{}root', $reader->getClark());
93 $this->assertEquals($expected, $output);
125 $this->assertEquals($expected, $output);
157 $this->assertEquals($expected, $output);
191 $this->assertEquals($expected, $output);
231 $this->assertEquals($expected, $output);
273 $this->assertEquals($expected, $output);
419 $this->assertEquals($expected, $output);
472 $this->assertEquals($expected, $output);
[all …]
/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/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Loader/
H A DArrayTest.php23 $this->assertEquals('bar', $loader->getSource('foo'));
51 $this->assertEquals('foo:bar', $loader->getCacheKey('foo'));
61 $this->assertEquals('foo:bar', $loader->getCacheKey('foo'));
62 $this->assertEquals('baz:bar', $loader->getCacheKey('baz'));
72 $this->assertEquals('foo__:bar', $loader->getCacheKey('foo__'));
73 $this->assertEquals('foo:__bar', $loader->getCacheKey('foo'));
91 $this->assertEquals('bar', $loader->getSourceContext('foo')->getCode());
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CalDAV/
H A DExpandEventsFloatingTimeTest.php113 $this->assertEquals($child->getValue(), '20141108T043000Z');
116 $this->assertEquals($child->getValue(), '20141108T063000Z');
142 $this->assertEquals(207, $response->getStatus());
162 $this->assertEquals($child->getValue(), '20141108T043000Z');
165 $this->assertEquals($child->getValue(), '20141108T063000Z');
180 $this->assertEquals(200, $response->getStatus());
200 $this->assertEquals($child->getValue(), '20141108T043000Z');
203 $this->assertEquals($child->getValue(), '20141108T063000Z');
H A DSharedCalendarTest.php41 $this->assertEquals('calendars/owner/original', $this->getInstance()->getSharedUrl());
46 $this->assertEquals(array(array(
56 $this->assertEquals('principals/owner', $this->getInstance()->getOwner());
105 $this->assertEquals($expected, $this->getInstance()->getACL());
149 $this->assertEquals($expected, $this->getInstance()->getChildACL());
185 $this->assertEquals($expected, $this->getInstance($props)->getChildACL());
/plugin/structpublish/_test/
H A Drevision.test.php73 $this->assertEquals('', $user);
74 $this->assertEquals(Constants::STATUS_DRAFT, $status);
75 $this->assertEquals('', $version);
84 $this->assertEquals(Constants::STATUS_APPROVED, $status);
92 $this->assertEquals(Constants::STATUS_PUBLISHED, $status);
93 $this->assertEquals('publisher', $user);
106 $this->assertEquals('2', $revision->getVersion());
107 $this->assertEquals('1', $previous->getVersion());
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Serializer/
H A DJsonSerializationTest.php137 self::assertEquals('{}', $this->serialize($object));
160 self::assertEquals(
221 self::assertEquals('bar', $object->getFoo());
229 self::assertEquals('bar', $object->getFoo());
231 self::assertEquals('baz', $object->getAuthor()->getName());
279 self::assertEquals('{}', $this->serialize(new Author(null)));
306 self::assertEquals('[{}]', $this->serialize([new \stdClass()]));
313 self::assertEquals('{"a":"b","c":"d"}', $serialized);
314 self::assertEquals($object, $this->deserialize($serialized, ObjectWithInlineArray::class));
379 self::assertEquals($expected, $this->serialize($array, $context));
[all …]
H A DDateIntervalFormatTest.php17 self::assertEquals($ATOMDateIntervalString, 'P0DT0S');
20 self::assertEquals($ATOMDateIntervalString, 'P0DT0S');
24 self::assertEquals($ATOMDateIntervalString, 'PT45M');
28 self::assertEquals($ATOMDateIntervalString, 'P2YT45M');
32 self::assertEquals($ATOMDateIntervalString, 'P2Y4DT6H8M16S');
/plugin/findologicxmlexport/vendor/jms/serializer/tests/
H A DSerializerBuilderTest.php32 self::assertEquals('"foo"', $serializer->serialize('foo', 'json'));
33 self::assertEquals('<?xml version="1.0" encoding="UTF-8"?>
37 self::assertEquals('foo', $serializer->deserialize('"foo"', 'string', 'json'));
80 self::assertEquals('2020-10-04', $result->format('Y-m-d'));
145 self::assertEquals('{"value":null}', $result);
164 self::assertEquals(['value' => null], $result);
178 self::assertEquals('{"value":null}', $result);
192 self::assertEquals('{"not_null":"ok"}', $result);
236 self::assertEquals($json, $serializer->serialize($person, 'json'));
251 self::assertEquals('{"name":"mike","gender":"f"}', $serialized);
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/PropertyStorage/
H A DPluginTest.php36 $this->assertEquals([
52 $this->assertEquals([
65 $this->assertEquals([],$this->backend->data);
79 $this->assertEquals([
86 $this->assertEquals([], $result);
102 $this->assertEquals([], $this->backend->data);
114 $this->assertEquals([], $result);
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/FSExt/
H A DFileTest.php29 $this->assertEquals('New contents',file_get_contents(SABRE_TEMPDIR . '/file.txt'));
30 $this->assertEquals(
48 $this->assertEquals('0001110',file_get_contents(SABRE_TEMPDIR . '/file.txt'));
62 $this->assertEquals('0002220',file_get_contents(SABRE_TEMPDIR . '/file.txt'));
70 $this->assertEquals('Contents',stream_get_contents($file->get()));
87 $this->assertEquals(
108 $this->assertEquals(8,$file->getSize());
/plugin/structautolink/_test/
H A DRendererTest.php28 $this->assertEquals(
47 … $this->assertEquals($result[0]['term'], substr($text, $result[0]['pos'], $result[0]['len']));
48 … $this->assertEquals($result[1]['term'], substr($text, $result[1]['pos'], $result[1]['len']));
76 $this->assertEquals(2, $pq->find('a')->count());
77 $this->assertEquals('Künstliche Intelligenz', $pq->find('a')->eq(0)->text());
78 $this->assertEquals('Machine Learning', $pq->find('a')->eq(1)->text());
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CalDAV/Schedule/
H A DPluginBasicTest.php13 $this->assertEquals(
23 $this->assertEquals(['calendar-auto-schedule'], $plugin->getFeatures());
29 $this->assertEquals([], $this->caldavSchedulePlugin->getHTTPMethods('notfound'));
30 $this->assertEquals([], $this->caldavSchedulePlugin->getHTTPMethods('calendars/user1'));
31 …$this->assertEquals(['POST'], $this->caldavSchedulePlugin->getHTTPMethods('calendars/user1/outbox'…
H A DOutboxTest.php12 $this->assertEquals('outbox', $outbox->getName());
13 $this->assertEquals(array(), $outbox->getChildren());
14 $this->assertEquals('principals/user1', $outbox->getOwner());
15 $this->assertEquals(null, $outbox->getGroup());
17 $this->assertEquals(array(
84 $this->assertEquals(2, $ok, "We're missing one or more privileges");
/plugin/davcal/vendor/sabre/http/tests/HTTP/
H A DResponseTest.php10 $this->assertEquals(200, $response->getStatus());
11 $this->assertEquals('OK', $response->getStatusText());
19 $this->assertEquals(402, $response->getStatus());
20 $this->assertEquals('Where\'s my money?', $response->getStatusText());
44 $this->assertEquals($expected, (string)$response);
/plugin/structtasks/_test/
H A DUtilitiesTest.php118 $this->assertEquals($old_data[$key], $val);
121 $this->assertEquals($new_data[$key], $val);
130 $this->assertEquals($old_data[$key], $val);
133 $this->assertEquals($new_data[$key], $val);
178 $this->assertEquals('Arron Dom Person <adperson@example.com>',
180 $this->assertEquals('Fay Mail <user2@example.com>',
182 $this->assertEquals('some@mail.com',
184 $this->assertEquals('', $this->util->getUserEmail('DoesNotExist'));
185 $this->assertEquals('raw.email@address.org',
187 $this->assertEquals('user2@example.com',
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CardDAV/
H A DAddressBookHomeTest.php27 $this->assertEquals('user1', $this->s->getName());
77 $this->assertEquals('book1', $child->getName());
93 $this->assertEquals(1, count($children));
95 $this->assertEquals('book1', $children[0]->getName());
107 $this->assertEquals(array(
131 $this->assertEquals('principals/user1', $this->s->getOwner());
133 $this->assertEquals(array(
/plugin/findologicxmlexport/vendor/phpunit/phpunit-mock-objects/tests/
H A DMockObjectTest.php295 $this->assertEquals($mock, $mock->doSomething());
316 $this->assertEquals('a', $mock->doSomething());
317 $this->assertEquals('b', $mock->doSomething());
318 $this->assertEquals('c', $mock->doSomething());
327 $this->assertEquals('a', $mock->doSomething());
328 $this->assertEquals('b', $mock->doSomething());
329 $this->assertEquals('c', $mock->doSomething());
513 $this->assertEquals($a, $b);
524 $this->assertEquals($a, $b);
828 $this->assertEquals(1, $b);
[all …]
/plugin/elasticsearch/vendor/ezimuel/guzzlestreams/tests/
H A DAppendStreamTest.php59 $this->assertEquals(3, $a->tell());
60 $this->assertEquals('bar', $a->read(3));
62 $this->assertEquals(6, $a->tell());
63 $this->assertEquals('baz', $a->read(3));
97 $this->assertEquals('', (string) $a);
109 $this->assertEquals('foo', $a->read(3));
110 $this->assertEquals('bar', $a->read(3));
111 $this->assertEquals('baz', $a->read(3));
115 $this->assertEquals('foobarbaz', (string) $a);
124 $this->assertEquals(
[all...]
/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);

12345678910>>...41