From f34cf4fbbadf9c9cd3b3e01299d3aa683d717b67 Mon Sep 17 00:00:00 2001 From: Valentin Spiroski Date: Fri, 9 Feb 2024 23:50:43 +0100 Subject: [PATCH] test_Emoji4 --- src/test/java/TestEmojiPicker.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/test/java/TestEmojiPicker.java b/src/test/java/TestEmojiPicker.java index 59947c3..0ee459c 100644 --- a/src/test/java/TestEmojiPicker.java +++ b/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); + } + }