RFR: 8283712 : Create a manual test framework class [v5]

Alexey Ivanov aivanov at openjdk.java.net
Tue Apr 5 21:04:40 UTC 2022


On Tue, 5 Apr 2022 20:16:28 GMT, lawrence.andrews <duke at openjdk.java.net> wrote:

>> We need a common manual test framework code that can be shared across all the client manual test. This framework class should have the following
>> 1) Frame which contains test instruction .
>> 2) Pass & Fail button so that user can mark the test pass or fail
>> 3) Upon failing the test user should be able to elaborate why the test failed and this can be added to the test failure. 
>> 4) Disposing of all the frames.
>> 
>> @aivanov-jdk
>
> lawrence.andrews has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fixed review comments

test/jdk/java/awt/print/PrinterJob/PrintLatinCJKTest.java line 105:

> 103:         PrintLatinCJKTest.showFrame();
> 104:         passFailJFrame.awaitAndCheck();
> 105:         PrintLatinCJKTest.disposeTestFrame();

It won't be disposed of if the test fails, that is throws an exception, so this should be in try-finally block.

The class name isn't required to call a static method which is in this class.

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

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



More information about the client-libs-dev mailing list