/plugin/dbquery/_test/ |
H A D | GeneralTest.php | 34 $this->assertEquals('dbquery', $info['base']); 61 $this->assertEquals(
|
H A D | HelperTest.php | 39 $this->assertEquals($expected, $actual); 61 $this->assertEquals($expected, $actual); 81 $this->assertEquals($expected, $actual);
|
/plugin/siteexport/_test/ |
H A D | plugin_siteexport_move.test.php | 27 $this->assertEquals('<toc>
|
/plugin/structpublish/_test/ |
H A D | general.test.php | 29 $this->assertEquals('structpublish', $info['base']); 51 $this->assertEquals(
|
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/sqlite/_test/ |
H A D | GeneralTest.php | 34 $this->assertEquals('sqlite', $info['base']); 61 $this->assertEquals(
|
H A D | HelperTest.php | 80 $this->assertEquals($sqlarray1, $SqliteHelper->SQLstring2array($sqlstring1)); 81 $this->assertEquals($sqlarray2, $SqliteHelper->SQLstring2array($sqlstring2)); 110 $this->assertEquals('SELECT * FROM bar', $statements[1]); 111 $this->assertEquals('SELECT * FROM bax', $statements[2]); 112 $this->assertEquals('SELECT * FROM bar', $statements[3]); 113 $this->assertEquals('SELECT * FROM bax', $statements[4]); 124 $this->assertEquals($quotedstring, $SqliteHelper->quote_and_join($vals)); 134 $this->assertEquals($quotedstring, $SqliteHelper->quote_string($string)); 144 $this->assertEquals($quotedstring, $SqliteHelper->escape_string($string)); 168 $this->assertEquals( [all...] |
H A D | SQLiteDBTest.php | 58 $this->assertEquals(['first' => 'one', 'second' => 'two', 'third' => 'three'], $result); 61 $this->assertEquals(['first' => 'one', 'second' => 'two', 'third' => 'three'], $result); 66 $this->assertEquals(['first' => 'one', 'second' => 'two', 'third' => 'three'], $result); 75 $this->assertEquals(11, $insid); 79 $this->assertEquals(5, $affected); 100 $this->assertEquals(['tid' => 4, 'keyword' => 'music', 'value' => 'Classic'], $result); 117 $this->assertEquals($record, $newrecord); 124 $this->assertEquals(11, $newrecord['tid']); 133 $this->assertEquals('Classic', $result); 144 $this->assertEquals('Borin [all...] |
/plugin/structstatus/_test/ |
H A D | general.test.php | 27 $this->assertEquals('structstatus', $info['base']); 48 …$this->assertEquals(gettype($conf), gettype($meta),'Both ' . DOKU_PLUGIN . 'structstatus/conf/defa…
|
/plugin/aichat/vendor/mehrab-wj/tiktoken-php/tests/ |
H A D | EncoderTest.php | 17 $this->assertEquals([1212, 318, 617, 2420], $encoder->encode('This is some text')); 18 $this->assertEquals([10134, 23858, 21746], $encoder->encode('hasOwnProperty')); 19 $this->assertEquals([10163, 2231, 30924, 3829], $encoder->encode('1234567890')); 20 $this->assertEquals([15496, 11854, 616, 1468, 1545], $encoder->encode('Hello darkness my old friend')); 21 $this->assertEquals([31373, 50169, 233, 995, 12520, 234, 235], $encoder->encode('hello ? world ?')); 22 $this->assertEquals([33, 11401, 19047, 326, 262, 749, 2219, 2456, 389, 7997, 287, 262, 25818, 355, 257, 2060, 11241, 981, 262, 4071, 2456, 389, 5445, 866, 656, 734, 393, 517, 850, 4775, 16326, 290, 428, 318, 287, 4381, 351, 644, 257, 850, 4775, 12, 3106, 11241, 1634, 11862, 857, 13], $encoder->encode($longText)); 23 $this->assertEquals([33, 11401, 19047, 326, 262, 749, 2219, 2456, 389, 7997, 287, 262, 25818, 355, 257, 2060, 11241, 981, 262, 4071, 2456, 389, 5445, 866, 656, 734, 393, 517, 850, 4775, 16326, 290, 428, 318, 287, 4381, 351, 644, 257, 850, 4775, 12, 3106, 11241, 1634, 11862, 857, 13], $encoder->encode($longText)); 24 $this->assertEquals([38374, 268, 292, 256, 446, 274, 31215, 285, 8836, 13], $encoder->encode('Buenas tardes para mí.')); 25 $this->assertEquals([65, 2634, 65, 2634], $encoder->encode('bébé')); 26 $this->assertEquals([34 [all...] |
/plugin/imagemapping/_test/ |
H A D | general.test.php |
|
H A D | maps.test.php |
|
/plugin/tagging/_test/ |
H A D | search.test.php | 173 $this->assertEquals($this->toSingleLine($expected), $this->toSingleLine($actual));
|
/plugin/xlsx2dw/_test/ |
H A D | GeneralTest.php | 34 $this->assertEquals('xlsx2dw', $info['base']); 61 $this->assertEquals(
|
/plugin/api/_test/ |
H A D | pages.test.php | 92 …$this->assertEquals($expectedTitle, $actualPageTitle, "A page title without header must be the pag… 98 …$this->assertEquals($expectedTitle, $actualPageTitle, "A page title with header must be the first … 102 $this->assertEquals(sizeof($pagesToFound), $pagesFoundCounter, "The two pages were found"); 138 $this->assertEquals($limit, sizeof($data), "The number of page is equal t max");
|
H A D | rest.test.php | 33 $this->assertEquals(action_plugin_api::PLUGIN_NAME, $info['base']); 81 $this->assertEquals($expected,$actualData,"Information about the API is given");
|
/plugin/dev/skel/_test/ |
H A D | GeneralTest.php | 33 $this->assertEquals('@@PLUGIN_NAME@@', $info['base']); 60 $this->assertEquals(
|
/plugin/structtasks/_test/ |
H A D | CliTest.php | 58 $this->assertEquals(3, count($n)); 61 $this->assertEquals([3, 2, 1], $n[1]->getDaysBefore()); 65 $this->assertEquals(2, count($n)); 70 $this->assertEquals(1, count($n)); 72 $this->assertEquals([2, 1], $n[0]->getDaysBefore()); 75 $this->assertEquals(0, count($n));
|
H A D | GeneralTest.php | 34 $this->assertEquals('structtasks', $info['base']); 61 $this->assertEquals(
|
H A D | NotifiersTest.php | 100 $this->assertEquals($expected, $notifier->dueIn($date));
|
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/tag/_test/ |
H A D | topic_sort.test.php | 41 $this->assertEquals($this->pages, $this->extract_ids($this->helper->getTopic('', null, 'mytag')));
|
/plugin/imapmarkers/_test/ |
H A D | GeneralTest.php | 34 $this->assertEquals('imapmarkers', $info['base']); 61 $this->assertEquals(
|
/plugin/translation/_test/ |
H A D | BasicTest.php | 66 $this->assertEquals($expected, $actual_result); 133 $this->assertEquals($expected, $actual, $msg);
|
H A D | GeneralTest.php | 34 $this->assertEquals('translation', $info['base']); 61 $this->assertEquals(
|