RFR: 8316017: Refactor timeout handler in PassFailJFrame

Phil Race prr at openjdk.org
Tue Sep 19 18:37:40 UTC 2023


On Mon, 11 Sep 2023 18:18:28 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

> Refactored timeout handling in PassFailJFrame:
> 
> 1. Managing the timer and formatting the time left is inside `TimeoutHandler` class.
> 2. The class handles timer events and updates the label accordingly.
> 
> This is implemented on top of #15665.

test/jdk/java/awt/regtesthelpers/PassFailJFrame.java line 329:

> 327:                 timer.stop();
> 328:                 testFailedReason = FAILURE_REASON
> 329:                                    + "Timeout User did not perform testing.";

If the test was explicitly failed by the user (ie failed==true), why does the reason say that there was a time out ?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15668#discussion_r1330548806


More information about the client-libs-dev mailing list