RFR: 8353309: Open source several Swing text tests [v2]
Phil Race
prr at openjdk.org
Wed Apr 2 19:47:09 UTC 2025
On Wed, 2 Apr 2025 16:07:18 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
>> Phil Race has updated the pull request incrementally with one additional commit since the last revision:
>>
>> 8353309
>
> test/jdk/javax/swing/text/html/FormView/4473401/bug4473401.java line 76:
>
>> 74: public void hyperlinkUpdate(HyperlinkEvent e) {
>> 75: if (e instanceof FormSubmitEvent) {
>> 76: jep.setText("If you see this page the test<font color=green> PASSED</font></CENTER>");
>
> Does it mean, the test is semi-automatic, and you can call `PassFailJFrame.forcePass()` in this case?
I don't think so. The sequence is the user presses the buttom, the event is received here which calls an API to set text and then the user has to visually verify that the text was displayed.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24364#discussion_r2025476443
More information about the client-libs-dev
mailing list