Skip to content

Conversation

@dependabot-preview
Copy link

Bumps easymock from 3.4 to 4.1.

Release notes

Sourced from easymock's releases.

4.1

Add support to Java 13 and JUnit 5.

Change log

  • Upgrade to Objenesis 3.1 (#250)
  • java.lang.IllegalArgumentException: Unsupported class file major version 57/58 (#249)
  • Please comply with ASM license when re-distributing ASM (#247)
  • Add EasyMockExtension class for JUnit 5 compatibility (#246)
  • JUnit 5 support (extension instead of EasyMockRunner) (#245)
  • Add getCurrentArgument to get type inference for the returned type (#243)
  • CglibTest fails on OpenJDK 13 EA. (#241)

4.0.2

This is a quick fix to remove the second generic parameter that was introduced
in version 4. It breaks backward compatibility and is actually unnecessary.

Change log

  • No need to have two generic parameters on EasyMock.createMock (#237)

4.0.1

This is a patch release with the sole purpose of moving ASM and CGLIB to their final version with full Java 11 support.

Change log

  • Upgrade to cglib 3.2.9 to support Java 11 (#234)
  • Upgrade TestNG to version 7 (#233)
  • Update to ASM 7.0 for full Java 11 support (#232)

4.0

This release adds support for Java 11 and moves to Java 8.

EasyMock inference has been changed. It should be backward compatible in most cases. However,
a type witness might be necessary.

To be clear, starting now List<String> list = mock(List.class); will compile perfectly without
any warning. However, String s = mock(List.class); will also compile. But I'm expecting you
not to be crazy enough to do such thing. It will do a ClassCastException at runtime anyway.

However, you might see your code failing to infer the return type, in that case, use a type
witness e.g. foo(EasyMock.<List<String>>mock(List.class) and it will some the problem nicely,
and again, without a warning.

Release notes

  • Add Java 11 support
  • Drop Java 6 and 7 support. Support now starts at Java 8
  • Decorrelate mock requested and returned type
... (truncated)
Commits
  • caf80a1 Move to version 4.1
  • 6455994 Upgrade checkstyle and PMD
  • a52f4f3 Fix a bit of javadoc
  • 579c9e3 Upgrade plugins and dependencies
  • d209d41 We deploy to bintray now
  • 45bbfb1 Merge branch 'tobymurray-master'
  • 88626a5 Add EasyMockExtension class for JUnit 5 support
  • cf0903d This removes the JUnit 4 dependency from the parent POM. In its place, this i...
  • d5a2659 Add ASM license to the final jar (close #247)
  • 43942a2 Fix JDK version to OpenJDK 8
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Nov 11, 2019
@codecov
Copy link

codecov bot commented Nov 11, 2019

Codecov Report

Merging #269 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #269   +/-   ##
=========================================
  Coverage     40.44%   40.44%           
  Complexity      189      189           
=========================================
  Files           179      179           
  Lines          1392     1392           
  Branches         40       40           
=========================================
  Hits            563      563           
  Misses          822      822           
  Partials          7        7

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0658e0e...fcf203b. Read the comment docs.

@dependabot-preview
Copy link
Author

Superseded by #279.

@dependabot-preview dependabot-preview bot deleted the dependabot/maven/org.easymock-easymock-4.1 branch January 29, 2020 05:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant