Skip to content

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

Open
afs wants to merge 2 commits into
apache:mainfrom
afs:junit6-pt2
Open

GH-3236: Convert jena-text and jena-tdb1 to JUnit6.#3989
afs wants to merge 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.

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