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

Prasanta Sadhukhan psadhukhan at openjdk.org
Fri Sep 20 05:14:34 UTC 2024


On Fri, 20 Sep 2024 05:04:18 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.

Looks to be similar to [JDK-8233068](https://bugs.openjdk.org/browse/JDK-8233068)

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

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


More information about the client-libs-dev mailing list