芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/apv.mgaplay.com.br/vendor/emojione/emojione/lib/php/test/EmojiTest.php
getRuleset()->getShortcodeReplace(); $unicode_replace = Emojione::getClient()->getRuleset()->getUnicodeReplace(); $unicode = Emojione::shortnameToUnicode($shortname); $this->assertNotTrue($unicode === $shortname); $this->assertTrue(isset($shortcode_replace[$shortname])); $this->assertEquals(strtoupper($shortcode_replace[$shortname]), $simple_unicode); $this->assertTrue(isset($unicode_replace[$unicode])); $this->assertEquals($unicode_replace[$unicode], $shortname); $convert_unicode = strtolower(Emojione::convert($simple_unicode)); $image_template = '
'; $image = sprintf($image_template, $convert_unicode, $simple_unicode); $this->assertEquals(Emojione::toImage($shortname), $image); } }