Skip to content

GH-3383: Modernize mockito - #3384

Merged
wgtmac merged 6 commits into
apache:masterfrom
dossett:mockito5
Feb 27, 2026
Merged

GH-3383: Modernize mockito#3384
wgtmac merged 6 commits into
apache:masterfrom
dossett:mockito5

Conversation

@dossett

@dossettdossett commented Jan 1, 2026

Copy link
Copy Markdown
Contributor

Closes#3383

  • Substantially upgrades mockito
  • drop use of powermock in favor of new mockito functionality
  • replace a single use of easymock with mockito functionality

</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

For reasons I don't understand this started getting flagged as an undeclared dependency. This seems correct, but I don't know why it wasn't getting flagged before.

@FokkoFokko left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Oh wow, that is a big jump! Thanks for modernizing this

@dossettdossett changed the title Modernize mockito[GH-3383] Modernize mockitoJan 14, 2026
@wgtmacwgtmac changed the title [GH-3383] Modernize mockitoGH-3383: Modernize mockitoFeb 27, 2026
@wgtmac

Copy link
Copy Markdown
Member

Thanks @dossett for improving this and @Fokko for the review!

@wgtmac
wgtmac merged commit 6c7cefd into apache:masterFeb 27, 2026
5 checks passed
prtkgaur pushed a commit to prtkgaur/parquet-java that referenced this pull request Mar 11, 2026
Sign up for freeto 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.

mockito should be upgrade to 5.x

3 participants

@dossett@wgtmac@Fokko