Browse Source

test_Emoji2

remotes/origin/client-handler
Valentin Spiroski 11 months ago
parent
commit
c9a7cdf002
  1. 7
      src/test/java/TestEmojiPicker.java

7
src/test/java/TestEmojiPicker.java

@ -90,4 +90,11 @@ public class TestEmojiPicker {
assertEquals(expectedText, textField.getText(), "Failed for emoji: " + button.getText()); // Check if emoji is appended to the text field
}
}
@Test
public void testEmojiPickerNotNull() {
JTextField textField = new JTextField();
EmojiPicker emojiPicker = new EmojiPicker(textField);
assertNotNull(emojiPicker);
}
}
Loading…
Cancel
Save