RFR: 8281284 : Write JSlider accessibility test [v2]

lawrence.andrews duke at openjdk.java.net
Wed Mar 2 20:33:54 UTC 2022


On Sun, 6 Feb 2022 08:22:04 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> lawrence.andrews has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Added @key headful
>
> test/jdk/javax/accessibility/JSlider/JSliderAccessibilityTest.java line 2:
> 
>> 1: /*
>> 2:  * Copyright (c) 2019, 2022 Oracle and/or its affiliates. All rights reserved.
> 
> Is it a new test or it is based on some old code?

fixed

> test/jdk/javax/accessibility/JSlider/JSliderAccessibilityTest.java line 125:
> 
>> 123:                 throw new RuntimeException("AccessibleStateSet shouldn't contain both HORIZONTAL and VERTICAL");
>> 124:             }
>> 125:             if (jSlider.getOrientation() != jSlider.HORIZONTAL) {
> 
> Shouldn't the test creates a sliders using different orientations?

converted the testcase to manual as suggested by savoptik

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

PR: https://git.openjdk.java.net/jdk/pull/7355



More information about the client-libs-dev mailing list