Browse Source

test_Emoji4

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

8
src/test/java/TestEmojiPicker.java

@ -109,5 +109,13 @@ public class TestEmojiPicker {
assertEquals(3, gridLayout.getColumns());
}
@Test
public void testEmojiPickerButtonCount1() {
JTextField textField = new JTextField();
EmojiPicker emojiPicker = new EmojiPicker(textField);
Component[] components = emojiPicker.getComponents();
assertEquals(12, components.length);
}
}
Loading…
Cancel
Save