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