[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-2d-dev
Subject: Integrated: 8325762: Use PassFailJFrame.Builder.splitUI() in PrintLatinCJKTest.java
From: Alexey Ivanov <aivanov () openjdk ! org>
Date: 2024-02-28 14:45:01
Message-ID: GVkk-6WUXVaXo4yDz6J8fW3SS8eR9li4jrbkE0Kl-Nc=.82d33e46-068f-44cc-9aa1-eb311f00f5d6 () github ! com
[Download RAW message or body]
On Wed, 14 Feb 2024 13:57:41 GMT, Alexey Ivanov <aivanov@openjdk.org> wrote:
> The `test/jdk/java/awt/print/PrinterJob/PrintLatinCJKTest.java` displays a single \
> *Print* button as its test UI. To simplify the UI, I used the new `splitUI` method \
> from #17845.
> In addition to it, I refactored the test:
>
> - Extracted the rendered text into a constant to ensure the same text is printed \
> and displayed in the instructions.
> - Displayed an error message to the tester if `PrinterException` is caught and \
> automatically failed the test.
This pull request has now been integrated.
Changeset: 41242cbe
Author: Alexey Ivanov <aivanov@openjdk.org>
URL: https://git.openjdk.org/jdk/commit/41242cbe5d01fc6e19859626dd08f6191e7486fb
Stats: 70 lines in 1 file changed: 21 ins; 14 del; 35 mod
8325762: Use PassFailJFrame.Builder.splitUI() in PrintLatinCJKTest.java
Reviewed-by: honkar, dmarkov
-------------
PR: https://git.openjdk.org/jdk/pull/17847
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic