BAEL-6811 remove emoji4j usage
This commit is contained in:
parent
39f235d8ba
commit
913f8f5500
|
@ -23,11 +23,6 @@
|
|||
<artifactId>commons-lang3</artifactId>
|
||||
<version>${apache-commons-lang3.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.kcthota</groupId>
|
||||
<artifactId>emoji4j</artifactId>
|
||||
<version>6.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.vdurmont</groupId>
|
||||
<artifactId>emoji-java</artifactId>
|
||||
|
|
|
@ -11,15 +11,6 @@ import emoji4j.EmojiUtils;
|
|||
|
||||
public class FindEmojisUnitTest {
|
||||
|
||||
@Test
|
||||
public void givenAWord_whenUsingEmoji4J_thenDetectEmoji() {
|
||||
boolean emoji = EmojiUtils.isEmoji("\uD83D\uDC3B");
|
||||
assertTrue(emoji);
|
||||
|
||||
boolean notEmoji = EmojiUtils.isEmoji("w");
|
||||
assertFalse(notEmoji);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void givenAWord_whenUsingEmojiJava_thenDetectEmoji() {
|
||||
boolean emoji = EmojiManager.isEmoji("\uD83D\uDC3B");
|
||||
|
|
Loading…
Reference in New Issue