Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use simplified JUnit assertion methods #1298

Merged
merged 3 commits into from
Oct 16, 2024

Conversation

ParanoidUser
Copy link
Contributor

The primary objective of this PR is to start using simplified JUnit assertion methods, primarily Assertions.assertInstanceOf(), which became stable with the JUnit 5.10.0 release in July 2023.

Additionally, a few test classes that cover deprecated source classes are also marked as deprecated to simplify housekeeping in 4.0 release.

@ParanoidUser
Copy link
Contributor Author

ParanoidUser commented Oct 15, 2024

This is unrelated to the PR subject, but I don't want to draw too much attention to this minor tweak. As part of LANG-1747, the mockito-core dependency was added in this commit, which is not actually used anywhere. Thus, it is being removed as unnecessary.

Copy link

@ppkarwasz ppkarwasz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks!

@garydgregory garydgregory merged commit 2a208cf into apache:master Oct 16, 2024
16 of 18 checks passed
garydgregory added a commit that referenced this pull request Oct 16, 2024
@ParanoidUser ParanoidUser deleted the simplified-assertions branch October 16, 2024 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants