Bump mockito-core from 3.12.4 to 4.0.0 (#2965)
Summary: Bumps [mockito-core](https://github.com/mockito/mockito) from 3.12.4 to 4.0.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/mockito/mockito/releases">mockito-core's releases</a>.</em></p> <blockquote> <h2>v4.0.0</h2> <h1>Mockito 4: Removing deprecated APIs.</h1> <p>All of these APIs have been marked as deprecated and have been present in Mockito for quite a while.</p> <p>An overview of now-deleted classes/methods:</p> <ul> <li><code>org.mockito.Matchers</code> which was an alias for <code>org.mockito.ArgumentMatchers</code></li> <li><code>org.mockito.ArgumentMatchers#{anyObject,anyVararg}</code> both which were aliases for <code>org.mockito.ArgumentMatchers#any</code></li> <li><code>org.mockito.ArgumentMatchers#any*Of</code>, which were aliases for the same method name without the Of and the generic parameters (which were ignored)</li> <li><code>org.mockito.ArgumentMatchers#{is}{Not}Null(Class)</code> which took a class which was ignored. Aliases for the same methods without the parameter</li> <li><code>org.mockito.MockedStatic#verify</code> which had the parameter types reversed</li> <li><code>org.mockito.Mockito#verifyZeroInteractions</code> an alias of <code>verifyNoMoreInteractions</code></li> <li><code>org.mockito.Mockito#debug</code> framework integration API that we later refactored</li> <li><code>org.mockito.configuration.AnnotationEngine</code> which was leaking internal APIs and instead users should use <code>org.mockito.plugins.AnnotationEngine</code></li> <li><code>org.mockito.exceptions.verification.TooLittleActualInvocations</code> fixed the grammar from "Little" to "Few"</li> <li>Numerous internal APIs that we never officially supported and can now remove</li> <li><code>org.mockito.plugins.InstantiatorProvider</code> 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)</li> <li><code>org.mockito.runners</code> a package that hosted several old JUnit runners which were no longer supported. Users should instead use <code>org.mockito.junit.MockitoJUnitRunner</code> which is our official JUnit4 runner.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="e8f26b3785"><code>e8f26b3</code></a> Fixes <a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2281">https://github.com/facebook/flipper/issues/2281</a>: Make MockedConstruction stubs close on demand (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2442">https://github.com/facebook/flipper/issues/2442</a>)</li> <li><a href="bf480c3ec4"><code>bf480c3</code></a> Bump versions.bytebuddy from 1.11.18 to 1.11.19 (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2441">https://github.com/facebook/flipper/issues/2441</a>)</li> <li><a href="d4180a2715"><code>d4180a2</code></a> Update BND plugin to 6.0.0 (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2440">https://github.com/facebook/flipper/issues/2440</a>)</li> <li><a href="7032574ce1"><code>7032574</code></a> Remove all Incubating annotations (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2437">https://github.com/facebook/flipper/issues/2437</a>)</li> <li><a href="c8dbc10d20"><code>c8dbc10</code></a> Fix spelling in old release notes (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2439">https://github.com/facebook/flipper/issues/2439</a>)</li> <li><a href="40d6f6840e"><code>40d6f68</code></a> Add test for enum mocking using inline mock maker.</li> <li><a href="6a50cc458b"><code>6a50cc4</code></a> Run CI on Java 17 (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2417">https://github.com/facebook/flipper/issues/2417</a>)</li> <li><a href="99f8a62536"><code>99f8a62</code></a> Add monospace font fallback for JavaDoc (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2434">https://github.com/facebook/flipper/issues/2434</a>)</li> <li><a href="651feb3007"><code>651feb3</code></a> Bump versions.junitJupiter from 5.8.0 to 5.8.1 (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2430">https://github.com/facebook/flipper/issues/2430</a>)</li> <li><a href="6db7a02587"><code>6db7a02</code></a> Bump junit-platform-launcher from 1.8.0 to 1.8.1 (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2432">https://github.com/facebook/flipper/issues/2432</a>)</li> <li>Additional commits viewable in <a href="https://github.com/mockito/mockito/compare/v3.12.4...v4.0.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `dependabot rebase` will rebase this PR - `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `dependabot merge` will merge this PR after your CI passes on it - `dependabot squash and merge` will squash and merge this PR after your CI passes on it - `dependabot cancel merge` will cancel a previously requested merge and block automerging - `dependabot reopen` will reopen this PR if it is closed - `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Pull Request resolved: https://github.com/facebook/flipper/pull/2965 Reviewed By: nikoant Differential Revision: D31545927 Pulled By: passy fbshipit-source-id: 8fb2447e3903ad213379e0ba0e270ad08e2598c9
This commit is contained in:
committed by
Facebook GitHub Bot
parent
47be3f36c1
commit
6362299f9c
@@ -93,7 +93,7 @@ ext.deps = [
|
||||
robolectric : 'org.robolectric:robolectric:4.5.1',
|
||||
junit : 'junit:junit:4.13.2',
|
||||
hamcrest : 'org.hamcrest:hamcrest-library:2.2',
|
||||
mockito : 'org.mockito:mockito-core:3.12.4',
|
||||
mockito : 'org.mockito:mockito-core:4.0.0',
|
||||
okhttp3 : 'com.squareup.okhttp3:okhttp:4.9.2',
|
||||
leakcanary : 'com.squareup.leakcanary:leakcanary-android:1.6.3',
|
||||
leakcanary2 : 'com.squareup.leakcanary:leakcanary-android:2.6',
|
||||
|
||||
Reference in New Issue
Block a user