BAEL-6811 remove emoji4j usage

This commit is contained in:
Sam Gardner 2023-09-14 16:03:19 +01:00
parent 39f235d8ba
commit 913f8f5500
2 changed files with 0 additions and 14 deletions

View File

@ -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>

View File

@ -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");