[code-reflection] RFR: Update compiler tests to use JUnit instead of TestNG [v3]
Paul Sandoz
psandoz at openjdk.org
Wed Sep 17 18:02:27 UTC 2025
On Mon, 15 Sep 2025 22:56:30 GMT, Mourad Abbay <mabbay at openjdk.org> wrote:
>> Update compiler tests to use JUnit instead of TestNG.
>
> Mourad Abbay has updated the pull request incrementally with one additional commit since the last revision:
>
> Swap arguments of assertEquals to match JUnit spec.
Marked as reviewed by psandoz (Lead).
test/langtools/tools/javac/reflect/TestLocalCapture.java line 42:
> 40: import org.junit.jupiter.params.provider.MethodSource;
> 41:
> 42: import java.util.stream.IntStream;
Suggestion: use IntelliJ to reorder your imports.
test/langtools/tools/javac/reflect/TestLocalCapture.java line 69:
> 67:
> 68: public static IntStream ints() {
> 69: return IntStream.range(0, 50);
Nice!
-------------
PR Review: https://git.openjdk.org/babylon/pull/566#pullrequestreview-3235619860
PR Review Comment: https://git.openjdk.org/babylon/pull/566#discussion_r2356312930
PR Review Comment: https://git.openjdk.org/babylon/pull/566#discussion_r2356313589
More information about the babylon-dev
mailing list