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

Upgrade to Mockito 3.3.3 #7282

Merged
merged 1 commit into from Aug 6, 2020
Merged

Upgrade to Mockito 3.3.3 #7282

merged 1 commit into from Aug 6, 2020

Conversation

ejona86
Copy link
Member

@ejona86 ejona86 commented Aug 3, 2020

verifyZeroInteractions has the same behavior as verifyNoMoreInteractions. It
was deprecated in Mockito 3.0.1 and replaced with verifyNoInteractions, which
does not change behavior depending on previous verify() calls. All instances
were replaced with verifyNoInteractions, except those in
ApplicationThreadDeframerTest which were replaced with verifyNoMoreInteractions
since there is a verify() call in @Before.


3.3.3 was chosen as that is the last version that matches the internal mockito version. The internal linter was complaining about verifyZeroInteractions being deprecated.

verifyZeroInteractions has the same behavior as verifyNoMoreInteractions. It
was deprecated in Mockito 3.0.1 and replaced with verifyNoInteractions, which
does not change behavior depending on previous verify() calls. All instances
were replaced with verifyNoInteractions, except those in
ApplicationThreadDeframerTest which were replaced with verifyNoMoreInteractions
since there is a verify() call in `@Before`.
@ejona86
Copy link
Member Author

ejona86 commented Aug 3, 2020

CC @zhangkun83

@ejona86 ejona86 merged commit 80d62bf into grpc:master Aug 6, 2020
@ejona86 ejona86 deleted the mockito3 branch August 6, 2020 15:49
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants