Skip to content

Commit

Permalink
Bump mockito-core from 3.12.4 to 4.0.0 in /value
Browse files Browse the repository at this point in the history
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 &quot;Little&quot; to &quot;Few&quot;</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="https://github.com/mockito/mockito/commit/e8f26b3785a8434861e505727c580de730627540"><code>e8f26b3</code></a> Fixes <a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2281">#2281</a>: Make MockedConstruction stubs close on demand (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2442">#2442</a>)</li>
<li><a href="https://github.com/mockito/mockito/commit/bf480c3ec4c433f4f7b93233eef4ee3d4601ec97"><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">#2441</a>)</li>
<li><a href="https://github.com/mockito/mockito/commit/d4180a27156b59bdd4436878b1b93a18b29a7023"><code>d4180a2</code></a> Update BND plugin to 6.0.0 (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2440">#2440</a>)</li>
<li><a href="https://github.com/mockito/mockito/commit/7032574ce1fb65e5dbdcf24f65f87766d7124db3"><code>7032574</code></a> Remove all Incubating annotations (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2437">#2437</a>)</li>
<li><a href="https://github.com/mockito/mockito/commit/c8dbc10d2060d1b800cc4d0d558736439db57929"><code>c8dbc10</code></a> Fix spelling in old release notes (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2439">#2439</a>)</li>
<li><a href="https://github.com/mockito/mockito/commit/40d6f6840e8935c3fdc5b085a21d0e70561820e7"><code>40d6f68</code></a> Add test for enum mocking using inline mock maker.</li>
<li><a href="https://github.com/mockito/mockito/commit/6a50cc458b6fbc575009653d0f036367b28029b0"><code>6a50cc4</code></a> Run CI on Java 17 (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2417">#2417</a>)</li>
<li><a href="https://github.com/mockito/mockito/commit/99f8a62536aa822e5ab6fe76704a9707f6f8904c"><code>99f8a62</code></a> Add monospace font fallback for JavaDoc (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2434">#2434</a>)</li>
<li><a href="https://github.com/mockito/mockito/commit/651feb30076ef4764158ed956ae80993cf75ec97"><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">#2430</a>)</li>
<li><a href="https://github.com/mockito/mockito/commit/6db7a02587556d18792e3ee7cee159844396f6d6"><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">#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 />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.mockito:mockito-core&package-manager=maven&previous-version=3.12.4&new-version=4.0.0)](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>

Fixes #1178

COPYBARA_INTEGRATE_REVIEW=#1178 from google:dependabot/maven/value/org.mockito-mockito-core-4.0.0 b54dea4
PiperOrigin-RevId: 401774634
  • Loading branch information
dependabot[bot] authored and Google Java Core Libraries committed Oct 8, 2021
1 parent 8ad800e commit c0ed322
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion value/processor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>3.12.4</version>
<version>4.0.0</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion value/src/it/functional/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>3.12.4</version>
<version>4.0.0</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down

0 comments on commit c0ed322

Please sign in to comment.