RFR: 7903374: Feature Tests - Adding six JavaTest GUI legacy automated test scripts [v3]
Dmitry Bessonov
dbessono at openjdk.org
Tue Nov 8 23:46:22 UTC 2022
On Tue, 8 Nov 2022 20:25:55 GMT, gollayadav <duke at openjdk.org> wrote:
>> @gollayadav cannot see the answer to the quesiton or any explaination or updates
>
>> @gollayadav cannot see the answer to the quesiton or any explaination or updates
>
> Sorry for missing this question!!!
>
> 'Markers.java' inherited 'ConfigTools.java' because it has the generic methods(For example: 'openLoadConfigDialogByMenu' - This method is used to load the configuration(.jti) file) related to javatest configuration editor and these methods are called directly from the Markers test scripts because the 'Markers' functionality/option depends on configuration editor menu.
>
> Also, these generic methods in ConfigTools.java are used in other test scripts as well (Example: CreateWorkdir) and invoked by using the class name.
The question is specifically about having these methods of class Markers _static_. If they are kept static then static imports could be used instead inheritance. Or if they are supposed to be used as inherited methods then they should be made non-static.
-------------
PR: https://git.openjdk.org/jtharness/pull/41
More information about the jtharness-dev
mailing list