RFR: 8353446: Open source several AWT Menu tests - Batch 2 [v2]

Abhishek Kumar abhiscxk at openjdk.org
Tue Apr 22 05:18:45 UTC 2025


On Tue, 22 Apr 2025 05:10:16 GMT, Tejesh R <tr at openjdk.org> wrote:

>> test/jdk/java/awt/Menu/OnFlyRepaintMenuTest.java line 50:
>> 
>>> 48:                 1. Click the button 'Change state' and wait for 5 secs.
>>> 49:                 2. If menu is repainted correctly after its setLabel()
>>> 50:                    and setEnabled() methods called test PASSED, else FAILED.
>> 
>> How to know that correct menu is repainted ?
>> 
>> You may add the initial menu details... like menu labels, menu state, menu checked state etc.
>> And then after clicks... what change is expected ?
>> 
>> This will give tester an info to compare against the test instructions.
>
> repainted correctly after setLabel and setEnabled is evident that its w.r.t to label and enable/disable.

In that case, there is no info about `setDisable` method in test instruction.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24681#discussion_r2053343847


More information about the client-libs-dev mailing list