[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-2d-dev
Subject: Re: RFR: 8299296: Write a test to verify the components selection sends ItemEvent
From: Sergey Bylokhov <serb () openjdk ! org>
Date: 2022-12-24 22:15:47
Message-ID: ssofgqKhhXhQfD2VeYi9ZEp6jtFk0fDw4QpifRglsn4=.6fc0f856-0046-4766-928c-3df77aa2b963 () github ! com
[Download RAW message or body]
On Sat, 24 Dec 2022 14:40:27 GMT, Ravi Gupta <duke@openjdk.org> wrote:
> This testcase verifies the following assertions
>
> a. Selecting an item in the Choice using mouse generates ItemEvent.
> b. Single-click on an Checkbox generates ItemEvent.
>
> Testing:
> Tested using Mach5(20 times per platform) in macos, linux and windows and got all pass.
test/jdk/java/awt/event/ComponentEvent/ComponentItemEventTest.java line 25:
> 23:
> 24: import java.awt.*;
> 25: import java.awt.event.*;
Just a small suggestion: "use single-class imports"
-------------
PR: https://git.openjdk.org/jdk/pull/11786
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic