RFR: 8284524: Create an automated test for JDK-4422362 [v3]

Sergey Bylokhov serb at openjdk.java.net
Thu Jun 16 03:40:11 UTC 2022


On Wed, 18 May 2022 08:38:49 GMT, Srinivas Mandalika <smandalika at openjdk.org> wrote:

>> Create an automated test for [JDK-4422362](https://bugs.openjdk.java.net/browse/JDK-4422362)
>> 
>> The BoundedRangeModel components (JScrollBar, JSlider, JProgressBar) return
>> BoundedRangeModel.getMaximum() from getMaximumAccessibleValue() in their
>> AccessibleValue implementation.
>> The real maximum value (due to the constraints on BoundedRangeModel) is
>> model.getMaximum() - model.getExtent().
>> 
>> The test verifies that the above is adhered to as expected.
>> 
>> This review is for migrating tests from a closed test suite to open.
>> 
>> Testing:
>> The test ran successfully on Mach5 with multiple runs (30) on windows-x64, linux-x64 and macos-x64.
>
> Srinivas Mandalika has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Review Comments Fixed: Fixed File location path.

test/jdk/javax/accessibility/MaximumAccessibleValueTest.java line 26:

> 24: /*
> 25:  * @test
> 26:  * @key headful

I think the headful tag is not needed in this test, please check.

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

PR: https://git.openjdk.org/jdk/pull/8158



More information about the client-libs-dev mailing list