FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

chore(deps): update dependency org.mockito:mockito-core to v4 by renovate-bot · Pull Request #6155 · GoogleCloudPlatform/java-docs-samples · GitHub

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

Merged
eaball35 merged 1 commit into
GoogleCloudPlatform:masterfrom
renovate-bot:renovate/major-mockito-monorepo
Oct 11, 2021
Merged

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

Conversation

renovate-bot commented Oct 7, 2021
edited
Loading

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.mockito:mockito-core 3.12.4 -> 4.0.0

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 these updates 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.

forking-renovate Bot added the automerge Merge the pull request once unit tests and other checks pass. label Oct 7, 2021
google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Oct 7, 2021
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
product-auto-label Bot added the samples Issues that are directly related to samples. label Oct 7, 2021
kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 7, 2021

Copy link
Copy Markdown
Contributor

Merge-on-green attempted to merge your PR for 6 hours, but it was not mergeable because either one of your required status checks failed, one of your required reviews was not approved, or there is a do not merge label. Learn more about your required status checks here: https://help.github.com/en/github/administering-a-repository/enabling-required-status-checks. You can remove and reapply the label to re-run the bot.

gcf-merge-on-green Bot removed the automerge Merge the pull request once unit tests and other checks pass. label Oct 7, 2021

lesv commented Oct 7, 2021

Copy link
Copy Markdown
Contributor

Java 8

Log is empty. :(

lesv commented Oct 7, 2021

Copy link
Copy Markdown
Contributor

https://github.com/mockito/mockito/releases says:

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.

renovate-bot force-pushed the renovate/major-mockito-monorepo branch from 8c5db84 to e27903b Compare October 8, 2021 20:26
trusted-contributions-gcf Bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 8, 2021
kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 8, 2021
eaball35 self-requested a review October 11, 2021 15:46
eaball35 merged commit 9c7c8ff into GoogleCloudPlatform:master Oct 11, 2021
renovate-bot deleted the renovate/major-mockito-monorepo branch October 11, 2021 15:52
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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. samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL