RFR: JDK-8340077 : Open source few Checkbox tests - Set2

Harshitha Onkar honkar at openjdk.org
Fri Sep 20 05:07:34 UTC 2024


On Thu, 19 Sep 2024 17:59:26 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:

> Following tests are updated in this PR:
> 
> 1. 	test/jdk/java/awt/Checkbox/CheckboxBoxSizeTest.java
> 2. 	test/jdk/java/awt/Checkbox/CheckboxIndicatorSizeTest.java
> 3. 	test/jdk/java/awt/Checkbox/CheckboxNullLabelTest.java
> 4. 	test/jdk/java/awt/Checkbox/CheckboxPreferredSizeTest.java

test/jdk/java/awt/Checkbox/CheckboxBoxSizeTest.java line 42:

> 40: public class CheckboxBoxSizeTest {
> 41:     private static final String INSTRUCTIONS = """
> 42:             This test must be run at UI Scale of 100% OR 150% or greater.

@prsadhuk Tested at different UI Scales on windows and "the box" doesn't seem to scale properly and doesn't match windows native app (used Word -> Font settings to check). 
I think it is product bug. These tests weren't problemlisted so I may need to create a new JBS bug and problemlist this test and probably CheckboxIndicatorSizeTest on windows.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21094#discussion_r1767986862


More information about the client-libs-dev mailing list