/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/ |
H A D | escapingTest.php | 174 …$this->assertEquals($value, twig_escape_filter($this->env, $key, 'js'), 'Failed to escape: '.$key); 180 $this->assertEquals('', twig_escape_filter($this->env, '', 'js')); 185 $this->assertEquals('123', twig_escape_filter($this->env, '123', 'js')); 197 $this->assertEquals('', twig_escape_filter($this->env, '', 'css')); 202 $this->assertEquals('123', twig_escape_filter($this->env, '123', 'css')); 228 $this->assertEquals($expected, $result); 269 $this->assertEquals($literal, twig_escape_filter($this->env, $literal, 'js')); 273 $this->assertEquals($literal, twig_escape_filter($this->env, $literal, 'js')); 292 … $this->assertEquals($literal, twig_escape_filter($this->env, $literal, 'html_attr')); 296 … $this->assertEquals($literal, twig_escape_filter($this->env, $literal, 'html_attr')); [all …]
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CalDAV/Schedule/ |
H A D | DeliverNewEventTest.php | 69 …$this->assertEquals(201, $response->getStatus(), 'Incorrect status code received. Response body:' … 74 $this->assertEquals( 79 $this->assertEquals(1, count($messages)); 83 $this->assertEquals('mailto:user2.sabredav@sabredav.org', $message->recipient); 84 $this->assertEquals('Roxy Kesh', $message->recipientName); 85 $this->assertEquals('mailto:user1.sabredav@sabredav.org', $message->sender); 86 $this->assertEquals('Administrator', $message->senderName); 87 $this->assertEquals('REQUEST', $message->method); 89 $this->assertEquals('REQUEST', $message->message->METHOD->getValue());
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CalDAV/ |
H A D | JCalTransformTest.php | 38 $this->assertEquals(200, $response->getStatus(), "Incorrect status code: " . $body); 44 $this->assertEquals( 78 … $this->assertEquals(207, $response->getStatus(), 'Full rsponse: ' . $response->getBodyAsString()); 85 $this->assertEquals(1, count($responses)); 93 $this->assertEquals( 131 …$this->assertEquals(207, $response->getStatus(), "Invalid response code. Full body: " . $response-… 139 $this->assertEquals(1, count($responses)); 146 $this->assertEquals( 192 $this->assertEquals(1, count($responses)); 199 $this->assertEquals( [all …]
|
H A D | ValidateICalTest.php | 76 $this->assertEquals(415, $response->status); 90 …$this->assertEquals(201, $response->status, 'Incorrect status returned! Full response body: ' . $r… 91 $this->assertEquals(array( 104 … $this->assertEquals($expected, $this->calBackend->getCalendarObject('calendar1','blabla.ics')); 118 …$this->assertEquals(400, $response->status, 'Incorrect status returned! Full response body: ' . $r… 132 …$this->assertEquals(400, $response->status, 'Incorrect status returned! Full response body: ' . $r… 146 …$this->assertEquals(415, $response->status, 'Incorrect status returned! Full response body: ' . $r… 160 …$this->assertEquals(400, $response->status, 'Incorrect status returned! Full response body: ' . $r… 202 $this->assertEquals(415, $response->status); 218 $this->assertEquals(204, $response->status); [all …]
|
H A D | PluginTest.php | 104 $this->assertEquals( 137 $this->assertEquals(415, $this->response->status); 190 $this->assertEquals(403, $this->response->status); 243 $this->assertEquals(409, $this->response->status); 296 $this->assertEquals(405, $this->response->status); 353 $this->assertEquals(3, count($calendars)); 402 $this->assertEquals(3, count($calendars)); 510 $this->assertEquals($value,$prop->getValue()); 538 $this->assertEquals($value,$prop->getValue()); 563 $this->assertEquals($value,$prop->getValue()); [all …]
|
/plugin/davcard/vendor/sabre/vobject/tests/VObject/Component/ |
H A D | VCardTest.php | 23 $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 D | VCalendarTest.php | 28 $this->assertEquals($output, $vcal->serialize()); 343 $this->assertEquals(array(), $vcal->validate(), 'Got an error'); 361 $this->assertEquals(1, count($vcal->validate())); 380 $this->assertEquals(1, count($vcal->validate())); 398 $this->assertEquals(1, count($vcal->validate())); 418 $this->assertEquals(1, count($vcal->validate())); 438 $this->assertEquals(1, count($vcal->validate())); 462 $this->assertEquals(1, count($vcal->validate())); 487 $this->assertEquals(0, count($vcal->validate())); 515 $this->assertEquals('test', $result->SUMMARY->getValue()); [all …]
|
/plugin/webdavclient/vendor/sabre/vobject/tests/VObject/Component/ |
H A D | VCardTest.php | 23 $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 D | VCalendarTest.php | 28 $this->assertEquals($output, $vcal->serialize()); 343 $this->assertEquals(array(), $vcal->validate(), 'Got an error'); 361 $this->assertEquals(1, count($vcal->validate())); 380 $this->assertEquals(1, count($vcal->validate())); 398 $this->assertEquals(1, count($vcal->validate())); 418 $this->assertEquals(1, count($vcal->validate())); 438 $this->assertEquals(1, count($vcal->validate())); 462 $this->assertEquals(1, count($vcal->validate())); 487 $this->assertEquals(0, count($vcal->validate())); 515 $this->assertEquals('test', $result->SUMMARY->getValue()); [all …]
|
/plugin/davcal/vendor/sabre/vobject/tests/VObject/Component/ |
H A D | VCardTest.php | 23 $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 D | VCalendarTest.php | 28 $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 …]
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAVACL/ |
H A D | PrincipalTest.php | 32 $this->assertEquals('admin',$principal->getName()); 40 $this->assertEquals('admin',$principal->getDisplayname()); 46 $this->assertEquals('Mr. Admin',$principal->getDisplayname()); 69 $this->assertEquals('Mr. Admin',$props['{DAV:}displayname']); 116 $this->assertEquals($expected,$principal->getAlternateUriSet()); 128 $this->assertEquals($expected,$principal->getAlternateUriSet()); 136 $this->assertEquals(array(),$principal->getGroupMemberSet()); 143 $this->assertEquals(array(),$principal->getGroupMembership()); 153 $this->assertEquals(array( 163 $this->assertEquals('principals/admin',$principal->getOwner()); [all …]
|
/plugin/stopforumspam/_test/ |
H A D | LoggerTest.php | 21 $this->assertEquals($expected, $logger->logfile); 32 … $this->assertEquals("DATE,USERNAME,EMAIL,IP,TRIGGER,CONFIDENCE,ACCEPTED", trim($contents[0])); 48 $this->assertEquals("bogus", $line[1]); 49 $this->assertEquals("bogus@fake.org", $line[2]); 50 $this->assertEquals("192.168.1.1", $line[3]); 51 $this->assertEquals("test", $line[4]); 52 $this->assertEquals("11.0", $line[5]); 53 $this->assertEquals("rejected", $line[6]);
|
/plugin/findologicxmlexport/vendor/sebastian/diff/tests/LCS/ |
H A D | LongestCommonSubsequenceTest.php | 56 $this->assertEquals(array(), $common); 68 $this->assertEquals($from, $common); 82 $this->assertEquals($expected, $common); 93 $this->assertEquals($range, $common); 102 $this->assertEquals(array(), $common); 107 $this->assertEquals(array(), $common); 123 $this->assertEquals($expected, $common); 129 $this->assertEquals($expected, $common); 148 $this->assertEquals($to, $common); 159 $this->assertEquals($to, $common); [all …]
|
/plugin/latexit/_test/ |
H A D | package.test.php | 26 $this->assertEquals("balik", $p->getName()); 34 $this->assertEquals("", $p->printParameters()); 36 $this->assertEquals("[param]", $p->printParameters()); 38 $this->assertEquals("[param, p]", $p->printParameters()); 46 $this->assertEquals("", $p->printCommands()); 48 $this->assertEquals("\use{aaa}\n", $p->printCommands()); 50 $this->assertEquals("\use{aaa}\n\remove{bbb}\n", $p->printCommands());
|
/plugin/davcard/vendor/sabre/vobject/tests/VObject/Property/VCard/ |
H A D | DateAndOrTimeTest.php | 19 $this->assertEquals(array($output), $prop->getJsonValue()); 95 $this->assertEquals('20140402T183700Z', $prop->getValue()); 123 $this->assertEquals('20140402T183700Z', $prop->getValue()); 136 $this->assertEquals('20140402T183700Z', $prop->getValue()); 149 $this->assertEquals('20140402T183700-0400', $prop->getValue()); 172 $this->assertEquals('DATE', $prop->getValueType()); 173 $this->assertEquals('BDAY:20140402', rtrim($prop->serialize())); 192 $this->assertEquals($year . '0407', $dt->format('Ymd')); 215 $this->assertEquals($year . '0407', $dt->format('Ymd')); 226 $this->assertEquals(array(), $prop->validate()); [all …]
|
/plugin/webdavclient/vendor/sabre/vobject/tests/VObject/Property/VCard/ |
H A D | DateAndOrTimeTest.php | 19 $this->assertEquals(array($output), $prop->getJsonValue()); 95 $this->assertEquals('20140402T183700Z', $prop->getValue()); 123 $this->assertEquals('20140402T183700Z', $prop->getValue()); 136 $this->assertEquals('20140402T183700Z', $prop->getValue()); 149 $this->assertEquals('20140402T183700-0400', $prop->getValue()); 172 $this->assertEquals('DATE', $prop->getValueType()); 173 $this->assertEquals('BDAY:20140402', rtrim($prop->serialize())); 192 $this->assertEquals($year . '0407', $dt->format('Ymd')); 215 $this->assertEquals($year . '0407', $dt->format('Ymd')); 226 $this->assertEquals(array(), $prop->validate()); [all …]
|
/plugin/davcal/vendor/sabre/vobject/tests/VObject/Property/VCard/ |
H A D | DateAndOrTimeTest.php | 19 $this->assertEquals(array($output), $prop->getJsonValue()); 95 $this->assertEquals('20140402T183700Z', $prop->getValue()); 123 $this->assertEquals('20140402T183700Z', $prop->getValue()); 136 $this->assertEquals('20140402T183700Z', $prop->getValue()); 149 $this->assertEquals('20140402T183700-0400', $prop->getValue()); 172 $this->assertEquals('DATE', $prop->getValueType()); 173 $this->assertEquals('BDAY:20140402', rtrim($prop->serialize())); 192 $this->assertEquals($year . '0407', $dt->format('Ymd')); 215 $this->assertEquals($year . '0407', $dt->format('Ymd')); 226 $this->assertEquals(array(), $prop->validate()); [all …]
|
/plugin/latexport/_test/ |
H A D | decorator_headings.test.php | 33 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandHeader("text1", 1, 10)); 34 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandHeader("text2", 1, 20)); 35 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandHeader("text3", 3, 30)); 36 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandHeader("text4", 3, 40)); 47 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandHeader("text1", 3, 10)); 48 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandHeader("text2", 3, 20)); 49 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandHeader("text3", 1, 30)); 50 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandHeader("text4", 2, 40)); 57 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandHeader("text1", 5, 10));
|
/plugin/const/_test/ |
H A D | fix_section.test.php | 23 $this->assertEquals('57-87', $first_sec); 24 $this->assertEquals('88-118', $second_sec); 25 $this->assertEquals('119-', $third_sec); 41 $this->assertEquals('71-101', $section[0]); 42 $this->assertEquals('57-87', $section[1]); 43 $this->assertEquals('88-118', $section[2]); 44 $this->assertEquals('119-', $section[3]); 45 $this->assertEquals('102-141', $section[4]); 46 $this->assertEquals('142-', $section[5]);
|
/plugin/findologicxmlexport/vendor/phpunit/phpunit/tests/_files/ |
H A D | FailureTest.php | 6 $this->assertEquals([1], [2], 'message'); 11 $this->assertEquals(1, 2, 'message'); 22 $this->assertEquals($a, $b, 'message'); 27 $this->assertEquals(null, 'bar', 'message'); 32 $this->assertEquals('foo', 'bar', 'message'); 37 $this->assertEquals("foo\nbar\n", "foo\nbaz\n", 'message'); 47 $this->assertEquals(1, 2, 'message');
|
/plugin/datepicker/_test/ |
H A D | syntax.test.php | 34 $this->assertEquals( 46 … $this->assertEquals($this->plugin->getConf('emptyStringDate'), trim($mselector->eq(0)->text())); 47 … $this->assertEquals($this->plugin->getConf('emptyStringDate'), trim($mselector->eq(1)->text())); 48 … $this->assertEquals($this->plugin->getConf('emptyStringDate'), trim($mselector->eq(2)->text())); 68 $this->assertEquals( 99 $this->assertEquals('2014-02-01',trim($mselector->eq(0)->text())); 100 $this->assertEquals('2014-02-01',trim($mselector->eq(1)->text())); 101 $this->assertEquals('2014-02-01',trim($mselector->eq(2)->text())); 120 $this->assertEquals('14/02',trim($mselector->eq(0)->text())); 121 $this->assertEquals('14/02',trim($mselector->eq(1)->text())); [all …]
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Browser/ |
H A D | PluginTest.php | 29 $this->assertEquals( 55 $this->assertEquals( 76 $this->assertEquals( 108 $this->assertEquals(501, $this->response->status); 119 $this->assertEquals(501, $this->response->status); 140 $this->assertEquals(302, $this->response->status); 141 $this->assertEquals(array( 156 $this->assertEquals(200, $this->response->getStatus(), 'Error: ' . $this->response->body); 157 $this->assertEquals([ 173 $this->assertEquals(404, $this->response->getStatus(), 'Error: ' . $this->response->body); [all …]
|
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Serializer/ |
H A D | ContextTest.php | 52 $self->assertEquals($expectedPath, $context->getPath(), 'shouldSkipClass path'); 103 $self->assertEquals(0, $stack->count()); 107 $self->assertEquals(2, $stack->count()); 109 $self->assertEquals('children', $stack[0]->name); 121 $self->assertEquals(1, $stack->count()); 126 $self->assertEquals(3, $stack->count()); 128 $self->assertEquals('children', $stack[1]->name); 165 self::assertEquals('foo', $context->getInitialType()); 166 self::assertEquals('foo', $context->getAttribute('initial_type')); 170 self::assertEquals('foo', $context->getInitialType()); [all …]
|
/plugin/findologicxmlexport/vendor/sebastian/diff/tests/ |
H A D | ChunkTest.php | 37 $this->assertEquals(0, $this->chunk->getStart()); 42 $this->assertEquals(1, $this->chunk->getStartRange()); 47 $this->assertEquals(0, $this->chunk->getEnd()); 52 $this->assertEquals(1, $this->chunk->getEndRange()); 57 $this->assertEquals(array(), $this->chunk->getLines()); 62 $this->assertEquals(array(), $this->chunk->getLines()); 66 $this->assertEquals($testValue, $this->chunk->getLines());
|