芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/fmd/vendor/emojione/emojione/lib/php/test/EmojioneTest.php
cacheBustParam . '"/>
'; $this->assertEquals(Emojione::toImage($test), $expected); } /** * test Emojione::unifyUnicode() * * @return void */ public function testUnifyUnicode() { $test = 'Hello world! 😄 :smile:'; $expected = 'Hello world! 😄 😄'; $this->assertEquals(Emojione::unifyUnicode($test), $expected); } /** * test Emojione::shortnameToUnicode() * * @return void */ public function testShortnameToUnicode() { $test = 'Hello world! 😄 :smile:'; $expected = 'Hello world! 😄 😄'; $this->assertEquals(Emojione::shortnameToUnicode($test), $expected); } /** * test Emojione::shortnameToAscii() * * @return void */ public function testShortnameToAscii() { $test = 'Hello world! 😄 :smile:'; $expected = 'Hello world! 😄 :]'; $this->assertEquals(Emojione::shortnameToAscii($test), $expected); } /** * test Emojione::shortnameToImage() * * @return void */ public function testShortnameToImage() { $test = 'Hello world! 😄 :smile:'; $expected = 'Hello world! 😄
'; $this->assertEquals(Emojione::shortnameToImage($test), $expected); } /** * test Emojione::toShort() * * @return void */ public function testToShort() { $test = 'Hello world! 😄 :smile:'; $expected = 'Hello world! :smile: :smile:'; $this->assertEquals(Emojione::toShort($test), $expected); } /** * test Emojione::unicodeToImage() * * @return void */ public function testUnicodeToImage() { $test = 'Hello world! 😄 :smile:'; $expected = 'Hello world!
:smile:'; $this->assertEquals(Emojione::unicodeToImage($test), $expected); } }