-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Preparing Easymock for a future upgrade. #5510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Looks like easymock 4.0 no longer supports Java 7 |
Codecov Report
@@ Coverage Diff @@
## master #5510 +/- ##
============================================
- Coverage 50.85% 50.53% -0.32%
+ Complexity 24194 22807 -1387
============================================
Files 2271 2271
Lines 230126 225283 -4843
Branches 25010 24892 -118
============================================
- Hits 117038 113855 -3183
+ Misses 104451 103685 -766
+ Partials 8637 7743 -894
Continue to review full report at Codecov.
|
|
@chingor13, I reverted the |
* Upgrading Easymock. * Reverting the upgrade of easymock, but keeping code changes.
* Upgrading Easymock. * Reverting the upgrade of easymock, but keeping code changes.
Easymock 4.0 changed
EasyMock.createMock's signature in a backwards incompatible way from.createMock(Class<T> clazz)to.createMock(Class<> clazz). This requires adding an explicit generics type to be set.Easymock 4.0+ doesn't support Java 7, so we can't immediately upgrade. This PR future proofs Easymock upgrades once we no longer have to support Java 7.