Skip to content

Conversation

@dependabot-preview
Copy link

Bumps easymock from 3.4 to 4.0.2.

Release notes

Sourced from easymock's releases.

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

Change log

  • Remove most long time deprecated methods (#231)
  • Relax typing for the mocking result (#229)
  • Upgrade Objenesis to 3.0.1 (#228)
  • Update cglib to 3.2.8 and asm to 6.2.1 (#225)
  • Java 11 Compatibility check: EasyMock (#224)
  • easymock 3.6 can't work with JDK11 EA kit (#218)
  • update testng to 6.14.3 (#216)

3.6

This release adds support for Java 9 and Java 10 and fixes an issue for interface default methods.

... (truncated)
Commits
  • a6e7c7e Move to version 4.0.2
  • 8da88a7 Remove the github identifier since it's unused
  • 875acb7 Start version 4.0.2
  • 53ae120 No need to add platform-tools to the path
  • 5900b8f Upgrade PowerMock to 2.0.0-RC.4
  • 89c56b2 Upgrade the maven-shade-plugin to 3.2.1
  • 4c17468 Remove the second generic type (close #237)
  • acb500e Move to 4.1
  • 90bab9f Starting to develop version 4.0.2-SNAPSHOT
  • 97d8106 Upgrade website to version 4.0.1
  • 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.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

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 cancel merge will cancel a previously requested merge
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major 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)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

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

codecov bot commented Feb 12, 2019

Codecov Report

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

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #234   +/-   ##
=========================================
  Coverage     41.35%   41.35%           
  Complexity      188      188           
=========================================
  Files           178      178           
  Lines          1359     1359           
  Branches         38       38           
=========================================
  Hits            562      562           
  Misses          790      790           
  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 3ad4676...4d21bf3. Read the comment docs.

@dependabot-preview
Copy link
Author

Superseded by #269.

@dependabot-preview dependabot-preview bot deleted the dependabot/maven/org.easymock-easymock-4.0.2 branch November 11, 2019 06:45
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.

2 participants