RFR: 8336389: Infinite loop occurs while resolving lookups [v2]

Kevin Rushforth kcr at openjdk.org
Tue Jul 16 18:15:56 UTC 2024


On Tue, 16 Jul 2024 18:06:54 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

>> modules/javafx.graphics/src/test/java/test/javafx/scene/CssStyleHelperTest.java line 43:
>> 
>>> 41: import static org.junit.Assert.assertFalse;
>>> 42: import static org.junit.Assert.assertTrue;
>>> 43: import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
>> 
>> We have a general "best practice" to not mix JUnit 4 and JUnit 5 calls in the same test class.
>
> how did I miss that???

Worth noting is that PR #1503 also uses JUnit 5 for its new tests, and in a non-trivial manner (not easy to replace). Maybe the best thing to do is to convert this test class to JUnit 5?

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1505#discussion_r1679845670


More information about the openjfx-dev mailing list