RFR: 8295078: TextField blurry when inside an TitledPane -> AnchorPane [v3]

Marius Hanl mhanl at openjdk.org
Tue Nov 8 17:38:23 UTC 2022


On Tue, 8 Nov 2022 16:40:11 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

>> Marius Hanl has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8295078: Replace JUnit4 with Junit5 imports
>
> modules/javafx.graphics/src/test/java/test/javafx/scene/layout/AnchorPaneTest.java line 765:
> 
>> 763:         double snappedPaddingY = child.snapPositionY(padding);
>> 764: 
>> 765:         assertEquals(snappedPaddingX, boundsInParent.getMinX(), 0.0001);
> 
> EPSILON constant perhaps?

Not sure if this is worth it for just 2 occurrences. In general I always try not to clutter the test class with things used in only one or two test methods.

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

PR: https://git.openjdk.org/jfx/pull/910


More information about the openjfx-dev mailing list