Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[GH-3383] Modernize mockito #3384

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

Open
dossett wants to merge 6 commits into apache:master
base: master
Choose a base branch
Loading
from dossett:mockito5
Open

[GH-3383] Modernize mockito #3384

dossett wants to merge 6 commits into apache:master from dossett:mockito5

Conversation

@dossett
Copy link
Contributor

@dossett dossett commented Jan 1, 2026
edited
Loading

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
Contributor Author

@dossett dossett Jan 2, 2026

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.

Fokko reacted with eyes emoji
Copy link
Contributor

@Fokko Fokko left a comment

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

@dossett dossett changed the title (削除) Modernize mockito (削除ここまで) (追記) [GH-3383] Modernize mockito (追記ここまで) Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@Fokko Fokko Fokko approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

mockito should be upgrade to 5.x

2 participants

AltStyle によって変換されたページ (->オリジナル) /