RFR: 8296275: Write a test to verify setAccelerator method of JMenuItem [v4]
Alexey Ivanov
aivanov at openjdk.org
Fri Nov 18 15:19:21 UTC 2022
On Fri, 18 Nov 2022 08:06:48 GMT, Naveen Narayanan <duke at openjdk.org> wrote:
>> This testcase will
>> 1) Verify setAccelerator method of JMenuitem.
>> 2) Check that the selection of a menu item in the menu bar will generate action by a key combination of META+M.
>>
>> Testing:
>> Tested using Mach5(20 times per platform) in Mac OS, Linux and Windows and got all pass.
>
> Naveen Narayanan has updated the pull request incrementally with one additional commit since the last revision:
>
> 8296275: Review comments fixed.
Changes requested by aivanov (Reviewer).
test/jdk/java/awt/Desktop/JMenuItemSetAcceleratorTest.java line 83:
> 81: System.out.println("Test skipped as Desktop is not supported.");
> 82: return;
> 83: }
Desktop is not used at all, is it?
-------------
PR: https://git.openjdk.org/jdk/pull/11035
More information about the client-libs-dev
mailing list