Skip to content

chore(deps): update dependency org.mockito:mockito-core to v4#1083

Merged
eaball35 merged 1 commit intoGoogleCloudPlatform:masterfrom
renovate-bot:renovate/major-mockito-monorepo
Oct 7, 2021
Merged

chore(deps): update dependency org.mockito:mockito-core to v4#1083
eaball35 merged 1 commit intoGoogleCloudPlatform:masterfrom
renovate-bot:renovate/major-mockito-monorepo

Conversation

@renovate-bot
Copy link
Contributor

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.mockito:mockito-core 3.12.4 -> 4.0.0 age adoption passing confidence

Release Notes

mockito/mockito

v4.0.0

Compare Source

Mockito 4: Removing deprecated APIs.

All of these APIs have been marked as deprecated and have been present
in Mockito for quite a while.

An overview of now-deleted classes/methods:

  • org.mockito.Matchers which was an alias for
    org.mockito.ArgumentMatchers
  • org.mockito.ArgumentMatchers#{anyObject,anyVararg} both which were
    aliases for org.mockito.ArgumentMatchers#any
  • org.mockito.ArgumentMatchers#any*Of, which were aliases for the same
    method name without the Of and the generic parameters (which were
    ignored)
  • org.mockito.ArgumentMatchers#{is}{Not}Null(Class) which took a class
    which was ignored. Aliases for the same methods without the parameter
  • org.mockito.MockedStatic#verify which had the parameter types reversed
  • org.mockito.Mockito#verifyZeroInteractions an alias of
    verifyNoMoreInteractions
  • org.mockito.Mockito#debug framework integration API that we later
    refactored
  • org.mockito.configuration.AnnotationEngine which was leaking internal
    APIs and instead users should use org.mockito.plugins.AnnotationEngine
  • org.mockito.exceptions.verification.TooLittleActualInvocations fixed
    the grammar from "Little" to "Few"
  • Numerous internal APIs that we never officially supported and can now
    remove
  • org.mockito.plugins.InstantiatorProvider which was leaking internal
    APIs and instead users should use InstantiatorProvider2 (we should
    probably rename back to remove the number in a future major release)
  • org.mockito.runners a package that hosted several old JUnit runners
    which were no longer supported. Users should instead use
    org.mockito.junit.MockitoJUnitRunner which is our official JUnit4
    runner.

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Never, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate-bot renovate-bot requested a review from a team as a code owner October 7, 2021 14:54
@forking-renovate forking-renovate bot added the automerge Merge the pull request once unit tests and other checks pass. label Oct 7, 2021
@trusted-contributions-gcf trusted-contributions-gcf bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels Oct 7, 2021
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Oct 7, 2021
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 7, 2021
@eaball35 eaball35 merged commit 45125be into GoogleCloudPlatform:master Oct 7, 2021
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Oct 7, 2021
@renovate-bot renovate-bot deleted the renovate/major-mockito-monorepo branch October 7, 2021 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement. owlbot:run Add this label to trigger the Owlbot post processor.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants