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