RFR: 8244531: Tests: add support to identify recurring issues with controls et al

Jeanette Winzenburg fastegal at openjdk.java.net
Thu May 21 10:38:17 UTC 2020


On Thu, 21 May 2020 06:56:12 GMT, Ajit Ghaisas <aghaisas at openjdk.org> wrote:

>> It's a task to support cross-control/skin testing for recurring issues (like memory leaks on switching skins)
>> 
>> Basically, there's a utility class
>> - to access lists of all control/classes,
>> - to access/create all behaviors
>> - has alternative skins classes for all controls and utility to install/replace skins
>> 
>> POC:
>> - has test examples (not run in normal testing due to not following naming conventions) for using
>> - changed SkinDisposeContractTest to use
>
> modules/javafx.controls/src/test/java/test/com/sun/javafx/scene/control/infrastructure/ControlSkinFactory.java line 212:
> 
>> 211:      * @return the default behavior for the control
>> 212:      * @throws RuntimeException with the exception thrown when instantiating the behavior
>> 213:      *
> 
> Remove word 'with'

hmm .. the runtime is wrapping the checked exceptions, now tried to clarify by "RuntimeException wrapped around"

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

PR: https://git.openjdk.java.net/jfx/pull/223


More information about the openjfx-dev mailing list