RFR: 8373913: Refactor serialization tests to use JUnit [v4]
Roger Riggs
rriggs at openjdk.org
Tue Jan 13 01:56:50 UTC 2026
> Refactor serialization tests to use JUnit.
> Automated conversion for most annotations.
> Conditional tests are refactored to use JUnit Enable/DisableIf.
Roger Riggs has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains six additional commits since the last revision:
- Merge branch 'master' into 8373913-serialfilter-to-junit
- Refactored test parameter provider methods to be static.
Removed the @TestInstance annotations.
Added @Serial where it was missing.
- Simplification of AssertThrows cases and changing success output to System.err to interleve with JUnit output.
- Update to use Stream<List<String>> for parameterized method testing.
Add static to simplify test setup.
Small source changes to remove "C" style array declarations.
- Cleanup arglist and fix code style
- JDK-8373913: Refactor serialization tests tests to use JUnit
Automated conversion for most annotations.
Conditional tests are refactored to use JUnit Enable/DisableIf.
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/28877/files
- new: https://git.openjdk.org/jdk/pull/28877/files/cc9a66bc..894b61b8
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=28877&range=03
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=28877&range=02-03
Stats: 32398 lines in 2774 files changed: 10840 ins; 5580 del; 15978 mod
Patch: https://git.openjdk.org/jdk/pull/28877.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28877/head:pull/28877
PR: https://git.openjdk.org/jdk/pull/28877
More information about the core-libs-dev
mailing list