RFR: 8341984: Use PassFailJFrame for TimeChangeButtonClickTest.java [v2]

Alexey Ivanov aivanov at openjdk.org
Mon Oct 14 18:37:43 UTC 2024


> Refactor the test `javax/swing/JButton/TimeChangeButtonClickTest.java` to use the `PassFailJFrame` framework to handle the tester's decision on whether the test passes or fails.
> 
> I reformatted the instructions for performing the test into HTML.
> 
> I preserved the test UI panel which contains the button to press and the label with button press counter.
> 
> The updated test is shorter by nearly 100 lines.

Alexey Ivanov has updated the pull request incrementally with two additional commits since the last revision:

 - Rename instructions -> INSTRUCTIONS
 - Add @library and @build jtreg tags

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/21476/files
  - new: https://git.openjdk.org/jdk/pull/21476/files/b71d5b90..1d5b62d4

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=21476&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=21476&range=00-01

  Stats: 4 lines in 1 file changed: 2 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/21476.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21476/head:pull/21476

PR: https://git.openjdk.org/jdk/pull/21476


More information about the client-libs-dev mailing list