RFR: 8315804: Open source several Swing JTabbedPane JTextArea JTextField tests

Alexey Ivanov aivanov at openjdk.org
Mon Sep 18 13:59:41 UTC 2023


On Thu, 14 Sep 2023 16:35:44 GMT, Damon Nguyen <dnguyen at openjdk.org> wrote:

> These are the tests being converted:
> 
> javax/swing/JTabbedPane/4703690/bug4703690.java
> javax/swing/JTabbedPane/GetComponentAt/GetComponentAtTest.java
> javax/swing/JTabbedPane/ReplaceCompTab/ReplaceCompTab.java
> javax/swing/JTextArea/4849868/bug4849868.java
> javax/swing/JTextField/4244613/bug4244613.java

test/jdk/javax/swing/JTextField/bug4244613.java line 40:

> 38:     /** Auxilliary class implementing Action
> 39:     */
> 40:     static class NullAction implements Action {

You may extend `AbstractAction` to reduce the amount of methods implemented.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/15747#discussion_r1328771683


More information about the client-libs-dev mailing list