Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

renovate-bot
Copy link
Contributor

@renovate-bot renovate-bot commented Oct 7, 2021

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 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 forking-renovate bot added the automerge Merge the pull request once unit tests and other checks pass. label Oct 7, 2021
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. 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
@product-auto-label product-auto-label bot added the samples Issues that are directly related to samples. 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
@gcf-merge-on-green
Copy link
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 gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Oct 7, 2021
@lesv
Copy link
Contributor

lesv commented Oct 7, 2021

Java 8

Log is empty. :(

@lesv
Copy link
Contributor

lesv commented Oct 7, 2021

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 renovate-bot force-pushed the renovate/major-mockito-monorepo branch from 8c5db84 to e27903b Compare October 8, 2021 20:26
@trusted-contributions-gcf 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 kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 8, 2021
@eaball35 eaball35 self-requested a review October 11, 2021 15:46
@eaball35 eaball35 merged commit 9c7c8ff into GoogleCloudPlatform:master Oct 11, 2021
@renovate-bot renovate-bot deleted the renovate/major-mockito-monorepo branch October 11, 2021 15:52
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