[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    Integrated: 8273634: [TEST_BUG] Improve javax/swing/text/ParagraphView/6364882/bug6364882.java
From:       Alexey Ivanov <aivanov () openjdk ! java ! net>
Date:       2021-09-28 19:20:48
Message-ID: 0aC9k0IduI-v8ZJIENFjyJ5-hc0MVthorq2cfa97Jks=.749bab47-cb6e-4a4a-a0ba-7577b10ce297 () github ! com
[Download RAW message or body]

On Thu, 23 Sep 2021 19:19:34 GMT, Alexey Ivanov <aivanov@openjdk.org> wrote:

> The test is being moved from the closed to open.
> 
> I updated the `bug6364882.java` test so that it's headless now. If it fails, the \
> image of the `editorPane` is saved for analysis. I also added more asserts which \
> verify: 
> • the first three lines are aligned to the right edge;
> • the fourth line isn't justified and its width is less than 3/4 of the width;
> • the fifth and sixth lines have width less than that of the fourth line and have \
> the same width. 
> There's an option to show the UI for visual inspection as well as to save the image \
> even if the test passes; use `-show` and/or `-save` parameters to the test \
> correspondingly. 
> [1] [JDK-6364882](https://bugs.openjdk.java.net/browse/JDK-6364882): Last line of a \
> paragraph should not be justified

This pull request has now been integrated.

Changeset: 67e52a30
Author:    Alexey Ivanov <aivanov@openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/67e52a3078b0e7e522297c6008f5ac3792937c6a
                
Stats:     239 lines in 1 file changed: 239 ins; 0 del; 0 mod

8273634: [TEST_BUG] Improve javax/swing/text/ParagraphView/6364882/bug6364882.java

Reviewed-by: serb

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

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic