Skip to content

GH-3236: Convert jena-text and jena-tdb1 to JUnit6.#3989

Merged
afs merged 2 commits into
apache:mainfrom
afs:junit6-pt2
Jun 14, 2026
Merged

GH-3236: Convert jena-text and jena-tdb1 to JUnit6.#3989
afs merged 2 commits into
apache:mainfrom
afs:junit6-pt2

Conversation

@afs

@afs afs commented Jun 13, 2026

Copy link
Copy Markdown
Member

Part of #3236.

Not AI!
The bulk of the work is done a perl script!

That leaves assertThrows, parameterization and test suites to do manually, and any assert with a message.

assertThrows can be placed on the actual method call, so more precise than Junit4 @Test(expected=).

Parameterization isn't that common; changed to @ParameterizedClass @MethodSource.

TS_* changed to use @Suite @SelectClasses.

Some reformatting.


  • Tests are included.
  • Key commit messages start with the issue number (GH-xxxx)

By submitting this pull request, I acknowledge that I am making a contribution to the Apache Software Foundation under the terms and conditions of the Contributor's Agreement.

@afs afs merged commit a48bee7 into apache:main Jun 14, 2026
1 of 2 checks passed
@afs afs deleted the junit6-pt2 branch June 14, 2026 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant