/plugin/davcal/vendor/sabre/vobject/tests/VObject/Property/ |
H A D | CompoundTest.php | 21 … $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 D | syntax.test.php | 35 $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 D | SimpleFileTest.php | 11 $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 D | HTTPPreferParsingTest.php | 18 $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 D | HttpHeadTest.php | 37 $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 D | ReaderTest.php | 18 $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 D | CollectionTest.php | 26 $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 D | ArrayTest.php | 23 $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 D | ExpandEventsFloatingTimeTest.php | 113 $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 D | SharedCalendarTest.php | 41 $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 D | revision.test.php | 73 $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 D | JsonSerializationTest.php | 137 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 D | DateIntervalFormatTest.php | 17 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 D | SerializerBuilderTest.php | 32 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 D | PluginTest.php | 36 $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 D | FileTest.php | 29 $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 D | RendererTest.php | 28 $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 D | PluginBasicTest.php | 13 $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 D | OutboxTest.php | 12 $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 D | ResponseTest.php | 10 $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 D | UtilitiesTest.php | 118 $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 D | AddressBookHomeTest.php | 27 $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 D | MockObjectTest.php | 295 $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 D | AppendStreamTest.php | 59 $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 D | ContinueCallbackTest.php | 25 $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);
|